[macros] How to create a timer ?

All,

I'm looking for a way to create a timer in LibO Basic as a reminder to accomplish some task.

The timer would be started when the document is opened, then would send a message to the user if he has not accomplished a particular task (eg validating a particular dialog) when a delay expires (eg 2 hrs).

In fact I'm in need of several timers for the same document to handle as many different delays/tasks.

Can anyone point me to some direction as I'm currently in the dark?

Thanks in advance.
Best regards,

Hi...

You can used EasyDev: http://easydev.readthedocs.io/en/latest/tools.html#timer

Best regards

My gut reaction is that this is not directly supported in Basic.

That said, read these posts:

https://forum.openoffice.org/en/forum/viewtopic.php?f=44&t=59369

https://forum.openoffice.org/en/forum/viewtopic.php?f=9&t=33935

Sadly, this post references something implemented in BeanShell that would have helped, but it references a now defunct forum with the solution (so when they say that MS777 developed a solution and provides a link, that link is no longer valid).

http://ooo-forums.apache.org/en/forum/viewtopic.php?t=65864&p=292463

Maurizio, Andrew,

thanks for the pointers you posted. This will help me finding out.
I guess the "simplest" way would be to call a Python script from Basic.

Thanks again to both of you. You've put me on the way.
Greetings from the other side of the pond,

Hello again...

Yes, for call Python script from Basic, EasyDev it's your friend:
http://easydev.readthedocs.io/en/latest/tools.html#call-macros

If you need some special functionality, I can add to EasyDev.

Best regards