Not sure what you mean here, AHK can't recognize a button control just because you move your mouse pointer over it.
You have to use a line of code in your AHK script such as:
Ruby:
MouseClick, Left, 1580, 125, 1, 0
Where 2nd and 3rd parameters are coordinates on screen where the button control is located.
AHK returned the raw data when you pressed the Favorite key 1 (0100000000050000), so it does recognize the key press.
Have you tried using one of the regular keys to test that everything beyond what key you use is working?
If you want post your AHK script, I might be able to help you troubleshoot it.
Yes, it works fine if I use say "Ctrl+1" as the hotkey. The Buy Market gets triggered without problem. It's just those 5 favorite keys that don't get recognized.
Here's the code from my .ahk file - thanks for checking this for me!
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ThinkorSwim hotkeys
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;
;Buy Market action - to buy 1 contract of /ES
;;;;;;;;;;;
; Favorites 1
; ^1:: works fine using Ctrl+1
0100000000050000:
IfWinNotActive, Main@thinkorswim [build 1974], , WinActivate, Main@thinkorswim [build 1974],
MouseClick, left, 2004, 149
Sleep, 100
return
;;;;;;;;;;;
;Sell Market
;;;;;;;;;;;
; Favorites 2
0100000000090000:
IfWinNotActive, Main@thinkorswim [build 1974], , WinActivate, Main@thinkorswim [build 1974],
MouseClick, left, 2085, 144
return
;;;;;;;;;;;
;Flatten
;;;;;;;;;;;
; Favorites 5
0100000000410000:
IfWinNotActive, Main@thinkorswim [build 1974], , WinActivate, Main@thinkorswim [build 1974],
MouseClick, left, 2078, 106
return