What's a visual way to show a script (loop) is running that doesn't freeze AHK?

Ask gaming related questions (AHK v1.1 and older)
User avatar
Murica
Posts: 29
Joined: 27 Nov 2022, 17:28

What's a visual way to show a script (loop) is running that doesn't freeze AHK?

14 Feb 2024, 20:10

I made several GUIs that say "On" (every 10 seconds) but AHK freezes while the GUI is being displayed.

Is there a faster way?
User avatar
boiler
Posts: 17706
Joined: 21 Dec 2014, 02:44

Re: What's a visual way to show a script (loop) is running that doesn't freeze AHK?

14 Feb 2024, 21:51

Showing a GUI isn’t what freezes your script. It sounds like you just put in a simple loop with a 10-second Sleep between your GUIs being shown, so the Sleep is what freezes your script, not the GUI. Try using SetTimer instead of a loop.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 45 guests