Search found 30 matches

by nna
Mon Apr 04, 2022 10:19 am
Forum: Flows
Topic: ImageMagick – cannot send job
Replies: 11
Views: 18875

ImageMagick – cannot send job

Hi all I've been having issues lately with ImageMagick on Windows Server. Whenever I try to convert anything, the following error is displayed in the messages: Cannot send job: path 'E:/Enfocus Switch/temp/1/ScriptElement/109/7/ExecuteComandResult/[i]filename[/i].jpg' does not exist I've attached a ...
by nna
Fri Mar 18, 2022 3:44 pm
Forum: Flows
Topic: Experiences with Microsoft Office applications
Replies: 0
Views: 15076

Experiences with Microsoft Office applications

Hi all

I was wondering what your experiences with MS office applications are and how you implement them into Switch flows. I have a couple of use cases in mind, like a sort of preflight for Excel and Word files aswell as certain file conversions (i.e. xslx to txt). What are your guys' experiences?
by nna
Tue Mar 01, 2022 5:14 pm
Forum: Flows
Topic: Recursive on Rename Job not working
Replies: 4
Views: 2443

Re: Recursive on Rename Job not working

The regex for action 5 says to match anything that is not alphanumeric or that is two underscores one or more times. But underscores are also not alphanumeric and replace one or more by one is also correct. I would say the regex simply has to be [^a-zA-Z0-9]+ which means replace one or more non-alp...
by nna
Tue Mar 01, 2022 1:37 pm
Forum: Flows
Topic: Rounded trimbox values as PrivateData
Replies: 4
Views: 2217

Re: Rounded trimbox values as PrivateData

You could combine both steps into one: new_size=[Switch.Calculation:Expression="round([Switch.Calculation:Expression="[Stats.TrimBoxWidth:Type="Defined"]/2.83465"])"]x[Switch.Calculation:Expression="round([Switch.Calculation:Expression="[Stats.TrimBoxHeight:Ty...
by nna
Mon Feb 28, 2022 5:39 pm
Forum: Flows
Topic: Rounded trimbox values as PrivateData
Replies: 4
Views: 2217

Re: Rounded trimbox values as PrivateData

You can use the round-function with the calculations. So your variable construction could look something like this: [Switch.Calculation:Expression="round([Stats.TrimBoxWidth:Type="Defined"])"]x[Switch.Calculation:Expression="round([Stats.TrimBoxHeight:Type="Defined"...
by nna
Mon Feb 28, 2022 1:53 pm
Forum: Flows
Topic: Recursive on Rename Job not working
Replies: 4
Views: 2443

Re: Recursive on Rename Job not working

Try with the Action - Reduce character set to get rid of all the special characters and then an action to replace multiple underscores. The regex for that is just _+ and replace it by a single underscore. Reduce character set doesn't work for my case unfortunately. I use this method to "normal...
by nna
Fri Feb 25, 2022 3:59 pm
Forum: Flows
Topic: Recursive on Rename Job not working
Replies: 4
Views: 2443

Recursive on Rename Job not working

Hi all I'm currently testing the following flow: Bildschirmfoto 2022-02-25 um 15.52.05.png Regex for Action 4: [\.'] Regex for Action 5: [^a-zA-Z0-9]|__+ What I'm trying to do: Replace the umlauts with their ASCII-friendly counterparts, replace dots and apostrophes with nothing and then replace ever...
by nna
Tue Jan 18, 2022 9:49 am
Forum: PDF Creation
Topic: Split PDF to color separations
Replies: 14
Views: 367012

Re: Split PDF to color separations

Thank you for your replies! The files to process are single page PDFs, colors vary. Might be CMYK only, might contain a number of spot colors. I hadn't thought about trapping, you're right... Could the files not be trapped before splitting them into separations?
by nna
Tue Jan 11, 2022 10:54 am
Forum: PDF Creation
Topic: Split PDF to color separations
Replies: 14
Views: 367012

Split PDF to color separations

Hi all

I'm trying to figure out a way to split a single page PDF into color separations. Is there a way with PitStop Server? Or do I need to work through Acrobat with a PS printer and script the whole thing? Any input is greatly appreciated.
by nna
Fri Nov 12, 2021 2:00 pm
Forum: Switch
Topic: Set preferences for flow elements
Replies: 0
Views: 14157

Set preferences for flow elements

I was wondering this recently: Is there a way to set preferences for flow elements? For example, PitStop Server always sets Optimization to "File size only" which I'm not a fan of. Can I configure the PitStop Server element to always default to "None" instead of "File size o...
by nna
Tue Nov 09, 2021 11:39 am
Forum: Flows
Topic: Inject Job throws script error
Replies: 5
Views: 4371

Re: Inject Job throws script error

Solved the issue. The problem was that the metadata was empty (and will be empty in many cases) which results in an error since Inject Job (and Inject Wildcard and Inject Job Lite) cannot work with an empty job name. I was of the impression that the fail state or the "red traffic light" wo...
by nna
Mon Oct 25, 2021 2:35 pm
Forum: Flows
Topic: Inject Job throws script error
Replies: 5
Views: 4371

Re: Inject Job throws script error

I'm trying to inject a folder structure. If it exists, it should be injected, if not, the XML file that started the workflow is being processed differently. I'm not using any scripts. Please find attached my properties for the repository. It's okay that "Job Name" is empty, this folder doe...
by nna
Mon Oct 04, 2021 1:16 pm
Forum: Flows
Topic: Inject Job throws script error
Replies: 5
Views: 4371

Re: Inject Job throws script error

Thank you for the fast response! The path may or may not exist. I have two exiting connections, one injects the desired repository if it exists, the other is set to "failed". The goal is to check if a job already exists and do something with it if it does. If it doesn't, another workflow i...
by nna
Mon Oct 04, 2021 12:27 pm
Forum: Flows
Topic: Inject Job throws script error
Replies: 5
Views: 4371

Inject Job throws script error

Hi all A flow of mine is throwing an unexpected script error on Inject Job (see attached screenshot, says «Error in code line 160» or something along those lines). I'm injecting an XML which picks itself up and the I choose to either inject a job repository if it exists or relay the XML to another f...
by nna
Thu Aug 12, 2021 3:20 pm
Forum: Preflighting
Topic: Smart Preflight: check colors
Replies: 1
Views: 4629

Smart Preflight: check colors

Hi all! I've been playing around with Smart Preflight in PitStop Server and Switch and I came to a little roadblock. I'd like to compare colors of a PDF to the ones in an XML. The XML file is attached as metadata and the color part looks like this: <Order> ...other stuff <Colors> <FrontColors> <Colo...