Jump to content

Recommended Posts

Posted

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?

Posted

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]

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...