cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Rob Foster New Member
New Member

script to create a folder that is named with the first 6 characters of the file name

Hi There

We are moving from Odystar to Freeflow Core, our system at the moment (not set up by myself i might add) allows you to create a Low Res File and a High Res File and then places them in a folder. We rename all our print files with the first 6 characters being the job number of the job. When Odystar creates the low res and the High Res Files it also creates a folder for each using the first 6 characters of the filename as the name of the folder, this is apparently possible in FreeFlow core with a script, im wondering if anyone could help me achieve it?

Thanks

Rob

0 Kudos
4 Replies
FreeFlow Production Workflow Moderator Eric-Xrx
FreeFlow Production Workflow Moderator

Re: script to create a folder that is named with the first 6 characters of the file name

Rob

First open the help page, then select Appendix: Job Properties -> Job Information.  The first item is $FFwfJob.jobName$.  This will give you the full job name.

Since you only want part of the job name look in the help at:

Workflow Setup -> The Workflow Setup Tab -> Process Variable Operations. 

You'll want to remove a substring with X=1 and Y = 6. The string is $FFwfJob.jobName.substring(1,6)$

This is the value that you will pass to your external script.

The Appendix lists all the other system values that are available to use within your workflows.

ET

0 Kudos
Rob Foster New Member
New Member

Re: script to create a folder that is named with the first 6 characters of the file name

Hi eric

 

Thats really helpful, thank you, i have to confess im out of my depth a little here, but i will study everything youve pointed me at and report back with any issues

 

Thanks Again

 

Rob

0 Kudos
carlossbenes New Member
New Member

Re: script to create a folder that is named with the first 6 characters of the file name


@Rob Foster wrote:

Hi There

We are moving from Odystar to Freeflow Core, our system at the moment (not set up by writeandgood i might add) allows you to create a Low Res File and a High Res File and then places them in a folder. We rename all our print files with the first 6 characters being the job number of the job. When Odystar creates the low res and the High Res Files it also creates a folder for each using the first 6 characters of the filename as the name of the folder, this is apparently possible in FreeFlow core with a script, im wondering if anyone could help me achieve it?

Thanks

Rob


script doesn't work. What can i do?

0 Kudos
FreeFlow Production Workflow Moderator DavidU54339-XRX
FreeFlow Production Workflow Moderator

Re: script to create a folder that is named with the first 6 characters of the file name

My recommendation for debugging/writing the external script is to contact the Xerox Solutions Enablement Team.

0 Kudos