To save the job to another file. If successful, it will change the file name.

syntaxSyntax:
DlxJob.SaveAs(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 codeCopy code
var fileName = DlxApp.GetFolder(DlxApp.FOLDERID_USERJOBS) + "anotherfile.clxjob";
DlxApp.GetJob().SaveAs(fileName);
DlxApp.Printf(DlxApp.GetJob().GetFileName());

See also