Search found 16 matches

by pcarvalho
Wed Mar 30, 2016 6:40 pm
Forum: Flows
Topic: exiftool in switch
Replies: 1
Views: 925

exiftool in switch

Does any one knows how to use exiftool with command line in switch?
i want to apply the command -xmp:all= *.* so that all metadata is removed.
by pcarvalho
Fri Feb 19, 2016 6:48 pm
Forum: Flows
Topic: split folders, process files and merge back again with same structure
Replies: 1
Views: 1593

split folders, process files and merge back again with same structure

I need to create a flow that disassemble a folder that has other 2 folders with files. one folder has PDF and the other has images. I want to merge the PDF, process the images and in the end, i need to reassemble the files/folders with the same structure. here's the example of the input and the outp...
by pcarvalho
Sat May 23, 2015 1:13 pm
Forum: Scripting
Topic: Export a file without the unique ID file name
Replies: 4
Views: 8126

Re: Export a file without the unique ID file name

thanks dkelly, but JavaScript does not offer Left and Right functions.

Works with
var name = $filename.substring(7, $filename.length);
by pcarvalho
Sat May 23, 2015 12:31 pm
Forum: PitStop Pro
Topic: duplicate layers
Replies: 1
Views: 1754

duplicate layers

Hello,
Is it possible to duplicate a layer and its contents, in a PDF?
Why do i ask this?, Because i want to rasterise the text but also want to keep it editable with 100% transparent.
by pcarvalho
Mon Apr 27, 2015 5:49 pm
Forum: Scripting
Topic: Export a file without the unique ID file name
Replies: 4
Views: 8126

Export a file without the unique ID file name

I have a script that export a indd file to rtf, xml and PDF. The resulted files have the unique ID file name ( _001OL _Teste_DOC1.rtf). How can i generate a file without that unique ID? Heres a portion of the script: var name = $filename; //========== Export to RTF =========== myRTFFile = new File($...
by pcarvalho
Wed Apr 01, 2015 12:41 pm
Forum: Scripting
Topic: check the creator of a file
Replies: 1
Views: 1583

check the creator of a file

In a switch workflow we can use [Doc.Application] contains "Illustrator" to check is a file is illustrator How can i do it by script when opening the file in Photoshop? Can i do something like this: if ($extension == "eps" || $infile.application.name.indexOf("Illustrator&quo...
by pcarvalho
Sat Mar 28, 2015 9:59 am
Forum: Flows
Topic: Processing files individually
Replies: 0
Views: 3067

Processing files individually

I have a flow that downsample the PDF to 72dpi in Pitstop Server and apllies a protection by Command Line using PDFTK. The problem is that when i copy, for example, 10 PDF files, it only starts protecting the files when all the files are processed by Pitstop Server. Is there a way to solve this? Is ...
by pcarvalho
Thu Mar 12, 2015 2:35 pm
Forum: Flows
Topic: Freehand in Switch
Replies: 4
Views: 3696

Re: Freehand in Switch

My Switch is in Windows.
Any idea?
by pcarvalho
Tue Mar 10, 2015 4:41 pm
Forum: Scripting
Topic: Open Illustrator in Photoshop
Replies: 2
Views: 1476

Re: Open Illustrator in Photoshop

Worked just fine.
Thank you.
by pcarvalho
Mon Mar 09, 2015 4:01 pm
Forum: Scripting
Topic: Open Illustrator in Photoshop
Replies: 2
Views: 1476

Open Illustrator in Photoshop

I made a script to open illustrator Eps in Photoshop, but i get the error: Script returned error: ERROR: TypeError: null is not an object What am i doing wrong? Can any one help me? Here's the script: if($error == null) { try { var epsOpts = new EPSOpenOptions(); epsOpts.antiAlias = true; epsOpts.mo...
by pcarvalho
Wed Feb 11, 2015 3:38 pm
Forum: Flows
Topic: Freehand in Switch
Replies: 4
Views: 3696

Freehand in Switch

I want do make a flow to convert EPS from Freehand ana save as FH11, then open it in Illustrator CS5 ans save as .ai.

Is it possible.



Switch as a "Generic Application". Is it possible to use it?
by pcarvalho
Wed Feb 11, 2015 10:05 am
Forum: Flows
Topic: [SOLVED] PDFTK command arguments issue
Replies: 2
Views: 1489

[SOLVED] PDFTK command arguments issue

I had the same issue and solved like this: Exetution Mode: Concurrent Comand or path: the path for the PDFTK Arguments: "%1" output "%2" owner_pw password Output: File at path Copy input Job: yes Output extension: Automatic Fail exit code is: Disregard exit code Don't forget the ...
by pcarvalho
Tue Jan 06, 2015 11:37 am
Forum: Applications
Topic: Password Protect PDF
Replies: 6
Views: 4198

Password Protect PDF

Worked just fine.

Thanks for the help.
by pcarvalho
Tue Jan 06, 2015 10:10 am
Forum: Applications
Topic: Password Protect PDF
Replies: 6
Views: 4198

Password Protect PDF

I'm using PDF ToolKit but gives me the message "Can't find outputs for job [25.pdf]"



Can anyone tell me how Execute command works?

I'm newbie on Switch.


by pcarvalho
Mon Jan 05, 2015 1:01 pm
Forum: Applications
Topic: Password Protect PDF
Replies: 6
Views: 4198

Password Protect PDF

I don't want do print a password protected PDF.

I want to protect a PDF for print or edit using switch for this action