Home » Community » Newbie corner » While loop, sleep
Re: While loop, sleep [message #60259 is a reply to message #60258] |
Thu, 26 October 2023 19:10   |
sniffgriff
Messages: 10 Registered: May 2023 Location: NY
|
Promising Member |
|
|
Even if I reduce the sleep to (20), the program as a whole is suspended, even though the loop is running from triggering a button. I guess I wanted the loop to be running at the same time as everything else.
I have the U++ tracking the users mouse position on the desktop, as well as the pixel color of the mouse position. I can manually move the mouse using Windows headers, basically an auto clicker Im trying to create. Move the mouse to a position, wait a moment, click, wait a moment, move to another position, etc.
Will the package include windows header files?
|
|
|
 |
|
While loop, sleep
|
 |
|
Re: While loop, sleep
By: koldo on Thu, 26 October 2023 09:03
|
 |
|
Re: While loop, sleep
By: Oblivion on Thu, 26 October 2023 11:44
|
 |
|
Re: While loop, sleep
|
 |
|
Re: While loop, sleep
By: Oblivion on Thu, 26 October 2023 17:44
|
 |
|
Re: While loop, sleep
|
 |
|
Re: While loop, sleep
By: Oblivion on Thu, 26 October 2023 21:03
|
 |
|
Re: While loop, sleep
|
 |
|
Re: While loop, sleep
By: zsolt on Fri, 27 October 2023 17:43
|
 |
|
Re: While loop, sleep
By: Klugier on Fri, 27 October 2023 21:50
|
 |
|
Re: While loop, sleep
|
 |
|
Re: While loop, sleep
By: Klugier on Sun, 29 October 2023 20:22
|
 |
|
Re: While loop, sleep
|
Goto Forum:
Current Time: Sat Aug 23 22:41:31 CEST 2025
Total time taken to generate the page: 0.02524 seconds
|