The trigger()
in SelectTool
only allow one hotkey for each plugin.
Want an api to register more keyboard shortcuts for multi-function in one plugin. The pyobjc way is a bit complicated, and also hard for users to manage their own setups.
It is already there (not in the Wrapper, yet).
[GSCallbackHandler registerShortcutCommand:(NSString *)title group:(NSString *)group identifier:(NSString *)identifier action:(SEL)action target:(NSObject <GSShortcutCommandProtocol>*)target character:(nullable NSString*)character modifierFlags:(NSEventModifierFlags)modifierFlags];
1 Like