Anyone that is pro with autohotkey? i need a script that will only run on chrome.
For example :
F2::
If State=50
State=Off
else
State=50
SetTimer SendKey, %State%
Return

SendKey:
Send e
Return
that spams "e" when i click f2 on f2-off.
What i want to happen is it only runs on chrome and wont affect any other programs
dont know if i posted the correct section, but i will use this on aqw.