Search found 87 matches

by Padawan
Tue Jun 19, 2018 9:52 am
Forum: Flows
Topic: Remove hidden files ".DS_store" from a folder
Replies: 6
Views: 98

Re: Remove hidden files ".DS_store" from a folder

Or another option: I usually use the Execute Command tool to recursively search for those files in the folder and remove them. This way you only need one flow element. On mac these Execute Command settings should do the trick https://image.ibb.co/n6kYqJ/Screen_Shot_2018_06_19_at_09_45_51.png On Wind...
by Padawan
Thu Jun 14, 2018 10:10 am
Forum: Flows
Topic: Calculate media usage
Replies: 3
Views: 118

Re: Calculate media usage

I believe this should be possible via scripting, I don't think it is possible without.
by Padawan
Thu Jun 14, 2018 10:02 am
Forum: Flows
Topic: FTP tool stop scrutinizing the folder unexpectedly
Replies: 2
Views: 57

Re: FTP tool stop scrutinizing the folder unexpectedly

There is no way to automatically activate and deactivate flows that I'm aware of. If you are using Switch as a Windows Service on Windows (with all it's downsides), then it is possible to stop and start the Switch Windows Service using a cli command. I'm not sure if that would be helpful for you. Al...
by Padawan
Thu Jun 07, 2018 10:11 am
Forum: Preflighting
Topic: Permanently embed preflight xml in PDF file
Replies: 5
Views: 199

Re: Permanently embed preflight xml in PDF file

If you use CertifiedPDF, then it stores some info in the XMP where it is accessible by tools who are able to read XMP. However,the complete report itself is also stored in the file, but only accessible by PitStop tools. To create Certified PDF files with PitStop Server in Switch: - Set the "Certifie...
by Padawan
Mon Jun 04, 2018 2:12 pm
Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
Topic: [FEATURE REQUEST] Custom Defined Trigger for Processors
Replies: 3
Views: 135

Re: [FEATURE REQUEST] Custom Defined Trigger for Processors

I agree that it might be very hard or impossible without the scripting module. I was just intrigued by your request because you seemed to describe something similar to publish-subscribe and I so far never had a case where I tried to implement that in Switch. Maybe I just never thought about it becau...
by Padawan
Fri Jun 01, 2018 1:33 pm
Forum: Scripting
Topic: RegEx
Replies: 5
Views: 226

Re: RegEx

You're welcome. And yes you can, you just need to escape the " with a \ in the regex:

Code: Select all

//var input = job.getVariableAsString("[Email.Subject]");
var input = "T\"\'*e:s<t";
var regExp = /[^(\"?\'!.*:^<>)]/g;
var result = input.match(regExp);
result.join("");
by Padawan
Fri Jun 01, 2018 11:52 am
Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
Topic: [FEATURE REQUEST] Custom Defined Trigger for Processors
Replies: 3
Views: 135

Re: [FEATURE REQUEST] Custom Defined Trigger for Processors

What you describe sounds like the publish-subscribe programming pattern and it indeed currently not possible. However, some of the usecases you describe do sound possible with Switch Scripting. The external trigger could store the information somewhere. For example: - A field in a database - Some in...
by Padawan
Thu May 31, 2018 10:50 am
Forum: Scripting
Topic: RegEx
Replies: 5
Views: 226

Re: RegEx

If you test it on regex101.com, then on the right you can see your Match information. This shows that the first match is "T", the second match is "e", and so on: https://preview.ibb.co/gLc1qy/Screen_Shot_2018_05_31_at_10_41_55.png I assume you are using the "Search" string manipulation in Switch? Th...
by Padawan
Mon May 28, 2018 4:32 pm
Forum: Action Lists
Topic: Detect and fix isolation knock-out transparency groups
Replies: 1
Views: 117

Re: Detect and fix isolation knock-out transparency groups

To my knowledge you can report transparency groups, but not specific kind of transparency groups. This can be done by creating an Action List with these actions: - Select transparent objects (Change the options so it only reports transparency groups) - Log selection (Add a text which should be logged)
by Padawan
Mon May 28, 2018 4:25 pm
Forum: Action Lists
Topic: Getting a Page Range via variable input
Replies: 1
Views: 89

Re: Getting a Page Range via variable input

I expect that the variable for the page range will need to be of type "Text" and the variable for the rotation degrees of type "Number". If so, then I think it should work. Also, Action Lists only go forward in a PDF file, which sometimes leads to unexpected results. Therefore I would advise to firs...
by Padawan
Wed May 09, 2018 3:37 pm
Forum: PitStop Server
Topic: How to place an image?
Replies: 2
Views: 177

Re: How to place an image?

Hi Martijn,

PitStop is able to add fixed images to a PDF using the "Add copied graphics" action, but not variable images.

I know there are command line tools to stamp variable images to PDF files. I believe pdftk server might be able to do it, but I'm not sure.
by Padawan
Thu May 03, 2018 11:43 am
Forum: PitStop Server
Topic: Checking for text with 1 separation less than x%
Replies: 2
Views: 166

Re: Checking for text with 1 separation less than x%

In version 2018 there was a change in the "Check ink coverage (total page check)" action. It now allows to set a maximum ink usage per separation. This is kind of what you request, except it is not possible to limit it only to text. Is this sufficient for you? Once you create an Action List like in ...
by Padawan
Thu Apr 26, 2018 9:25 am
Forum: PitStop Server
Topic: Pitstop server bug on Windows
Replies: 2
Views: 205

Re: Pitstop server bug on Windows

What you are seeing is a dialog from Windows Error Reporting. It should be possible to disable those by disabling windows error reporting. If you work with an IT department, then it is possible it is appearing because they added rules to enable it via group policy. If so, then they can disable it ag...
by Padawan
Thu Apr 19, 2018 4:14 pm
Forum: Scripting
Topic: XSLT help
Replies: 15
Views: 1084

Re: XSLT help

That's it! I tested and SaxonHE9-8-0-11J gives the same error but SaxonHE9-7-0-21J works ok.
by Padawan
Thu Apr 19, 2018 11:03 am
Forum: Scripting
Topic: XSLT help
Replies: 15
Views: 1084

Re: XSLT help

When I test it the configurator it also uses -xsltversion:2.0 and that works for me. But I use a standalone Saxon instead of the one in inside doxygen. Can you try that as well? You can download it here: https://www.saxonica.com/download/java.xml After installing you can point the configurator to th...