Dxnny Posted April 20, 2021 Posted April 20, 2021 HotKeySet("{ESC}", "Terminate") Sleep ( 1000 ) For $x = 1 To 10 ;this loops 10 times Send ( "test" ) sleep (10) Send ( "{ENTER}" ) Sleep ( 200) Next ;after its done this 10 times, I then want it to wait til 10pm UK time and then do it all over again Func Terminate() Exit 0 EndFunc
Developers Jos Posted April 20, 2021 Developers Posted April 20, 2021 Assume this there is a question in there on how to do this? Just create an indefinite While 1 .. Wend loop and test for the current time (@HOUR @MIN) until it is time. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Nine Posted April 20, 2021 Posted April 20, 2021 Another option. Instead of having a permanent process that just looks for a specific time, I would suggest you create a new task in task scheduler to run your script at specific time. Just compile your script and use the exe in the task setting. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now