04-27-2023
11:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-27-2023
11:46 AM
Context will work fine. It will either have value named "SaveFileName" or "SaveCopyAsFileName" based on how it's saved. Assemblies are a little more complicated since there will be a slew of kBefore/kAfter triggers in between the kBefore and kAfter for the assembly itself. Just ignore them until you get a kAfter where the "TopLevelSaveFileName" value matches Document.FullFileName, and then grab the "SaveFileName" or "SaveCopyAsFileName" value, whichever exists.