Hello, you can't pass arguments, like the filename of the original(s), to an Automator. Switch simply passes the input files to Automator as a Finder selection.
You could create a wrapper AppleScript (or Javascript) that calls your Automator script.
Search found 658 matches
- Wed Feb 23, 2011 8:36 pm
- Forum: Flows
- Topic: Automator flow
- Replies: 3
- Views: 9629
- Tue Feb 22, 2011 9:43 pm
- Forum: Flows
- Topic: JavaScript
- Replies: 3
- Views: 10752
JavaScript
So the Javascript for Acrobat Professional would be something like: if ($error == null) { try { $doc.addWatermarkFromFile({ cDIPath: "c:Tacca.pdf", nSourcePage: 1, nEnd: 5, nHorizAlign: 0, nVertAlign: 0, nHorizValue: 0, nVertValue: 0, nRotation: 0 }); } catch(theError) { $error = theError;...
- Tue Feb 22, 2011 5:00 pm
- Forum: Flows
- Topic: JavaScript
- Replies: 3
- Views: 10752
JavaScript
Hello, what tool did you want to use to perform the watermarking? Acrobat, Apago, callas, Enfocus, etc?
Based on the function name in your original question I assume you want to use Acrobat Javascript API.
Based on the function name in your original question I assume you want to use Acrobat Javascript API.
- Mon Feb 21, 2011 10:02 pm
- Forum: Flows
- Topic: Merge 2 single pages to a double page
- Replies: 10
- Views: 18786
Merge 2 single pages to a double page
You could use PDF Enhancer to perform the 2-up imposition. Here's a sample configuration that imposes 2 pages on a Letter sized page.
1
2
CropBox
Fit
true
Center
1
UpperLeft
1
2
CropBox
Fit
true
Center
1
UpperLeft
- Tue Feb 08, 2011 5:48 pm
- Forum: Flows
- Topic: filter by trimbox size in Switch?
- Replies: 2
- Views: 8820
filter by trimbox size in Switch?
Hello, precision value controls how many digits to the right of the decimal point are included in the comparison. For example, take two PDFs with page size of [612, 792] the other [612.05, 792.01] and the filter was checking page width == 612 and page height == 792, then if Precision == 1, the both ...
- Tue Feb 08, 2011 4:11 pm
- Forum: Flows
- Topic: How to duplicate a PDF document
- Replies: 16
- Views: 28173
How to duplicate a PDF document
diwu wrote: Hi Gregory,
Does this mean you were able to change the script and add a property editor "single-line text with variable" for the copies property?
Hi, my original script has a property for the number of copies. Why do you state that another needs to be added?
Does this mean you were able to change the script and add a property editor "single-line text with variable" for the copies property?
Hi, my original script has a property for the number of copies. Why do you state that another needs to be added?
- Sat Feb 05, 2011 8:03 pm
- Forum: Flows
- Topic: Merge PDF naming with the page number
- Replies: 2
- Views: 8689
Merge PDF naming with the page number
If you need to use the page labels and not just a sequence number, I'd recommend Apago PDFspy to retrieve the page labels from the PDF and then a simple script to merge the pages in the correct order. Please contact if you need assistance.
Dwight Kelly
Apago, Inc.
Dwight Kelly
Apago, Inc.
- Sat Jan 22, 2011 12:22 am
- Forum: Flows
- Topic: How to duplicate a PDF document
- Replies: 16
- Views: 28173
How to duplicate a PDF document
Did you end up using the AppleScript or Switch script solution?
- Fri Jan 21, 2011 6:36 pm
- Forum: Flows
- Topic: How to duplicate a PDF document
- Replies: 16
- Views: 28173
How to duplicate a PDF document
Hello, I created a Script Element that implements a file duplicate function. There's a single property for the number of copies to create.
download FileDup script
Enjoy,
Dwight Kelly
Apago, Inc.
download FileDup script
Enjoy,
Dwight Kelly
Apago, Inc.
- Mon Jan 03, 2011 5:24 pm
- Forum: Flows
- Topic: Connection of Switch to Web-Shop System
- Replies: 3
- Views: 10614
Connection of Switch to Web-Shop System
Can you give us some details about how the ecommerce system would be used with Switch? Are you wanted customers to be able to upload jobs and purchase printed output via e-store? Or purchase prepared materials?
- Thu Dec 23, 2010 3:55 pm
- Forum: PDF Creation
- Topic: set pdf security
- Replies: 8
- Views: 23075
set pdf security
PDF Enhancer can apply security and digital signatures to PDF files. Here's an example setting (PEC) that applies 128-bit AES encryption. aes 128 test You will need to customize the value and the . PS - PDF Enhancer 3.5 is very stable and processes 100,000+ files per day for our world-wide customers...
- Fri Dec 03, 2010 6:49 pm
- Forum: LEGACY scripting
- Topic: Looking to help Switch users with flow or scripting issues
- Replies: 1
- Views: 7964
Looking to help Switch users with flow or scripting issues
Hello, My name is Dwight Kelly and I work for Apago. We just signed up to be a Switch application partner. Enfocus has been shipping Configurators for our PDF Enhancer and PDFspy products for a couple of years. We are now taking over development efforts and will be releasing some new features soon. ...
- Tue Nov 30, 2010 12:12 pm
- Forum: PDF Creation
- Topic: Get integer from metadata variable
- Replies: 4
- Views: 13958
Get integer from metadata variable
Hello, you should be able to use XPath's math operators for rounding floating point numbers to integers. floor(v)- maps to largest previous integer ceiling(v) - maps to smallest following integer round(v) - rounds to closest integer floor(2.1) = 2 floor(2.5) = 2 ceiling(2.1) = 3 ceiling(2.6) = 3 rou...