Hi, To run your extension from a keyboard shortcut, you can create a service which implements the com.sun.star.task.XJob interface, then assign it to the keyboard shortcut.
Your extension should embed an Accelerators.xcu file which assign the keyboard shortcut to your service. I send you an example written in Python, but you can do the same thing with Java. Regards, Thibault ----- Mail Original ----- De: "Dietmar Hiller" <dhill...@gmx.de> À: dev@api.openoffice.org Envoyé: Mardi 27 Juillet 2010 20:04:14 Objet: [api-dev] Starting an Extension with a keystroke Hi, a user of my extension BorderLiner pointed out, that other extensions can be assigned to a keystroke via the keyboard customization dialog. I think he means (German) "Extras > Anpassen > Tastatur". How would I make my extension appear in that dialog? The extension is written in Java. Thanks Dietmar
Ext1.oxt
Description: application/vnd.openofficeorg.extension
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org