Registration of an accelerator at extension installation

2015-06-24 Thread Amenel VOGLOZIN
Hi, Thanks to a recent post to this mailing list, I have been able to bind a shortcut key, a.k.a accelerator, to a command of my extension. However, I am facing the problem that the accelerator becomes active only when the main window of the extension is opened or put differently, when the

Re: Registration of an accelerator at extension installation

2015-06-24 Thread Oliver Brinzing
Hi Amenel, you can use an Accelerators.xcu file in you extension, for example: [...] node oor:name=LEFT_MOD1_MOD2 oor:op=replace prop oor:name=Command value xml:lang=en-USservice:my.extension.Service?myParam1/value /prop