How to distinguish between different UI flows which result in a document save?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Does anyone have any idea how I could figure out if the users has triggered a save via doc/app closing vs using the Save button?
The document events fire in this order documentSaving > documentSaved > documentClosing > documentClosed.
If they were documentClosing > documentSaving > documentSaved > documentClosed then I could easily catch the scenario.
I've tried checking the sender property on the document event object and the application event object, but the only time a Save specific ID appears is the first time a design is saved... and ONLY when using the Save button (which is kind of weird).
Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
RevOps Strategy Manager at Toolpath. New Zealand based.
Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project