Double Movable Sentence Highlighters

Hi all,

A problem I had with comparing source and target sentences, especially for longer sentences, was losing my place in the sentence as I switched between looking at the two.

So, I created this script to make two "highlight bars" that you can place over the source and target sentences and move as you gradually work through the sentence.

I am finding it very useful so I wanted to share it.

This is the script

#i::
file1 = C:\Users\james\Desktop\Work\yellow-bar.jpg ; insert your filepath here
file2 = C:\Users\james\Desktop\Work\pink-bar.jpg ; insert your filepath here
Gui, New
Gui, Add, Picture,, %file1%
Gui, +LastFound +AlwaysOnTop -border -caption
WinSet, Transparent, 100
Gui, Show
Gui, New
Gui, Add, Picture,, %file2%
Gui, +LastFound +AlwaysOnTop -border -caption
WinSet, Transparent, 100
Gui, Show

These are the images I use but you could use any image at all:

To use this script you will need to also use this additional script:

GitHub - Hurstwood/Linux-style-mouse: An AHK (AutoHotKey) script that allows the user to move a window by grabbing it anywhere within the window.

With this, you can move the two highlight bars by holding down Alt and dragging.

Example of use:

To get rid of the highlight boxes, just reload the script.

Parents Reply Children