Search found 255 matches

by Terkelsen
Wed Sep 25, 2013 2:54 pm
Forum: Flows
Topic: Send mail if folder is empty
Replies: 3
Views: 2434

Send mail if folder is empty

I'm looking for a way to create a flow, that checks a certain folder once a day and sends an e-mail if the folder is empty. I assume that I can use the "Time of day Window" and the "Check every (seconds)" to make sure it checks only once a day. But how can I trigger an e-mail if the folder is empty?...
by Terkelsen
Mon Jul 01, 2013 11:04 am
Forum: PDF Creation
Topic: PDF from InDesign Book
Replies: 2
Views: 5061

PDF from InDesign Book

Did anyone find a way to use the InDesign Configurator to create PDF of an InDesign Book? It seems that if you drop a package of an InDesign Book the resulting PDF contains only the first document of the book.
by Terkelsen
Thu Jun 13, 2013 8:50 am
Forum: Flows
Topic: Using page labels in job name
Replies: 3
Views: 3348

Using page labels in job name

Thank you Carine for reminding me of the new calculation feature in update 4. That's really good news for those of us that are not programmers. All I had to do to get the last page number was this: [Switch.Calculation:Expression="(([Stats.PageLabels:Index=1]-1))+([Stats.NumberOfPages])"] Thank you D...
by Terkelsen
Wed Jun 12, 2013 11:17 am
Forum: Flows
Topic: Using page labels in job name
Replies: 3
Views: 3348

Using page labels in job name

I'm merging single page PDF's into one PDF. All the PDF's have specific page labels meaning that the first page in the PDF has page label 3 but I don't know how many pages are in the final PDF. II want to name the merged PDF like this "[filename]_[first page label]-[last page label]" e.g. "Filename_...
by Terkelsen
Sun Jan 20, 2013 12:56 pm
Forum: LEGACY scripting
Topic: Rename PDF's after splitting
Replies: 9
Views: 7230

Rename PDF's after splitting

First it was great, now is's perfect :-) Thank's a lot to both Dwight and tz8 (whoever you are).
by Terkelsen
Fri Jan 18, 2013 10:22 am
Forum: LEGACY scripting
Topic: Rename PDF's after splitting
Replies: 9
Views: 7230

Rename PDF's after splitting

Hi tz8, Excuse my ignorance, but I'm not quite sure how to use the code you suggest. I have tried to replace line 2 in Dwight's script with your code making it look like this: var pgstr = job.getNameProper().right(5); var pgnum = ("000" + parseInt(pgstr.left(3),10)).match(/(...)$/); var seqnum = par...
by Terkelsen
Thu Jan 17, 2013 11:58 pm
Forum: LEGACY scripting
Topic: Rename PDF's after splitting
Replies: 9
Views: 7230

Rename PDF's after splitting

Hmm, and the again. This last solution will not create three digits for the pages from 1-9. 201109011004 becomes 20110901104 and 20110901105 rather than 201109011004 and 201109011005
by Terkelsen
Thu Jan 17, 2013 11:35 pm
Forum: LEGACY scripting
Topic: Rename PDF's after splitting
Replies: 9
Views: 7230

Rename PDF's after splitting

Oh, now that I come to think of it the first of the three digits will always be the same for both pages in a spread, since the first page will always have an even number. I just changed "right(5)" to "right(4)" which seems to do the trick.
by Terkelsen
Thu Jan 17, 2013 11:21 pm
Forum: LEGACY scripting
Topic: Rename PDF's after splitting
Replies: 9
Views: 7230

Rename PDF's after splitting

Hi Dwight,

Tanks a lot. This was just what I was looking for. Only one little thing missing, however. I would very much like if it was possible that the page number was always 3 digits. Rather than 20110901142 I would like it to be 201109011042. Would that be hard to add?
by Terkelsen
Thu Jan 17, 2013 2:12 pm
Forum: LEGACY scripting
Topic: Rename PDF's after splitting
Replies: 9
Views: 7230

Rename PDF's after splitting

Wonder if anybody can help me with this one? I have several hundred PDF spreads that needs to be split into single pages. The Split PDF function in Switch does that. So far so good. All the spreads are named in a way that means that segment 10-12 of the filename is a three digit number of the first ...
by Terkelsen
Fri Nov 02, 2012 11:43 am
Forum: Flows
Topic: Convert to Grayscale with Swich, what's the best way.
Replies: 1
Views: 3117

Convert to Grayscale with Swich, what's the best way.

I would suggest creating your own ActionList in PitStop. Using "Remap Color" you will be able to make sure that certain colors convert to 100 K before converting everything else to grayscale. Don't forget that PitStop will use your default ColorSettings unless you add "Overwrite Color Management" to...
by Terkelsen
Thu Oct 27, 2011 8:54 pm
Forum: LEGACY scripting
Topic: Filtering on current date +1
Replies: 6
Views: 6601

Filtering on current date +1

Hmm, don't think it will work.



([Switch.Date:Format=yyyy-MM-dd]+86400000)



seems just to return this value



(2011-10-27+86400000)
by Terkelsen
Thu Oct 27, 2011 3:57 pm
Forum: LEGACY scripting
Topic: Filtering on current date +1
Replies: 6
Views: 6601

Filtering on current date +1

It does sound like a good idea, but how do you add the 86400000 sec. when you have a "Single line text with variables" that looks like this:



[Switch.Date:Format=yyyy-M-dd]
by Terkelsen
Tue Oct 25, 2011 9:42 am
Forum: Applications
Topic: Make Acrobat print with different printsettings
Replies: 6
Views: 8052

Make Acrobat print with different printsettings

If you are on Mac OS X this could be done using Automator. By using the CUPS interface to the printers, you can make several instances of the same printer but with different settings. Then you can use Automator to print to these different printers.



Erik Terkelsen
by Terkelsen
Tue Oct 25, 2011 9:35 am
Forum: LEGACY scripting
Topic: Filtering on current date +1
Replies: 6
Views: 6601

Filtering on current date +1

I want to be able to move files if the date in a specific metadata-field is the date of tomorrow. I can use the variable Switch.date to move the files if the date is equal to, before, after or different from the current date, but I want to be able to move the files if the date in that field is the c...