« Return to the main article
Not sure about point 2, but with point 1 you may be able to solve it thus:
You're right, in that WQS agents run even when you're not saving the actual document. Howabout testing if it is being saved in the WQS event formula. Like so:
@If( @IsDocBeingSaved; @Command([ToolsRunMacro]; "(myWQS)"); "")
If this don't work then maybe set a flag when the save button is pressed and check for this in the WQS event.
Not sure about point 2, but with point 1 you may be able to solve it thus:
You're right, in that WQS agents run even when you're not saving the actual document. Howabout testing if it is being saved in the WQS event formula. Like so:
@If( @IsDocBeingSaved; @Command([ToolsRunMacro]; "(myWQS)"); "")
If this don't work then maybe set a flag when the save button is pressed and check for this in the WQS event.