Jump to content

Timing keyboard commands


Recommended Posts

Hello, I want to have my script press a keyboard key then wait a set amount of time before it presses it again, then wait a second amount of time(device off time basicly)

before activating it again.

I have 2 such devices i want to control in this manner. How can get keep track of how many seconds have passed for 2 things at the same time?

Thanks

MajSlayer420

Link to comment
Share on other sites

Hello, I want to have my script press a keyboard key then wait a set amount of time before it presses it again, then wait a second amount of time(device off time basicly)

before activating it again.

I have 2 such devices i want to control in this manner. How can get keep track of how many seconds have passed for 2 things at the same time?

Thanks

MajSlayer420

Are you just trying to delay the keystrokes or wait for an event to happen first then hit the keystrokes?

If it is a delay you can always use Sleep and the amount of time you need or you can wait for an event on both devices then perform the next action.

EndFuncAutoIt is the shiznit. I love it.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...