Search found 17 matches
- Mon Nov 19, 2012 12:56 pm
- Forum: Scripting
- Topic: Script vs define variables
- Replies: 3
- Views: 2760
Script vs define variables
Jgandersen, inside the function convert you do not have access to the "job" variable, since you have not defined it in your function call and pass it as parameter. You can write the script without the function. There you have access to job. var MBpt = job.getVariableAsNumber( "[Stats....
- Wed Nov 14, 2012 10:34 pm
- Forum: Preflighting
- Topic: Stuffit files
- Replies: 2
- Views: 3482
Stuffit files
For this I use an execute configurator
Path to application: /Applications/StuffIt Expander.app/Contents/MacOS/StuffIt Expander
Arguments: "%1"
Destination: Result next to input file
peter
peter@inpetto.cc
inpetto:zipcon consulting
Path to application: /Applications/StuffIt Expander.app/Contents/MacOS/StuffIt Expander
Arguments: "%1"
Destination: Result next to input file
peter
peter@inpetto.cc
inpetto:zipcon consulting
- Tue Nov 13, 2012 4:26 pm
- Forum: Scripting
- Topic: XML pickup dismantle job
- Replies: 4
- Views: 3252
XML pickup dismantle job
Thorsten,
after you dismantle the folder, every resulting job gets its own dataset. Changes in the dataset of a job is not reflected in the datasets of other jobs that where generated when dismantling the folder.
Regards,
Peter
after you dismantle the folder, every resulting job gets its own dataset. Changes in the dataset of a job is not reflected in the datasets of other jobs that where generated when dismantling the folder.
Regards,
Peter
- Thu Nov 08, 2012 7:31 pm
- Forum: Flows
- Topic: Is it possible to use a delimiter to retreive parts of a variable without scripting?
- Replies: 3
- Views: 2903
Is it possible to use a delimiter to retreive parts of a variable without scripting?
Evan,
I'm afraid that this is not possible, yet.
I am with you that this would be a great feature enhancement when working with variables.
Peter
I'm afraid that this is not possible, yet.
I am with you that this would be a great feature enhancement when working with variables.
Peter
- Sun Nov 04, 2012 4:45 pm
- Forum: Scripting
- Topic: question about Process.execute
- Replies: 9
- Views: 6839
question about Process.execute
That is weird, as the callas pdfToolbox configurator is also using the array feature to build the command. Don't know what we did overlook, but it should work as well. If you want me to have a look at your code don't hesitate to send me your script. Regards, Peter Kleinheider peter@inpetto.cc
- Sat Nov 03, 2012 5:57 pm
- Forum: Scripting
- Topic: question about Process.execute
- Replies: 9
- Views: 6839
question about Process.execute
Michael, you should use the following variables to get feedback about the successful call: var theExitCode = Process.execute(theArgs); var thestdOut = Process.stdout; var thestdErr = Process.stderr; callas pdfToolbox Exit codes can be viewed using the CLI call ./pdfToolbox --status stdOut and stdErr...
- Wed Oct 24, 2012 10:19 pm
- Forum: Scripting
- Topic: Write to file configurator using multi-lines with variable
- Replies: 13
- Views: 10672
Write to file configurator using multi-lines with variable
For creating XML files, I use a script from impressed called "XML magic". a multiline filed with variables let you specify the structure of the resulting xml and looks like & Element /customer jobs & Element /customer/jobs job + Attribute /customer/jobs/job name [Job.NameProper] + ...
- Thu Oct 11, 2012 3:09 pm
- Forum: Imposition
- Topic: Nesting possibilities
- Replies: 4
- Views: 12848
Nesting possibilities
Hi Dewald,
still around
I have not yet seen any better solution for ganging than metrix.
Other have functions that go in this direction ...
Cheers,
Peter
still around

I have not yet seen any better solution for ganging than metrix.
Other have functions that go in this direction ...
Cheers,
Peter
- Thu Oct 11, 2012 2:51 pm
- Forum: Imposition
- Topic: Nesting possibilities
- Replies: 4
- Views: 12848
Nesting possibilities
It is possible to integrate metrix Automation Lite with Switch. impressed in germany created scripts for that.
Switch Moduls needed:
Core
Scripting
peter
Switch Moduls needed:
Core
Scripting
peter
- Sun Sep 30, 2012 2:40 pm
- Forum: Flows
- Topic: Getting the XML out of the PDF
- Replies: 4
- Views: 3290
Getting the XML out of the PDF
Good afternoon, the XML code you refer to is part of a PostScript Form XObject. I do not know of any software that extracts such PS-Parts as part of its functionality. The only solution I know is to write a Switch Script that searches for such XML as part of PS Form XObjects and save it in a separat...
- Tue Sep 25, 2012 8:13 am
- Forum: Flows
- Topic: Getting the XML out of the PDF
- Replies: 4
- Views: 3290
Getting the XML out of the PDF
Flow666 wrote: Hi, I have a PDF with XML data embedded in the file (jdf). I can see this if i open the PDF as a text file. It isnt visible in the metadata when i search for it. I have tried to save the PDF in acrobat and export to XMl but thats not working (error messages). With what application can...
- Fri Mar 23, 2012 7:06 pm
- Forum: Preflighting
- Topic: Loosing conformity to pdf/x4 standard after splitting
- Replies: 3
- Views: 4568
Loosing conformity to pdf/x4 standard after splitting
Thomas,
split PDF using switch is not PDF/X savvy (as is true with a lot of other applications).
I can only advise to split first and then create X-4.
Cheers,
Peter
split PDF using switch is not PDF/X savvy (as is true with a lot of other applications).
I can only advise to split first and then create X-4.
Cheers,
Peter
- Tue Mar 13, 2012 2:49 pm
- Forum: Flows
- Topic: Making profiles more dynamic
- Replies: 4
- Views: 3897
Making profiles more dynamic
ET, when U have a PDF with layers, use the "Split Layers" Action. No need to provide any .kfpx file. To dynamically drive the fixup to add elements to layers, use the variables feature a) when defining the fixup b) inside Switch passing values to overwrite the defaults of the defined varia...
- Thu Apr 28, 2011 11:45 pm
- Forum: Flows
- Topic: http pickup tool
- Replies: 4
- Views: 5378
http pickup tool
Just saw that PowerSwitch 09 has a comand to fetch files via http or ftp. So the script can be truncated and not relying on wget. … var String outName = job.createPathWithName( theURI.substring( slashPos+1, theURI.length) ); if ( s.download(theURI,outName) == true) { // success job.sendToSingle(outN...
- Mon Apr 11, 2011 2:39 pm
- Forum: Flows
- Topic: http pickup tool
- Replies: 4
- Views: 5378
http pickup tool
dkelly wrote: Hello, I can help you.
Hi Dwight,
would U use a command line tool or just JS? Or is it a service you offer? Please let others also know how you could help.
Thank you,
Peter
Hi Dwight,
would U use a command line tool or just JS? Or is it a service you offer? Please let others also know how you could help.
Thank you,
Peter