Jump to content

Recommended Posts

Posted

Temporary disable hotkeys

Is here way to create hotkeys to disable another hotkeys

For example

I cant use hot key 1,2,3

Until I turn them on using hotkey 4. And to disable them again hotkey 5

please help

keywen.com

Posted

Why not create some variables to keep track of weather the hotkeys have been set or not. Then use basic "If" statements to set or not set the other hot keys.

$hotkey1 = True
HotKeySet('k', '_func')

If $hotkey1 = true Then
    $hotkey2 = True
    HotKeySet('l', 'func')
EndIf

If $hotkey2 = True then
;and so on
endif
Posted

Oh Right, disabling. I would looking into using this udf ->.HotkeyInput UDF. should be able to do what you need to do.

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