This command makes it possible to save a document as new and can run commands on the new document instead of original.
If user tries to save on original path and filename it will prompt the user and inform that this is not possible (and cancel all following commands)
CMD
<Cmd case="BaseExtensions:save-as-new-and-activate" DefaultPath="x" FileName="x"/>
Parameters
DefaultPath
The initial path that the SaveAs dialog should open in, if the original document is not saved beforehand. This path will not be used if the original document is already saved, since the SaveAs dialog then will open in the original document's path. If original document is not saved and DefaultPath is not defined, then it will open in C:\
.
FileName
This can either be a hardcoded string or refer to a document property name.
Adding
DocProp.
-prefix will allow the user to grab values from custom DocProps as well as built-in DocProps from this list.
Comments
0 comments
Please sign in to leave a comment.