Hi,

The assignation appears in the shortcuts list, but unfortunately it isn't 
possible to change it from this dialog.

Regards,
Thibault.

 
----- Mail Original -----
De: "Dietmar Hiller" <[email protected]>
À: [email protected]
Envoyé: Mercredi 28 Juillet 2010 23:13:20
Objet: Re: [api-dev] Starting an Extension with a keystroke

Hi Thibault,

thanks, that looks interesting. Do you know if this will also make the
extension appear in the dialogue to customise the key stroke? 
I will start working on it when summer will take another break.

Cheers
   Dietmar

Am Dienstag, den 27.07.2010, 20:24 +0000 schrieb Thibault Vataire:

> 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" <[email protected]>
> À: [email protected]
> 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
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to