ControlSend-ing on different threads, but still waits for previous to finish.

Ask for help, how to use AHK_H, etc.
SlimeBrow
Posts: 13
Joined: 06 Aug 2020, 11:59

ControlSend-ing on different threads, but still waits for previous to finish.

29 Mar 2022, 13:24

Hi,
I have a simple (I think) problem. I run the command "ControlSend" to send a shortcut on a heavy program. The program takes a while to finish the action, which is bound to the shortcut.
I have 3 instances of these programs running, using different threads, I invoke the "ControlSend" command on each instance, but often, the threads wait for the previous command to finish. Can I avoid this somehow?

Thanks!
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: ControlSend-ing on different threads, but still waits for previous to finish.

31 Mar 2022, 15:07

Can you share you script or show an example, why do you think the threads are waiting?

Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 13 guests