menutitle and shortcut docs
http://forum.robofont.com/topic/550/syntax-for-keyboard-shortcut/4
menu title and shortcut must start with #
at the top of the script
# menutitle: <title to appear in the menu item>
# shortcut: <short cut assigned to the menu item>
a short cut can be constructed with:
command+shift+control+alt+<input>
(or a combinations of it, not everything is required)
could a single key stroke
example
# shortcut: shift+command+l
input could also be referring to key strokes which are not a character like enter
, all possible options:
from lib.UI.fileBrowser import shortKeyScriptMap
print(shortKeyScriptMap.keys())
space tab backtab arrowup arrowdown arrowleft arrowright f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f21 f22 f23 f24 f25 f26 f27 f28 f29 f30 f31 f32 f33 f34 f35 enter backspace delete home end pageup pagedown