AW: Test for window open - outside of Omnis.
Rudolf Bargholz
rudolf at bargholz.ch
Fri Jan 26 15:25:45 EST 2018
Hi Andrew,
When opening Omnis we open a file and do not close the file, but only if the file either does not exist, or the file exists and can be opened as ReadWrite. When we close the app we close the file and then delete it. You could write a text to the file when the window opens, and when the window closes remove the text from the file. If the file has a JSON format a python app should be able to read the file and thus test if the window is open.
Regards
Rudolf Bargholz
-----Ursprüngliche Nachricht-----
Von: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] Im Auftrag von Andrew Stolarz
Gesendet: Freitag, 26. Januar 2018 19:35
An: OmnisDev List - English
Betreff: Test for window open - outside of Omnis.
Anyone know if its possible using a .bat or .py file to check if a particular Omnis window is open?
Andrew
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list