I'd like to have two timers that both do an action after two different time stamps.
#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.
Counter = 0.0
SetTimer, PressTheKey, 10000
SetTimer, FarmOnA, 300
Counter += 1.0
MouseClick, left, 1341, 867
if counter = 30.0
F5 should be clicked every 10 seconds
Meanwhile the mouse has to be clicked every 200miliseconds
Every mouseclick should be counted and after 30 clicks the 'A' keyboard action should be pressed.
My script clicks every 200miliseconds but also presses f5 every 200 milisecond
Get help with using AutoHotkey and its commands and hotkeys
2 posts • Page 1 of 1