This function immediately terminates action processing and provides post processing capabilities. This statement is not valid while batch processing.
Any files closed by this statement are closed discarding changes. If you want to preserve modifications, Save the files first.
A number of operational modes are available:
Specifying that the source list is in a named variable, leaving it empty; and selecting Close all visible files discarding changes first will do not post processing other than closing all visible file first.
Specify a list of paths to files and/or folders in the source named or track variable. The paths must be separated by newline characters (\n) or the default list delimiter (\~). The paths may be to any folder or file that can be opened by Yate. What gets opened depends on the current Open Mode. Note that the Close all visible files discarding changes first option may be specified if desired.
This mode provides the ability to close selected files, open selected files and to run a post processing action. The source referenced by the specified named or track variable must start with a # character. Note that the Close all visible files discarding changes first option may be specified if desired.
The source is read as a sequence of lines separated by newline characters (\n) or the default list delimiter (\~). Three special # commands are processed in the source text. The commands are case insensitive. All other lines which begin with a # and empty lines are ignored. All lines have leading and trailing spaces removed. The valid commands are:
Note that any of the above commands can be specified more than once but there is no advantage to it. Any non # lines before one of the above commands is encountered are assumed to be following an #open command. ie. #open is the default mode.
The post processing proceeds as follows:
example (assume there is only one file selected when the action is run):
#open
/volumes/music/test.mp3
#close
\!Loaded File UID!
#run
Post Process
The file associated with the specified Loaded File UID property will be closed and test.mp3 will be opened. The action named Post Process will be run.