Jump to content

Recommended Posts

Posted

WOW!

It has been a few months since I last built a script and it's a new ball game. I've looked but can't see an obvious way to hold the space bar key down for "x" seconds. This would be handy in a flash game where you "build" power and let it go.

Any suggestions where to look for a similar function?

Thanks

Posted

Send("{SPACE Down}")
Sleep(3000) ; 3 seconds
Send("{SPACE Up}")
I want to hold down Ctrl rather than Space, but it won't work. Would it be...

Send("{Control Down}")

Sleep(3000) ; 3 seconds

Send("{Control Up}")

I've tried Ctrl aswell, won't work.

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
  • Recently Browsing   0 members

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