Re: UnoService in PyUNO for keyboard shortcuts in extensions: JobExecutor never called.

2017-08-15 Thread Miklos Vajna
On Sat, Aug 12, 2017 at 05:36:58AM +0200, jan d wrote: > Just for documenting it for people who might try this in the future: I > managed to create the UnoService and have it reaact to the shortcut. > It seems that services can only be created directly and in the scope

Re: UnoService in PyUNO for keyboard shortcuts in extensions: JobExecutor never called.

2017-08-11 Thread jan d
Hello, Just for documenting it for people who might try this in the future: I managed to create the UnoService and have it reaact to the shortcut. It seems that services can only be created directly and in the scope of the file/import that is run: Having it created inside a function did not work,

Re: UnoService in PyUNO for keyboard shortcuts in extensions: JobExecutor never called.

2017-08-10 Thread jan d
Hi Miklos, Hi List, I did some changes and passed the class instead of the instance but it does not work either; looking at the print messages that I inserted it seems to be never initialized. I'll try to step through the TuesdayPrinter.py and see if that gives me any insights; if you have any

Re: UnoService in PyUNO for keyboard shortcuts in extensions: JobExecutor never called.

2017-08-08 Thread Miklos Vajna
Hi, On Tue, Aug 08, 2017 at 09:21:36AM +0200, jan d wrote: > POSSIBLE PROBLEM SOURCES: > * I was unable to find the docuementation for > g_ImplementationHelper.addImplementation e.g. if it takes a class or an > instance. I tried with both (the inked example is an