Search found 13 matches

by Indy2
Tue Apr 04, 2017 4:24 pm
Forum: Flows
Topic: Check for files in variable folder
Replies: 3
Views: 5885

Re: Check for files in variable folder

@freddyp Perhaps I should clarify this, what I would like switch to do is pick up files from every /jobs/xxxxxx/data folder (source folder). With a check every x minutes or so for new folder and files. The data folder always exists as it is created automatically along with the order. It seem Inject ...
by Indy2
Mon Apr 03, 2017 3:46 pm
Forum: Flows
Topic: Check for files in variable folder
Replies: 3
Views: 5885

Check for files in variable folder

Is it possible for Switch to check for files in a folder (data) where the parent folder (xxxxxx) is variable?

Ex. the root folder is "jobs", xxxxxx is the unique order-id and "data" the folder to be checked.
/jobs/xxxxxx/data
by Indy2
Tue Jul 12, 2016 12:06 pm
Forum: Scripting
Topic: Extract string from filename to variable
Replies: 11
Views: 6778

Re: Extract string from filename to variable

In order to use the information added by "Set Hierarchy Path" your output folder needs to be an Achieve hierarchy. So exchange your "Folder 6" with an Archive hierarchy and make sure to set the "Subfolder levels" to a number high enough.
Thanks, that did the trick! :D
by Indy2
Tue Jul 12, 2016 12:19 am
Forum: Scripting
Topic: Extract string from filename to variable
Replies: 11
Views: 6778

Re: Extract string from filename to variable

I see. Yeah, use Segment. [Job.Name:Segment="8-10"]
Thanks, that does return the expected sample value.

What I can't figure out yet is what the output folder should be.
I.e. the file goes through, gets renamed but doesn't show up in the order-ID folder.
by Indy2
Tue Jul 12, 2016 12:05 am
Forum: Scripting
Topic: Extract string from filename to variable
Replies: 11
Views: 6778

Re: Extract string from filename to variable

It should do the same thing. It should return a string with the value of the original name proper, from character 8 to character 10. In the original file name you sent, it would return '100'. OK, using [Job.NameProper:Search="8-10"] returns no sample value. Could the syntax be incorrect? ...
by Indy2
Mon Jul 11, 2016 9:55 pm
Forum: Scripting
Topic: Extract string from filename to variable
Replies: 11
Views: 6778

Re: Extract string from filename to variable

I'm trying to get it to work using the set hierarchy path as you suggested but it's not quite working as yet. A few questions; - What is [Job.NameProper:Search="8-10"] supposed to do? It doesn't return a sample value like [Job.NameProper:Before="_"] does (000000 in this case) - i...
by Indy2
Sat Jul 09, 2016 5:30 am
Forum: Scripting
Topic: Extract string from filename to variable
Replies: 11
Views: 6778

Extract string from filename to variable

I'm sure this should be quite an easy thing to accomplish but can't quite figure out how. We have incoming files in the following format. 000000_100_filename.pdf Where 000000 is the jobid and 100 is the file version. How can I extract the jobid and set it as a variable so the file can be places in t...
by Indy2
Wed Jul 08, 2015 3:10 pm
Forum: Flows
Topic: Download all files with certain pattern
Replies: 1
Views: 1373

Download all files with certain pattern

We receive XML's from one of our customers that contain an ID for the order which is present in all files associated with it. The goal is to download all the files associated with the order from an FTP server and put them in a unique folder (ID number). For ex. the ID is 123456, the following files ...
by Indy2
Wed Jul 08, 2015 1:05 pm
Forum: Flows
Topic: Send email from variable in XML
Replies: 3
Views: 2075

Re: Send email from variable in XML

Thanks, that did the trick.

One more thing though, in the bottom part of the email body I get a text message like:
Email was triggered by this file :
filename.xml


Is there an option to turn this off?
by Indy2
Mon Jul 06, 2015 2:10 pm
Forum: Flows
Topic: Send email from variable in XML
Replies: 3
Views: 2075

Send email from variable in XML

One of our customers has asked about the possiblility to receive an email when we pick up their order. Here's what the flow currently looks like: A customer supplies their order in XML, this XML gets procecessed by a customer specific xslt and picked up by our MIS. What I want to add is the followin...
by Indy2
Wed Jun 24, 2015 12:07 pm
Forum: PitStop Pro
Topic: Check for vector images
Replies: 9
Views: 6426

Re: Check for vector images

Thanks, that seems to work perfectly! :D

We'll play with the threshold value should that become neccesary.
(Paths are just one component after all...)
by Indy2
Tue Jun 23, 2015 2:16 pm
Forum: PitStop Pro
Topic: Check for vector images
Replies: 9
Views: 6426

Re: Check for vector images

Hi Andrew,

I sent you a sample file via Wetransfer, pages 43 and 46 seem to cause the most problems.
by Indy2
Mon Jun 22, 2015 1:24 pm
Forum: PitStop Pro
Topic: Check for vector images
Replies: 9
Views: 6426

Check for vector images

Every so often we get encounter a file that causes our Canon Colorstream to experience buffer underruns while printing. This is due to the fact that the file contains a huge amount of unoptimized vector images (resulting in a crippling amount of points) which the rip cannot supply to the printer fas...