I have two questions regarding the opened/closed state of a database:
-
Is it possible to retrieve the opened/closed state of a database in a script at all? If so, how?
I have a Smart Rule to move items from the Global Inbox to a database. The Rule is triggered every minute which leads to an annoyingly high number of errors (indicated at the messages icon) when the database is not open. -
If a script can retrieve the opened/closed state of a database in general, is it possible too that a Reminder script retrieves the opened/closed state of a database before the Reminder had kicked in and (maybe) opened the database it is attached to?
I have set up Reminder scripts to regularly save zipped databases to a cloud folder. All in all that works fine. The one thing I’d like to improve was to set the databases to their previous opened/closed state. Reminders always open the databases that hold the file the reminder is attached to. (Or maybe it’s the zipping script?) I’d like to see them get closed if they were closed before, while I’d like to see see the databases open that have been opened before.