ATC: SELECT option

This command selects either the source document or the new document as the current document. Most commands affect the current document.

  • option is required; however, only one of the following options can be used at a time:
    • SOURCE selects the source document that opened the workflow script as the current document.
    • NEW selects the new document as the current document.

Example

ATC: COPY * NEW;
ATC: SELECT NEW

The above example means “create a new document of the same Doc type of the current document and in the same project, then make the new document the current document.”


Last updated: September 19, 2017 at 9:38 am;  

Related Post

ATC: ELSEATC: ELSE

ATC: ELSE This command can be used for an IF/ELSE situation, with ATC: IF. It indicates the ATC commands to be used when the ATC: IF command evaluates to false.

ATC: ADD COMMENTATC: ADD COMMENT

ATC: ADD COMMENT description This command adds a comment/remark to the current target document. description is required. The freeform description can be any text and can include spaces Note: to format

ATC: ATTACHATC: ATTACH

ATC: ATTACH MATCHING | COPY matching-pattern options This command attaches files from the source document to the target document. MATCHING is required if the intention is to attach a link to