Search found 298 matches

by Terkelsen
Tue Sep 08, 2015 10:17 am
Forum: Flows
Topic: File list completeness check
Replies: 9
Views: 19073

Re: File list completeness check

If you make sure that the temp directory is a specific folder for each job, you can use Inject Job to inject an entire folder and then dismantle this folder before passing the files on into the other flow. The name of the folder to be injected can be defined by a variable.
by Terkelsen
Thu Sep 03, 2015 10:58 am
Forum: Flows
Topic: File list completeness check
Replies: 9
Views: 19073

Re: File list completeness check

If your jobs are named as mentioned in your first post "xxx_6_of_50.pdf", you should be able to assemble the jobs using a Custom scheme where
Job identifier = [Job.NameProper:Before="_"]
Number of files = [Job.NameProper:After="_"]
by Terkelsen
Thu Aug 27, 2015 12:59 pm
Forum: Flows
Topic: Strange error using "Document Flow"
Replies: 3
Views: 3073

Re: Strange error using "Document Flow"

I can't say that you are the only one having this problem, but I've used this feature a lot and never came across that problem.
by Terkelsen
Mon Mar 02, 2015 1:31 pm
Forum: LEGACY scripting
Topic: Help with RegEx
Replies: 10
Views: 10364

Re: Help with RegEx

Wel, well, well. It all seems to work in any RegEx-tester but not inside Switch. It turns out that ^(Cone) has a different functionality in Switch than in other applications when used outside the square brackets. That means that this: ^[^-]+-[^-]+- and this [^-]+-[^-]+- will both return the same res...
by Terkelsen
Thu Feb 26, 2015 3:19 pm
Forum: LEGACY scripting
Topic: Help with RegEx
Replies: 10
Views: 10364

Re: Help with RegEx

Thank you tz8. That seems to do the trick as well but with a much more simple expression.
by Terkelsen
Thu Feb 26, 2015 8:39 am
Forum: LEGACY scripting
Topic: Help with RegEx
Replies: 10
Views: 10364

Re: Help with RegEx

Thank you both for the help. It seems that bens suggestion will return what I wanted, whereas loicaigon's will only return everything after the last hyphen.

I have tested both og regex101.com. I'm not using this in a JavaScript but directly in a variable in Switch.
by Terkelsen
Tue Feb 24, 2015 4:24 pm
Forum: LEGACY scripting
Topic: Help with RegEx
Replies: 10
Views: 10364

Help with RegEx

I have a string that looks like this:

FAKEAOS-nofrt-nofrt-000411-004

...and I need a RegEx to retrieve everything after the second hyphen (nofrt-000411-004). Can anybody help me with that?
by Terkelsen
Mon Feb 23, 2015 1:15 pm
Forum: PDF Creation
Topic: Simple Word to PDF Workflow-Problem
Replies: 11
Views: 19871

Re: Simple Word to PDF Workflow-Problem

My experience is, that this usually happens due to restricted user rights. Try checking if the user that runs Switch has the correct read- and write permissions to these files.
by Terkelsen
Mon Jan 12, 2015 3:42 pm
Forum: PDF Creation
Topic: Scale PDFs to a fixed width but variable height
Replies: 4
Views: 8935

Scale PDFs to a fixed width but variable height

As Freddy suggested use the "Scale to fit page size" action. Scale Page content and page boxes until the Trimbox fits the desired width. Set the hight to something larger than the tallest page you would come across. Then make sure to select "Constrain proportions of content page; allo...
by Terkelsen
Mon Dec 08, 2014 3:52 pm
Forum: LEGACY scripting
Topic: InDesign Server to ignore auto recovery
Replies: 3
Views: 3503

InDesign Server to ignore auto recovery

I have two questions, Dwight, before I dare try this. 1) If this will have unexpected consequences, how do I get back to the original settings? 2) If I run this script once will the preferences then be changed for all future documents (on an application level) or will I have to run the script for ea...
by Terkelsen
Mon Dec 08, 2014 9:39 am
Forum: Flows
Topic: Put a PDF file back to origin folder
Replies: 2
Views: 5221

Put a PDF file back to origin folder

You could also use the "Set Hierarchy Path" to add JobName Proper segment 1-7 to the Hierarchy of the file and then send the file back to an "Archive Hierarchy" containing your usual file structure.
by Terkelsen
Mon Dec 08, 2014 9:25 am
Forum: Color Management
Topic: White text you on spot
Replies: 7
Views: 13386

White text you on spot

Convert Color will use the Color Management Setup and convert from the source-profile to the destination-profile, while Change Color will simply change between the chosen values.
by Terkelsen
Tue Dec 02, 2014 3:19 pm
Forum: LEGACY scripting
Topic: VisualBasic - get number of pages
Replies: 1
Views: 3179

VisualBasic - get number of pages

Hi Jimmy,



You could try contacting David at david.van.driessche@fourpees.com
by Terkelsen
Tue Dec 02, 2014 2:28 pm
Forum: LEGACY scripting
Topic: InDesign Server to ignore auto recovery
Replies: 3
Views: 3503

InDesign Server to ignore auto recovery

Does anybody know if it is possible to have the configuratpr for InDesign Server run a script on "Open" that will suppress the auto-recovery of files?
by Terkelsen
Thu Oct 30, 2014 5:59 pm
Forum: Applications
Topic: Create InDesign Package
Replies: 6
Views: 15647

Create InDesign Package

I can confirm that this works just fine, Freddy. It even works with InDesign CC 2014 though this is not yet officially supported by Switch ;-) However CC 2014 adds the possibility of saving both idml and PDF together with everything else in a package. Can anybody help to add these features to the sc...