Sign in to follow this  
Followers 0
nusaki

Temporary disable hotkeys

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

I'm not sure if that's what I was looking for

How do i disable them by using your method


keywen.com

Share this post


Link to post
Share on other sites

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

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