Sign in to follow this  
Followers 0
byerly

Holding down space

3 posts in this topic

I'm trying to make a script that will hold down the space bar for about 10 seconds. while It is being held down, the script will need to press other buttons too. I tried

Send( "{{SPACE} down}" )
and
Opt("SendKeyDownDelay", 10000)
send("{SPACE"}
Opt("SendKeyDownDelay", 1)
but neither worked. Please help me figure this out.

Share this post


Link to post
Share on other sites



I'm trying to make a script that will hold down the space bar for about 10 seconds. while It is being held down, the script will need to press other buttons too. I tried

Send( "{{SPACE} down}" )
and
Opt("SendKeyDownDelay", 10000)
send("{SPACE"}
Opt("SendKeyDownDelay", 1)
but neither worked. Please help me figure this out.
try this *untested

Send("{SPACE DOWN}")
$start = TimerInit()
While TimerDiff($start) < 10000
sleep(100)
WEnd
Send("{SPACE UP}")

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Thanks, that worked. I actually just used the Send("{SPACE DOWN}")/Send("{SPACE UP") part, the rest of the program set up the timing already.

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