AutoHotKey - Wont work.
#1

Hello, Im using Autohotkey.
I want my script to press ''O'' every 5 seconds.
This is the script..

Код:
Numpad5::
Loop {
Send, {O}{enter}

Sleep, 5000

}
Problem, When im testing this in notepad, It works.
But i wont work in sa-mp. Anybody knows why it wont work so?
Reply
#2

Код:
Numpad5::
Loop {
Send, tO{enter}

Sleep, 5000

}
P.S - Not Tested
Reply
#3

Run autohotkey as an administrator. (or the script itself).
Reply
#4

Do you have #Ifwinactive GTA:SA:MP added?

Or,

Numpad5::
Loop
{
Send, O
Sleep, 5000
}

If you want it for chat, replace send with sendinput, tO{Enter}

P.S use scite4autohotkey for better AHK scripting
Reply
#5

Lol, I know how to use it for chat etc... But, @IfWinActive.. wont work..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)