To save a copy of the work to another file. If successful, it will not change the file name.
Syntax: |
DlxJob.SaveCopyAs(fileName)
|
Parameters
Parameter |
Description |
fileName |
The full path to the Job's disk file. If this string is empty, a dialog box appears where you can specify the file name. |
Return Value
If the job is saved correctly it returns true, otherwise it returns false.
Example
|
Copy code
|
var fileName = DlxApp.GetFolder(DlxApp.FOLDERID_USERJOBS) + "filecopy.clxjob";
DlxApp.GetJob().SaveCopyAs(fileName);
DlxApp.Printf(DlxApp.GetJob().GetFileName());
|
See also