Sign in to follow this  
Followers 0
implite

turn on and off a HotKeySet

4 posts in this topic

I have the letter 'e' as a hoykey and I want to be able to pause this hot key so I can type if needed using the e key.

How can I turn on and off this hoykey in my script using HotKeySet?

Share this post


Link to post
Share on other sites



HotKeySet("e")

Share this post


Link to post
Share on other sites

I have the letter 'e' as a hoykey and I want to be able to pause this hot key so I can type if needed using the e key.

How can I turn on and off this hoykey in my script using HotKeySet?

make another hotkey that pauses the script. (hoykey? XD)

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
       sleep(100)
    WEnd
EndFunc

If you intend to use Sarcasm you must this sticker!!![size="1"][sub]pic made by manadar[/sub][/size]

Share this post


Link to post
Share on other sites

HotKeySet("e")

added it into my pause script and it did the trick, Thanks :)

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