I use reading software to read books. Unfortunately, the ability to get definitions of words is not included. So what I wanted to do is be able to double-click the word and then single click on one of the mouse buttons to move that word onto the clipboard and then open up Chrome automatically with the definition.
I have tried many different ways of doing it, and now it's getting hairy as I try tab through the sub-windows to get at the window that has the highlighted word. There's got to be a better way. So far, nothing I have tried puts the word onto the clipboard. I think that's the real barrier. Any ideas? The solution must be single-click.
Code: Select all
Let>WIN_REGEX=1
SetFocus>.*Dolphin EasyReader
WaitWindowFocused>.*Dolphin EasyReader
MouseMove>500,200
LClick
Wait>1
LClick
Wait>0.203
Press CTRL
Send>c
Release CTRL
Wait>0.203
GetClipBoard>WORD,0
MessageModal>%WORD%
// RunProgram>cmd /c start chrome https://www.dictionary.com/browse/%WORD%?s=t -incognito