Jump to content

Recommended Posts

Posted (edited)

HotkeySet('{esc}','_Terminate')


THIS PART BELOW
While 1
    Sleep(1)
    MouseWheel ( "up" , 1 )
    MouseWheel ( "down" , 1 )
Wend
THIS PART ABOVE



Func _Terminate()
     Exit
Endfunc

What I want to have it do is when I press and hold down the space bar, it repeats the part marked by the this part below/this part above. I tried searching for the IsPressed command in the help file of the latest beta but couldn't find it.

Help would be greatly appreciated.

Edited by twioh

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
×
×
  • Create New...