|
Re: How to find out if the application has been restarted? [message #1820885 is a reply to message #1820856] |
Fri, 31 January 2020 07:23 |
Ed Merks Messages: 33107 Registered: July 2009 |
Senior Member |
|
|
We ran into similar "requirements" with Oomph. It seems to me that there is no persistent information you can store or put anywhere, other than the file system, for this purpose. So that's the solution we used, i.e., write something (in our case to a file in the instance location, i.e., in the workspace metadata for our plugin) to record the information we needed. We save their on shutdown and can look for it on startup, cleaning it up at that point... If your application doesn't have/use an instance location, you could use the configuration location...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04389 seconds