Trigger by time

Discussion, questions and support.
Post Reply
dairedo99
Posts: 2
Joined: Jul 4th, ’22, 20:25

Post by dairedo99 » Jul 4th, ’22, 20:36

Hello, I need help, tell me how to run the script at a certain time? Thanks ;)
User avatar
Marko
Posts: 1503
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jul 5th, ’22, 19:52

Here is one way:

Code: Select all

MinutesToStart:=60
SetTimer, TimeReached, % MinutesToStart * -60000
return

TimeReached:
     MsgBox, Time Reached
Make sure to prevent the computer to go to sleep.
dairedo99
Posts: 2
Joined: Jul 4th, ’22, 20:25

Post by dairedo99 » Jul 6th, ’22, 13:32

I thank you for your support, I will try this method! ;)
Post Reply