Search found 30 matches

by Evan
Wed Jun 11, 2014 10:14 pm
Forum: Flows
Topic: Switch integrated with Prinergy
Replies: 4
Views: 8259

Switch integrated with Prinergy

Hi Arothenberger, You need to have RBA (Rules-Based automation) installed with your Prinergy. Then you use an event or manual trigger with the action "Write Text to File" to make an XML. Your XML can contain all variable of prinergy needed like job name or a folder to pickup. In Switch you...
by Evan
Fri May 23, 2014 7:37 pm
Forum: LEGACY scripting
Topic: Help with created file extension
Replies: 7
Views: 9159

Help with created file extension

Hi Jan, To get the "s.getPropertyValue("Extension")" you will have to create into your declaration pane a flow element called "Extension". When you will import your script element into Swith a new propertie called "Extension" will be available. You can define ...
by Evan
Fri Jan 03, 2014 5:27 pm
Forum: LEGACY scripting
Topic: insert file's tittle as metada in pdf
Replies: 12
Views: 13618

insert file's tittle as metada in pdf

You may try this in the command section of Acrobat Configurator. You have to use "$doc" instead of "this". This will put the document filename into the "Title" document info. You can create additional metadata just by changing "Title" by something else. If you...
by Evan
Tue Oct 22, 2013 2:55 pm
Forum: Flows
Topic: Sorting Folders and Sub folders by name for deletion
Replies: 3
Views: 5324

Sorting Folders and Sub folders by name for deletion

If you have used the Job Dismantler/Assemble Job method you can retain the original folder name with Attach Hierarchy info-->Add Job folder Name to Yes. Then when you Assemble back your job you can choose as folder name the variable Job-->Hierarchy-->(Choose you index). The same method can be used i...
by Evan
Mon Oct 21, 2013 4:25 pm
Forum: Flows
Topic: JDF Pickup and XSLT Transform
Replies: 8
Views: 8016

JDF Pickup and XSLT Transform

To get the external data of a JDF you should write the path URL in the Asset path field. If you want to browse your JDF to have an URL, I suggest you to change the JDF pickup tool to "Metadata is asset" then hold your JDF into a folder inside a flow. When turning back you JDF pickup tool t...
by Evan
Fri Oct 18, 2013 10:21 pm
Forum: LEGACY scripting
Topic: Detecting if a Path is present in an incoming image file
Replies: 2
Views: 4887

Detecting if a Path is present in an incoming image file

Use this script in the command section of photoshop configurator. try { var newPathName = "Path " var numberOfPaths = activeDocument.pathItems; if (numberOfPaths.length > 0) { for (n =numberOfPaths.length-1; n>-1; n--) { var a = numberOfPaths[n].kind; if (a == "PathKind.NORMALPATH&quo...
by Evan
Tue Mar 26, 2013 10:11 pm
Forum: LEGACY scripting
Topic: Problem using command script file of Acrobat configurator
Replies: 1
Views: 5659

Problem using command script file of Acrobat configurator

Hi all, I'm currently working on duplicating a flow I've done on another switch and I not able to execute an acrobat script. My script is really simple and it call a application level function using Acrobat menu. if(($error == null) && ($doc != null)) { try { app.execMenuItem("SplitSeqA...
by Evan
Tue Nov 13, 2012 5:16 pm
Forum: LEGACY scripting
Topic: XML pickup dismantle job
Replies: 4
Views: 7711

XML pickup dismantle job

Hi Thorsten,



maybe you can use "Ungroup", process your cover, then use "Assemble" with "Merge metadata" to yes for passing your new dataset information from your cover to your bookblock.pdf?


by Evan
Mon Nov 12, 2012 2:53 am
Forum: Flows
Topic: Target a page according to bookmark presence?
Replies: 2
Views: 5214

Target a page according to bookmark presence?

I'm not sure if this can help but I think you should run a script in the acrobat configurator to have acrobat tell you more specific information. I have find this acrobat javascript example that may help: if ( bkmName != null ) { var bkm = searchBookmarks(this.bookmarkRoot, 0, bkmName ); if ( bkm !=...
by Evan
Fri Nov 09, 2012 3:13 pm
Forum: Flows
Topic: Is it possible to use a delimiter to retreive parts of a variable without scripting?
Replies: 3
Views: 7156

Is it possible to use a delimiter to retreive parts of a variable without scripting?

For those with my problem, I turn to use a script expression. Here a example of code I use to name a job. In "88888_-_1_-_A_-_16.pdf" the result will be "88888_Signature1_16pages.pdf" var filename = job.getNameProper() var filenameArray = filename.split("_-_") var compl...
by Evan
Thu Nov 08, 2012 5:44 pm
Forum: Flows
Topic: Is it possible to use a delimiter to retreive parts of a variable without scripting?
Replies: 3
Views: 7156

Is it possible to use a delimiter to retreive parts of a variable without scripting?

Hello all, When defining condition with variable, is there a way to use a delimiter and retreive part of a string using index without scripting? Any other way are welcome! Example in "88888_-_1_-_A_-_asdf.pdf" if delimiter = "_-_" Then Index1 = "88888" Index2 = "1&...
by Evan
Thu Oct 25, 2012 9:49 pm
Forum: Applications
Topic: Pitstop Server Stopped working with Powerswitch
Replies: 2
Views: 5386

Pitstop Server Stopped working with Powerswitch

Hi,



Open your Pitstop Server application and look at your license status. I had problem with Enfocus licenses in the past. My Powerswith flow started but nothing was processing.



--

Evan
by Evan
Mon Oct 22, 2012 9:04 pm
Forum: Flows
Topic: Simplify folders if diferents users
Replies: 4
Views: 6731

Simplify folders if diferents users

Hi mcolmenero, If I assume all your user folders are in the same folder you should use "Set hierarchy path" and "Archive hierarchy at the end of your flow. For "Set hierarchy", choose replace in "Action" and use a variable for "Path segment 1" like "...
by Evan
Fri Oct 19, 2012 7:45 pm
Forum: LEGACY scripting
Topic: Write to file configurator using multi-lines with variable
Replies: 13
Views: 20869

Write to file configurator using multi-lines with variable

Exactly, to make your code more robust you should add a try-catch routine so if an error occur your job will go to the problem folder and an error log will be generated. function jobArrived( s : Switch, job : Job ) { try { var extension = s.getPropertyValue("Extension"); var tempFile = job...
by Evan
Thu Oct 18, 2012 5:33 pm
Forum: LEGACY scripting
Topic: Write to file configurator using multi-lines with variable
Replies: 13
Views: 20869

Write to file configurator using multi-lines with variable

Hi Jimmy, This maybe not the more efficient way to do it but it works. function jobArrived( s : Switch, job : Job ){ var extension = s.getPropertyValue("Extension"); var tempFile = job.createPathWithExtension(extension); var myFile = new File(tempFile, "UTF8"); var InputPath = jo...