Sorry if this question is absurdly basic. I've read a lot of discussions and none of them seem to address it.
I'm running two scripts. I want a command in one script to suspend the other script. My guess was that it might go something like this:
#s::Suspend, C:\AHK\script2.ahk
But this returns an error. I can't find any way to use Suspend on a specific script. Any help would be appreciated. Thanks!
How can I suspend a specific script?
-
- Posts: 44
- Joined: 15 Jul 2018, 16:29
- CoffeeChaton
- Posts: 35
- Joined: 11 May 2024, 10:50
-
- Posts: 44
- Joined: 15 Jul 2018, 16:29
Re: How can I suspend a specific script?
I thought that would Pause a script rather than Suspend it.CoffeeChaton wrote: ↑15 May 2024, 11:37https://www.autohotkey.com/docs/v1/lib/Pause.htm#PostMessage
at Pause doc
-
- Posts: 44
- Joined: 15 Jul 2018, 16:29
Re: How can I suspend a specific script?
Thank you. I thought the PostMessage command would only post a message rather than execute a command with respect to a specific script.peter_ahk wrote: ↑15 May 2024, 12:18see docs on the bottom
https://www.autohotkey.com/docs/v1/lib/Suspend.htm