Page 1 of 1

Hotkeys for TextAloud in Firefox

Posted: Sun May 01, 2011 1:49 pm
by azulmarino
Finally, I managed to program a set of handy shortcuts to control TextAloud while reading the news in Firefox. No more mousing up to TextAloud toolbar buttons is needed. A simple AutoHotKey script does the job nicely.

Code: Select all

; More than one tab must be open in Firefox for the mouse clicks on this code to hit their target.
SetTitleMatchMode, 2
#IfWinActive, Firefox
; Stop TextAloud
#ยก::
MouseClick, left,  142,  125
Sleep, 100
return
; Pause TextAloud
#'::
MouseClick, left,  119,  123
Sleep, 100
return
; Speak
~LButton & Space::
KeyWait Space
MouseClick, left,  85,  125
Sleep, 100
return
If you wonder what is AutoHotKey, let me suggest you to read a couple of articles about the subject in LifeHacker blog and if you want to fullly undestand the code above, then study the Turotial (quick start) from the program's help file.