sleep 100 works on an entire ahk file, how do i pause a single loop?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
Murica
Posts: 29
Joined: 27 Nov 2022, 17:28

sleep 100 works on an entire ahk file, how do i pause a single loop?

Post by Murica » 02 Dec 2022, 14:00

ie, so you could run two loops at once from the same ahk file.

thanks

User avatar
boiler
Posts: 16931
Joined: 21 Dec 2014, 02:44

Re: sleep 100 works on an entire ahk file, how do i pause a single loop?

Post by boiler » 02 Dec 2022, 16:56

You can't have two different loops simultaneously. Use two SetTimer routines instead. You can stop one without affecting the other.

Post Reply

Return to “Ask for Help (v1)”