|
SetTitleMatchMode, 2 |
|
|
|
#IfWinActive, Free Text to ahk_exe msedge.exe |
|
|
|
;~ Makes the text label under Play, Forward and Backward buttons disappear by moving the mouse just a little. |
|
;~ You have to tweak the values to make it work for yourself. Make use of Windows Spy feature of AutoHotkey to |
|
;~ find out the coordinates. |
|
|
|
;~ Use Q, W, E and Enter(numpad) keys to use the media buttons on naturalreaders.com |
|
|
|
mm() { |
|
MouseGetPos, CoordXRec, CoordYRec |
|
MouseMove, CoordXRec+1, CoordYRec+1 |
|
Sleep, 50 |
|
MouseMove, CoordXRec-1, CoordYRec-1 |
|
} |
|
|
|
|
|
|
|
~q:: |
|
ControlClick, x315 y145, Free Text to,, Left, 1,D |
|
KeyWait, q |
|
ControlClick, x315 y145, Free Text to,, Left, 1,U |
|
mm() |
|
return |
|
|
|
|
|
~NumpadEnter:: |
|
ControlClick, x315 y145, Free Text to,, Left, 1,D |
|
KeyWait, NumpadEnter |
|
ControlClick, x315 y145, Free Text to,, Left, 1,U |
|
mm() |
|
return |
|
|
|
|
|
~w:: |
|
ControlClick, x374 y146, Free Text to,, Left, 1,D |
|
KeyWait, w |
|
ControlClick, x374 y146, Free Text to,, Left, 1,U |
|
mm() |
|
return |
|
|
|
|
|
~e:: |
|
ControlClick, x418 y145, Free Text to,, Left, 1,D |
|
KeyWait, q |
|
ControlClick, x418 y145, Free Text to,, Left, 1,U |
|
mm() |
|
return |