Search found 93 matches

by r.zegwaard
Wed Jan 02, 2019 3:03 pm
Forum: LEGACY scripting
Topic: File count to report writing
Replies: 4
Views: 6683

Re: File count to report writing

First you should write a scripts which processes the incomming files. It should open the csv-file and read the number of lines in it. Then append this number and the job-name in another csv-file. Both number and the job-name should be on the same line and separated by a comma, tab or semi-colon. The...
by r.zegwaard
Thu Dec 20, 2018 8:53 am
Forum: Flows
Topic: Flow to merge a template with a page from a multi page pdf
Replies: 4
Views: 5075

Re: Flow to merge a template with a page from a multi page pdf

My logic would be:
- Split PDF
- Ungoup the folder-job to get separate pdf-jobs
- Inject the template-pdf's
- Assemble pdf and template to a new folder-job. Based on the metadata
- Merge the created folder-job to pdf
by r.zegwaard
Mon Dec 17, 2018 7:45 am
Forum: LEGACY scripting
Topic: Variables in an XML location path
Replies: 3
Views: 6552

Re: Variables in an XML location path

1st question: Try this: var xpathString = "[Metadata.TextIndexed:Path=\"/cXML/Request/OrderRequest/ItemOut["+theVariable+"]/ItemID/SupplierPartAuxiliaryID\",Dataset=\"Xml\",Model=\"XML\"]"; 2nd: You should open the XML-file and do a xpath-query to ge...
by r.zegwaard
Mon Dec 10, 2018 4:43 pm
Forum: Switch
Topic: variables defined: Calculates find format size (Width)
Replies: 1
Views: 4175

Re: variables defined: Calculates find format size (Width)

Hi,

You could do a "Switch calculation" like this:
[Switch.Calculation:Expression="[Metadata.Rational:Path="/Input/Width_mm",Dataset="Advert",Model="XML"]+ 10"]
by r.zegwaard
Thu Dec 06, 2018 11:35 am
Forum: Applications
Topic: HP configurator stops by TypeError
Replies: 3
Views: 6406

Re: HP configurator stops by TypeError

It might have something to do with the process which starts Indesign.
Is Indesign started as part of your boot-sequence, or is it started by a Switch-flow?
I guess the last options works, while the first don't.
by r.zegwaard
Wed Nov 28, 2018 7:18 am
Forum: Applications
Topic: HP configurator stops by TypeError
Replies: 3
Views: 6406

Re: HP configurator stops by TypeError

Hi Fist,

What happens when you try to use this specific csv and the used template manually/directly in Indesign? So not via Switch.
Maybe that gives a clue what's wrong...

Robert
by r.zegwaard
Tue Nov 27, 2018 7:19 am
Forum: Switch
Topic: Switch Messaging Filters - User Feedback Required!
Replies: 5
Views: 7632

Re: Switch Messaging Filters - User Feedback Required!

I'm also using the messages quite often but they work very slow which is the main problem even though the messages are kept for "only" 24 hours.
by r.zegwaard
Wed Nov 14, 2018 7:27 am
Forum: Flows
Topic: How to count instances of a variable in a group or Assembled Job
Replies: 4
Views: 5653

Re: How to count instances of a variable in a group or Assembled Job

You could write a script which looks at the incomming folder-job. The script could than iterate over the files in the folder, and using the FileStatistics determine if it's an odd or even document. Count the odd an even files, and store the values in the private-data of the folder-job. Then send out...
by r.zegwaard
Thu Nov 08, 2018 10:44 am
Forum: Flows
Topic: Rotate image on Exif-rotation
Replies: 1
Views: 3149

Rotate image on Exif-rotation

Hi,

I need to rotate incomming jpg-images based on here exif rotation setting.
So if an landscape-image comes in with a exif-rotation set to 90degrees, the image becomes portrait.

Any suggestions?

Robert
by r.zegwaard
Mon Nov 05, 2018 7:55 am
Forum: Imposition
Topic: HP SmartStream Designer imposition crashing
Replies: 2
Views: 8588

Re: HP SmartStream Designer imposition crashing

We've also got lots of trouble with this configuration.
Finally we went back to Indesign 2017... :o :o
by r.zegwaard
Wed Oct 24, 2018 3:17 pm
Forum: Flows
Topic: Release files at a certain time
Replies: 7
Views: 7019

Re: Release files at a certain time

Wouldn't it be easier to use a Hold-job with a time-of-day window on the outgoing connection?

Image
by r.zegwaard
Mon Oct 22, 2018 4:31 pm
Forum: Flows
Topic: Use variable in Single line text with variable
Replies: 4
Views: 4969

Re: Use variable in Single line text with variable

I agree but it doesn't have to be a complete script.
A script-expression should be enough...
by r.zegwaard
Thu Oct 11, 2018 10:59 am
Forum: Flows
Topic: Flow groups are not saved with restart Switch
Replies: 5
Views: 7905

Re: Flow groups are not saved with restart Switch

I've got the same problem. Happens sometime.
Created a support-ticket with Enfocus.
They let me know that a bugfix will be released in a feature release...

Until then you 'll have to live with it.
I hope to see this update quickly...
by r.zegwaard
Mon Oct 08, 2018 7:58 am
Forum: Flows
Topic: Custom message in checkpoint?
Replies: 3
Views: 4534

Re: Custom message in checkpoint?

Indeed, a multiline textfield would be a great option to have in switch-client.
by r.zegwaard
Wed Sep 26, 2018 4:24 pm
Forum: Flows
Topic: Using variables in filepath
Replies: 11
Views: 14610

Re: Using variables in filepath

Hi Terkelsen,

Could you provide a sample of the folder-structure you need?