Search found 84 matches

by tz8
Tue Oct 07, 2014 2:51 pm
Forum: Applications
Topic: transform SmartStream Designer created PDF/VT to 'normal' PDF
Replies: 10
Views: 11950

transform SmartStream Designer created PDF/VT to 'normal' PDF

every PDF SmartStream Designer creates is actually a PDF/VT (that is what it actually says in the 'create job' tab)
by tz8
Tue Oct 07, 2014 2:46 pm
Forum: Applications
Topic: transform SmartStream Designer created PDF/VT to 'normal' PDF
Replies: 10
Views: 11950

transform SmartStream Designer created PDF/VT to 'normal' PDF

because our software relies on unimposed PDFs... that's part of the batching process :(
by tz8
Tue Oct 07, 2014 2:39 pm
Forum: LEGACY scripting
Topic: Transferring Metadata to PrivateData
Replies: 21
Views: 14310

Transferring Metadata to PrivateData

ArielRauch wrote: you are right. there are no datasets with this job. How can I prepare a job with datasets - I thought by switching the option "strip unique name" to no I keep all the metadata together with the pdf no, you can't transport metadata like that, SwitchScripter doesn't work wi...
by tz8
Tue Oct 07, 2014 2:37 pm
Forum: LEGACY scripting
Topic: Transferring Metadata to PrivateData
Replies: 21
Views: 14310

Transferring Metadata to PrivateData

ArielRauch wrote:

Afterwards I copied the path of the resulting pdf (I used two fields f1 and f2) into the fixture of incoming files for the following script:


what exactly do you mean by that? _where_ do you do the scripting? In SwitchScripter? And you copy the data over into it?
by tz8
Tue Oct 07, 2014 2:29 pm
Forum: LEGACY scripting
Topic: Transferring Metadata to PrivateData
Replies: 21
Views: 14310

Transferring Metadata to PrivateData

do a quick



job.log(1, job.getDatasetTags() );



to see if your job actually has datasets attached?
by tz8
Tue Oct 07, 2014 2:26 pm
Forum: LEGACY scripting
Topic: Transferring Metadata to PrivateData
Replies: 21
Views: 14310

Transferring Metadata to PrivateData

did you add the xml information you want in the fixture set? You need to mark the incoming job, then declare the existing datasets for a job under "Metadata datasets" otherwise you're not going to have any in SwitchScripter
by tz8
Tue Oct 07, 2014 2:14 pm
Forum: LEGACY scripting
Topic: Transferring Metadata to PrivateData
Replies: 21
Views: 14310

Transferring Metadata to PrivateData

use dataset.getPath() instead of job.getPath() in the new Document() part! ;)



var metadata = new Document(dataset.getPath());
by tz8
Tue Oct 07, 2014 2:07 pm
Forum: Applications
Topic: transform SmartStream Designer created PDF/VT to 'normal' PDF
Replies: 10
Views: 11950

transform SmartStream Designer created PDF/VT to 'normal' PDF

it looks like a normal PDF, opens like a normal PDF, but it actually is a PDF/VT which is part of the PDF/X-4 standard. It hast a database of the variable datafields. So basically i'd like to get rid of the PDF/VT extensions and generate a standard PDF/X-4 compatible PDF file. If you don't believe m...
by tz8
Tue Oct 07, 2014 12:24 pm
Forum: Applications
Topic: transform SmartStream Designer created PDF/VT to 'normal' PDF
Replies: 10
Views: 11950

transform SmartStream Designer created PDF/VT to 'normal' PDF

Everyone, i need a way to transform a PDF/VT (from SmartStream Designer) to a 'normal' PDF file, possibly with the Acrobat configurator. Quite is not supporting PDF/VT nor will it ever support it, but a 3rd party application we use joins PDFs into batches and imposes them with quite - both will just...
by tz8
Thu Apr 03, 2014 11:45 am
Forum: LEGACY scripting
Topic: Process.execute command error
Replies: 4
Views: 4071

Process.execute command error

create a property for the script and give it a "choose file" option. Then choose the test.cmd. var args = new Array(); args.push( s.getPropertyValue( "Batchfile" ) ); var p = new Process( args ); p.start(); p.waitForFinished(); this always did the trick for me as the notation of ...
by tz8
Thu Apr 03, 2014 11:36 am
Forum: LEGACY scripting
Topic: Looking to sort jobs containing folders...
Replies: 3
Views: 5405

Looking to sort jobs containing folders...

first: create a script where connection type is "Filter" (include/exclude folder set to No). then you can use this script: function jobArrived( s : Switch, job : Job ) { var jobDir = new Dir( job.getPath() ); var jobFolderList = jobDir.entryList( "*", Dir.Dirs|Dir.NoDotAndDotDot ...
by tz8
Wed Mar 26, 2014 11:27 am
Forum: LEGACY scripting
Topic: File Directory in Javascript
Replies: 4
Views: 5250

File Directory in Javascript

dkelly wrote: This script expression will return all of the subdirectory names in "/Server/files" directory. Dwight Kelly Apago, Inc. Switch reseller and script developer var theDir = new Dir("/Server/files"); var theEntries = theDir.entryList("*", Dir.Dirs|Dir.NoDotAnd...
by tz8
Tue Nov 26, 2013 11:28 pm
Forum: LEGACY scripting
Topic: get path of folder for incoming connection
Replies: 2
Views: 3161

get path of folder for incoming connection

Hi, is there a scripting possibility of getting the path of an incoming connection? I'm having the weird issue that (just for one customer) files are not being accepted as a job by Switch up until i restart the flow... i just want to do a fileList of the folder when s.getJobs() == 0, then crawl thro...
by tz8
Thu Nov 14, 2013 5:19 pm
Forum: LEGACY scripting
Topic: Reading line of text from inside of a txt or doc file by a script
Replies: 3
Views: 6321

Reading line of text from inside of a txt or doc file by a script

here's a good start on how to cleanup an RTF file to get to the raw text lines:



http://webcheatsheet.com/php/reading_th ... om_rtf.php



PS: remove the following line from your script:

oku.readLine();

that one does nothing...
by tz8
Thu May 30, 2013 11:06 pm
Forum: Applications
Topic: weird Switch error when creating name for Quite Hot Imposing control file name
Replies: 13
Views: 16484

weird Switch error when creating name for Quite Hot Imposing control file name

exactly my thought! But i can't test the 'old' Quite Hot Engine anymore... anyone with a latest version (3.0e?) Quite Hot Imposing who could test it?