Page 1 of 1

Folder name from files

Posted: Sun Jun 10, 2012 9:01 pm
by analogueltd
Hi



Im trying to create a job folder in the assemble job command from file names.



So if I have 4 files called-

006_12XX_NZ_999999.pdf

007_12XX_NZ_999999.pdf

006_12XX_AU_999999.pdf

007_12XX_AU_999999.pdf



I can use the before and after variables to use the 999999 job number to create folders with the after _NZ_ command, is there any way within the same argument to add an 'or' operator for _AU_ files?



Thanks

Ed

Folder name from files

Posted: Mon Jun 11, 2012 10:42 am
by Clive Andrews
Try just adding it as a second entry - if Switch cannot create the variable it just seems to leave it blank. I do a similar thing for files from 3 sources:



[Metadata.Text:Path="/jobInfo/Customer",Dataset="Xml",Model=XML][Metadata.Text:Path="/jobInfo/Customer",Dataset="jobticket",Model=XML][Metadata.Text:Path="/XMLSTINGRAYInJobReport/Customer",Dataset="Xml",Model=XML]

/

[Metadata.Text:Path="/jobInfo/Reference",Dataset="jobticket",Model=XML][Metadata.Text:Path="/jobInfo/Reference",Dataset="Xml",Model=XML][Metadata.Text:Path="/XMLSTINGRAYInJobReport/Reference",Dataset="Xml",Model=XML]



(Building a "Customer/Reference" path)