I'm a complete rookie at scripting, let alone AHK.
All I need is a script which:
1st: Is activated when a key is pressed.
2nd: Switches to a given window/process.
3rd: Hold the TAB key for a given length of time.
4th: Clicks on a specific area of the screen.
5th: Holds right mouse until left mouse is pressed.
Help making a simple script
Help making a simple script
Last edited by BoBo on 21 Feb 2021, 17:46, edited 1 time in total.
Reason: Moved to Gaming section.
Reason: Moved to Gaming section.
Re: Help making a simple script
Code: Select all
F3::
WinActivate, windowTitle
Send {Tab down}
Sleep, 2000
Send {Tab up}
Click, 300, 300
Click, down, right
SoundBeep, 1500, 30
KeyWait, LButton, D
Click, up, right
SoundBeep, 1000, 30
Return