adding shortcut to a macro
Submitted by Tuesday, 22 April, 2008 - 13:01
on
I have some simple macros to which I want to add consistent shortcut keys as part of the install.
I assume that I use the jEdit.setProperty option with something like:
jEdit.setProperty("my_macros/macro1.shortcut", "CA+1"); but that does not work.
When I check the global options, the shortcut is recorded as the literal string, but Ctrl + Alt + 1 does not activate the macro.
Does anyone know how to set such a shortcut? For example, is there some form of key combination code that I need to enter to get this combination to work through setProperty()?
Thanks in advance...
I assume that I use the jEdit.setProperty option with something like:
jEdit.setProperty("my_macros/macro1.shortcut", "CA+1"); but that does not work.
When I check the global options, the shortcut is recorded as the literal string, but Ctrl + Alt + 1 does not activate the macro.
Does anyone know how to set such a shortcut? For example, is there some form of key combination code that I need to enter to get this combination to work through setProperty()?
Thanks in advance...