Save and close AOO if no activity for 10 minutes

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
User avatar
alf50
Posts: 129
Joined: Sun Jun 13, 2010 2:55 pm

Save and close AOO if no activity for 10 minutes

Post by alf50 »

Need Macro that saves and closes my OO App if no activity is detected for 10 minutes? Is Open Office Basic capable of doing that?
OpenOffice 4.1.14 on Mac Catalina(10.15.7), RasPi4B (TwisterOS-8/2023update) & MS Wnds10
JeJe
Volunteer
Posts: 2785
Joined: Wed Mar 09, 2016 2:40 pm

Re: Need Macro that saves and closes an OO App if no activity is detected for 10 minutes?

Post by JeJe »

It has the Wait statement... you can run it at short intervals in a loop and do some test to see if anything's happened in the meantime.

There may be problems if the user closes things down with the loop running: OO might not properly close down.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply