I've been trying my best to get this working.
I have two scripts to move the mouse and click. I need them to happen 2 times per hour for each one. I can get a single timer schedule working. But trying to add more I'm out of my depth. Been going though loads in the hope of sorting it or at least have someone point me right.
Here is what I have already.
As an example, I need 0 to run on the hour and half past and 5 to run 5 past the hour and 35 for 10 hours. I just can't workout where I am going wrong.
Any help or direction would be amazing.
Thanks
Code: Select all
#Persistent ; Script by BoBo
SetTimer, Chronos, 500
Return
Escape::
ExitApp
Return
Chronos:
FormatTime, TimeToMeet,,HHmm
If TimeToMeet = 1300 ; If you wanted the script to start at 7 am put change 1006 to 700
{
Run "C:\Users\user\OneDrive - work\Documents\Autohotkey\0.ahk"
}
FormatTime, TimeToMeet,,HHmm
If TimeToMeet = 1305 ;
{
Run "C:\Users\user\OneDrive - work\Documents\Autohotkey\5.ahk"
ExitApp
}
Return