Search found 1024 matches

by freddyp
Thu Jan 24, 2013 3:01 pm
Forum: LEGACY scripting
Topic: XSLT 2.0 transformations in Switch
Replies: 4
Views: 6967

XSLT 2.0 transformations in Switch

Support for XSLT2.0 is an existing feature request, but can you please describe what you are trying to achieve that requires the use of XSLT2.0? I will add your comments to the feature request to give it some more "meat".



Freddy
by freddyp
Mon Jan 07, 2013 5:08 pm
Forum: LEGACY scripting
Topic: job priorities unclear
Replies: 6
Views: 8297

job priorities unclear

OK, thanks, that explains why you inject the XML as a job. Next question: why is it important that the XML passes before the PDF? You write that the PDF goes into production and the XML into the archive. The chronology of these events would only be important when production picks up information from...
by freddyp
Mon Jan 07, 2013 12:08 pm
Forum: LEGACY scripting
Topic: job priorities unclear
Replies: 6
Views: 8297

job priorities unclear

Sorry for my late reply, but I had a whole bunch of holidays I had to take. Question: you are picking up the XML as a dataset and you are submitting both the XML and the referenced PDF as a job, why? When you submit the PDF job with the XML as a dataset you can always get hold of the XML file with t...
by freddyp
Thu Dec 06, 2012 8:16 pm
Forum: LEGACY scripting
Topic: assemble Job / every n jobs / name of jobs
Replies: 5
Views: 7409

assemble Job / every n jobs / name of jobs

Can you share the use case/story why you need to know those names? I will gladly add to it to the feature request list.
by freddyp
Thu Dec 06, 2012 5:08 pm
Forum: Imposition
Topic: HP SmartStream Flows
Replies: 2
Views: 9211

HP SmartStream Flows

I have been able to get them to work. What exactly is your problem?
by freddyp
Tue Dec 04, 2012 11:50 am
Forum: Flows
Topic: update image metadata with values from a csv file
Replies: 4
Views: 15556

update image metadata with values from a csv file

To update the metadata of files you can use the "Inject XMP" element. This element can not only inject XMP, but also update it, and that is what you want to do. I have put a flow on the Crossroads site that illustrates how to do this. Search for XMP. It may still take a day or two before i...
by freddyp
Wed Nov 28, 2012 8:59 am
Forum: LEGACY scripting
Topic: ungrouped job: get original job folders file count
Replies: 5
Views: 9014

ungrouped job: get original job folders file count

Hmm... Somehow this does not work, the files continue through Assemble Job to another application without waiting for all the files to be present there first. As clarification, both the script I run via Generic Application and Photoshop which comes later in the flow, need GUI so my script gets mixed...
by freddyp
Tue Nov 27, 2012 6:18 pm
Forum: LEGACY scripting
Topic: ungrouped job: get original job folders file count
Replies: 5
Views: 9014

ungrouped job: get original job folders file count

It is not obligatory to know the number of files in an ungrouped job. The "Assemble job" element has a property "Scheme" where you can choose "Ungrouped job". The "Assemble job" will wait until all the ungrouped files are there before recombining them into an ...
by freddyp
Tue Nov 20, 2012 9:39 am
Forum: LEGACY scripting
Topic: Script vs define variables
Replies: 3
Views: 6978

Script vs define variables

Peter is right about the job variable inside the function. However, there is a flaw in the whole setup: inside the body text you can access variables, but not script expressions. You can also use a script expression for the body text, but then you can only return 1 string. Put the string you want to...
by freddyp
Wed Nov 14, 2012 4:52 pm
Forum: Flows
Topic: Collect Jobs
Replies: 7
Views: 9809

Collect Jobs

I am sorry, but I fail to see what is wrong with Dwight's suggestion to use "Assemble job". Looking at the script it does not do anything else than what the "Every N jobs" property of the "Assemble job" element will do.
by freddyp
Wed Nov 14, 2012 12:21 pm
Forum: LEGACY scripting
Topic: Create a folder in a specific path and move the job's file
Replies: 3
Views: 6450

Create a folder in a specific path and move the job's file

If the script is complete I do not see anything that cannot be done with "Set hierarchy path" and "Archive hierarchy". In "Set hierarchy path" you set the first segment to [Job.NameProper] and in "Archive hierarchy" you set the root F:/Switch/in and that will ...
by freddyp
Wed Nov 14, 2012 10:02 am
Forum: LEGACY scripting
Topic: XML pickup dismantle job
Replies: 4
Views: 7707

XML pickup dismantle job

@Thorsten: you have not specified how you update the dataset, but I am assuming you are using a script. Here is a suggestion: do not update the dataset of each dismantled job straight away, but store the information in global data. After having assembled the jobs you update the dataset with what you...
by freddyp
Wed Nov 14, 2012 9:35 am
Forum: Flows
Topic: Is it possible to use a delimiter to retreive parts of a variable without scripting?
Replies: 3
Views: 7154

Is it possible to use a delimiter to retreive parts of a variable without scripting?

Although I fully agree with the fact that a separator-based string extract is a great enhancement, there is something you can do with the string of the file name in your example. The 88888 is easily extracted with [[Job.NameProper:Before=_]. The same goes for the 16:[Job.NameProper:After=_]. The 1 o...
by freddyp
Thu Oct 11, 2012 1:56 pm
Forum: Flows
Topic: Folder Structure Using Hiearchy
Replies: 2
Views: 6445

Folder Structure Using Hiearchy

No matter how many elements there are in your hierarchy path only so many will be used as are listed in Subfolder levels in Archive Hierarchy: /abc/def/ghi/jkl/123.pdf will end up as /abc/def/123.pdf when Subfolder levels is 2. I am not certain I fully understood what you are trying to achieve. If t...
by freddyp
Thu Oct 11, 2012 1:47 pm
Forum: Flows
Topic: pass job's metadata flow to flow
Replies: 3
Views: 7205

pass job's metadata flow to flow

Pack/Unpack is a possibility but not necessary when you stay within the same environment. When you set the output folder to a specific path and you set Strip unique ID to No, then another flow can pick up the file from the location where it was saved and it will retain the metadata.



Freddy