Sign in to follow this  
Followers 0
Guest BfarM00

Why the delay?

4 posts in this topic

Ok I made a script, but if I but a big keydowndelay it waits a looong time before starting.

Example:

Opt("SendKeyDownDelay", 30000)

AutoItSetOption("SendKeyDelay", 0060)

Send("{G}")

So when it reaches this part of the script, it'll pause for a while (i think around 30 seconds) then it will start again. Is there a way to stop the pause?

Share this post


Link to post
Share on other sites



Opt("SendKeyDownDelay", 30000)

AutoItSetOption("SendKeyDelay", 0060)

Send("{G}")

That is the same as manually pressing the "g" key on your keyboard for 30 seconds before doing anything else? Why have your Opt("SendKeyDownDelay", ?) at 30000.

I do not press one key every 30 seconds or it would take me 2 days for this reply.

:ph34r:

Share this post


Link to post
Share on other sites

It seems a strange situation.

You do have to keep pressed you keys for 30 seconds and await 60 milliseconds from a key and the next one?

Maybe you shoud use loops.

Share this post


Link to post
Share on other sites

would it be better to hold g down with a timer?

Send("{G down}")
sleep(30000)
Send("{G up}")

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0