Wait / Pause in Send()

Propose new features and changes
User avatar
Coiler
Posts: 114
Joined: 29 Nov 2020, 09:06

Wait / Pause in Send()

12 Apr 2021, 05:16

I'm not sure how difficult this would be to implement, but I think it would fantastic to have the ability to wait in a Send() command. I believe the best way to handle it would be to allow the user to define a few wait times at startup, then assign those wait times to operators. I actually implemented this in the AHK+HTML binding setup I've been working on, and its very convenient:

Code: Select all

SetWait("w",11)
SetWait("W",33)

Send( "{a down}|W|{a up}|w|{b down}|W|{b up}" )
One situation where this would be really useful is with input mode, where you can't use the normal key delays.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Wait / Pause in Send()

12 Apr 2021, 05:29

In AHK_H you can use:

Code: Select all

Send( "{a down}{33}{a up}{11}{b down}{33}{b up}" )
User avatar
Coiler
Posts: 114
Joined: 29 Nov 2020, 09:06

Re: Wait / Pause in Send()

12 Apr 2021, 08:16

Sweet, I did not know this! Thanks!

Edit: I did not notice the H suffix until my joy fell onto the keyboard. I haven't tried messing around with that, yet. Thanks for the info, though!

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 28 guests