sciTE4 menu shortcut keys: how to change or turn off

The popular SciTE-based AutoHotkey Script Editor
offpath
Posts: 4
Joined: 30 Nov 2014, 10:37

sciTE4 menu shortcut keys: how to change or turn off

Post by offpath » 30 Nov 2014, 11:46

I would like to change or turn off the menu shortcuts in SciTE version and 3.0 and version 3.0.06.01.

(I think I remember that it involved a property file.)

The reason is to turn off any that involve F12, as I like using it for "Save and Reload". Am dealing with a second system now, and can't remember how I did it on my normal system, and can't find useful hints in the property files I have searched. Apologize for dumb post. I figured this out in October, didn't document, and now can't do it. :crazy:
lexikos
Posts: 7185
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: sciTE4 menu shortcut keys: how to change or turn off

Post by lexikos » 12 Dec 2014, 19:51

If you implement "Save and Reload" as a hotkey in an AutoHotkey script, there is no need to turn off the binding of that key in SciTE. AutoHotkey will override it.

The language menu and its hotkeys are defined by the menu.language property. Other than that, I don't know.
offpath
Posts: 4
Joined: 30 Nov 2014, 10:37

Re: sciTE4 menu shortcut keys: how to change or turn off

Post by offpath » 17 Apr 2020, 09:14

Thanks, lexikos.
TravisQ
Posts: 27
Joined: 17 May 2015, 23:51

Re: sciTE4 menu shortcut keys: how to change or turn off

Post by TravisQ » 18 Apr 2020, 11:21

C:\Users\ME\Documents\AutoHotkey\SciTE\SciTEUser.properties

Code: Select all


[rightclick menu]
user.context.menu=||\
SaveReload|1100|\

[shortcuts]
user.shortcuts=\
F12|1100|

[command  0 4-9]
# command !1-3 10-14 21-36 / 0 4-9 15-20 37-50 YMMV

      command.name.0.*=saveReload
# command.shortcut.0.*=F12 
# or above
      command.mode.0.*=subsystem:shellexec,savebefore:yes
           command.0.*=$(AutoHotkey) /r $(FilePath)

Seems to work, not sure about /r though, differences
or I could be way off
Keeper for me, thx
scite needs reboot after some changes
Post Reply

Return to “SciTE4AutoHotkey”