At first I thought it was maybe due to #ifWinExist/Active but that works fine in text editors. But it won't work in any of my old fullscreen games (Warcraft III & GTA:SA).
Next I decided to try the SA:MP script without these, but still no luck. Scripts are working fine in a text editor but when fullscreen game is activated, nothing works. It may be sendinput that isn't working.
Any suggestions?
Example code that isn't working in the game.
Code: Select all
#IfWinExist, Warcraft III
WheelUp::
Sendinput, {Up down}
sleep, 200
Sendinput, {Up up}
return
XButton1::
Sendinput, {Numpad8}
return
XButton2::
Sendinput, {Numpad7}
return
MButton::
Sendinput, {F1}{F1}
return
^Q::
Sendinput, Q
sleep 5
Sendinput, {click}
return
^W::
Sendinput, W
sleep 5
Sendinput, {click}
return
^E::
Sendinput, E
sleep 5
Sendinput, {click}
return
^R::
Sendinput, R
sleep 5Q
Sendinput, {click}
return
^T::
Sendinput, T
sleep 5
Sendinput, {click}
return
WheelDown::
Sendinput, {Down down}
sleep, 200
Sendinput, {Down up}
return
+LButton::
Send, !{click}
Send, !{click}
Send, !{click}
Sendinput, {enter}[PING]: Retreat from here{!}{enter}
Return
!LButton::
Send, !{click}
Send, !{click}
Sendinput, {enter}[PING]: Attack here{!}{enter}
Return