Is it possible to have multiple subroutines running at the same time? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

Is it possible to have multiple subroutines running at the same time?

19 Feb 2019, 03:14

Hello,

Is it possible to have multiple subroutines running at the same time?

I am trying to make a subroutine continue to get the output of a cmd command until its process ends, but it does not prevent other subroutines from running. Is there a way to do this?


Thanks.
User avatar
tonkomnom
Posts: 37
Joined: 25 Jul 2018, 02:53
Contact:

Re: Is it possible to have multiple subroutines running at the same time?  Topic is solved

19 Feb 2019, 03:18

IIrc you can only have one subroutine running per script (anyone please correct me if I'm wrong). A solution would be running a second/separate script.
afe
Posts: 615
Joined: 06 Dec 2018, 04:36

Re: Is it possible to have multiple subroutines running at the same time?

19 Feb 2019, 03:36

Thanks, it seems that have to use multiple scripts to implement it.
teadrinker
Posts: 4412
Joined: 29 Mar 2015, 09:41
Contact:

Re: Is it possible to have multiple subroutines running at the same time?

19 Feb 2019, 04:09

It's not necessary to wait until process ends, you could using timer to check it.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: MrDoge, peter_ahk and 371 guests