Good afternoon, surely the question has been asked many times, but I have not managed to find something that works by doing what I need, to see if someone can do it.
I would like a sequence of keys to be executed that would be f2 + 6 times the down arrow + enter + enter, this sequence every 15 seconds, also if a key can be turned on and stopped as the whatever.
Thank you very much if someone does me the favor of doing it
sequence of keys
Re: sequence of keys
Here you go.
Press Ctrl+S to start/stop. And press ESC button to close script. You can change them later on to whatever you like.
Press Ctrl+S to start/stop. And press ESC button to close script. You can change them later on to whatever you like.
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#MaxThreadsPerHotkey 2
Toggle = 0
^s:: ;Ctrl+s, toggles the script. Change this with whatever hotkey you want.
Toggle := !Toggle
if Toggle
SetTimer, Action,% 1000*15 ;Change to required time interval.
else
SetTimer, Action, Off
return
Action:
Send, {f2}{f2}{f2}{f2}{f2}{f2}{Down}{Enter}{Enter}
return
I am your average ahk newbie. Just.. a tat more cute.
Re: sequence of keys
Thanks to much Nwb for the help, but...
It is for gta 5 online for do an action, but idk why, it doesn't Works on the gta Windows, any idea?
It is for gta 5 online for do an action, but idk why, it doesn't Works on the gta Windows, any idea?
Re: sequence of keys
Yea some games try to prevent such automation.Platevil wrote:Thanks to much Nwb for the help, but...
It is for gta 5 online for do an action, but idk why, it doesn't Works on the gta Windows, any idea?
Maybe this thread might help fix the problem: https://autohotkey.com/board/topic/1117 ... he-basics/
There are probably many more threads on the topic you should give them a look too.
I am your average ahk newbie. Just.. a tat more cute.
Who is online
Users browsing this forum: zemplarius and 49 guests