Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
jjstr8
in reply to: bshbsh

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.