Re: [libreoffice-users] [macros] How to create a timer ?

2017-07-21 Thread Mauricio Baeza Servin
On Fri, 21 Jul 2017 22:54:08 +0200, Jean-Francois Nifenecker 
 wrote:

> 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,
> -- 
> Jean-Francois Nifenecker, Bordeaux
> 

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
-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] [macros] How to create a timer ?

2017-07-21 Thread Jean-Francois Nifenecker

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,
--
Jean-Francois Nifenecker, Bordeaux


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] [macros] How to create a timer ?

2017-07-21 Thread Andrew Pitonyak

On 2017-07-21 11:30, Jean-Francois Nifenecker wrote:

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,
--
Jean-Francois Nifenecker, Bordeaux



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=59369

https://forum.openoffice.org/en/forum/viewtopic.php?f=9=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=292463




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] [macros] How to create a timer ?

2017-07-21 Thread Mauricio Baeza Servin
On Fri, 21 Jul 2017 17:30:26 +0200, Jean-Francois Nifenecker 
 wrote:

> 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,
> -- 
> Jean-Francois Nifenecker, Bordeaux
> 


Hi...

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

Best regards
-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] [macros] How to create a timer ?

2017-07-21 Thread Jean-Francois Nifenecker

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,
--
Jean-Francois Nifenecker, Bordeaux


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted