Jump to content

Quick Question


Recommended Posts

This has been discussed before, and simply holding down a key for a certain amount of time (unless it is a modifier key) doesn't work.

A workaround would be to send the key repeatedly for a certain amount of time.

$Timer = TimerInit()
Do
     Send ("d")
     Sleep (10); really won't do much on the sending, just to save CPU
Until TimerDiff ($Timer) > 10000; 10 seconds
Edited by greenmachine
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...