Search found 122 matches

by PdFUser5000
Mon Jan 25, 2021 12:18 pm
Forum: Applications
Topic: Ai file loses color profile after processing.
Replies: 13
Views: 16404

Re: Ai file loses color profile after processing.

We cannot use Save as to make PDFs because of our printing software's settings I do not understand that one. Are you referring to a specific custom PDF preset you have to use? In that case add it to the AI on Switch and choose it from the list. You can of course add your script to the "Save as...
by PdFUser5000
Wed Jan 20, 2021 7:47 am
Forum: Applications
Topic: Ai file loses color profile after processing.
Replies: 13
Views: 16404

Re: Ai file loses color profile after processing.

There is an Illustrator save option that determines whether or not the ICC profile should be included and the default is "false". That probably explains why saving as Illustrator loses it. This being said, you should not save the PDF with a script for the Command property, but just with t...
by PdFUser5000
Tue Jan 19, 2021 2:22 pm
Forum: Applications
Topic: Ai file loses color profile after processing.
Replies: 13
Views: 16404

Ai file loses color profile after processing.

I have an illustrator element which makes PDFs from ai files. After this process the ai file loses it's color profile. what can cause this?
In the element i use a script for the Command part, and Illustrator in the Save as option.
by PdFUser5000
Mon Jan 18, 2021 7:44 pm
Forum: Flows
Topic: Use regex in condition with variables
Replies: 5
Views: 5374

Re: Use regex in condition with variables

Thanks everybody for the feedback! I will try out both versions.
by PdFUser5000
Mon Jan 18, 2021 3:16 pm
Forum: Flows
Topic: Use regex in condition with variables
Replies: 5
Views: 5374

Re: Use regex in condition with variables

Because there are other symbols in the filename, i came up with this. It seems to be working. But is this correct? [Job.NameProper:Search="(A135.2|A115|C5016|A5012|A5013|B32.2|B33.1|C5010|C5011|C5014|C5015|C5018)"] Matches (A135.2|A115|C5016|A5012|A5013|B32.2|B33.1|C5010|C5011|C5014|C5015|...
by PdFUser5000
Mon Jan 18, 2021 2:30 pm
Forum: Flows
Topic: Use regex in condition with variables
Replies: 5
Views: 5374

Use regex in condition with variables

I think this is a noob question, but i hope someone can confirm this is correct/wrong. I have a connector, which has Conditions in variables defined to the "Include these jobs" option. Currently, i have created a new condition for each new "ID" of a model. This creates a very lon...
by PdFUser5000
Thu Jan 14, 2021 12:07 pm
Forum: Switch
Topic: Priority of using Illustrator flow element
Replies: 1
Views: 2937

Priority of using Illustrator flow element

I have 2 different flows, which both use Illustrator. Is there way for making Switch use the flow element in a certain order? Currently, if both workflows have illustrator files in them to be processed, switch uses Illustrator randomly (or based on when the files were inserted?) The goal would be th...
by PdFUser5000
Wed Dec 16, 2020 11:46 am
Forum: Switch
Topic: Run Switch as a service on windows with Adobe + Tilia programs
Replies: 2
Views: 4256

Run Switch as a service on windows with Adobe + Tilia programs

If i understand correctly, according to this article https://www.enfocus.com/en/support/known-issues-and-solutions#/SupportPortalSolution?id=501D0000000jfddIAA if i am using Tilia Phoenix and Adobe illustrator in my flows, i can't make switch run them without logging in to my server user first? For ...
by PdFUser5000
Tue Dec 15, 2020 12:14 pm
Forum: Flows
Topic: Condition with variables OR AND not working
Replies: 6
Views: 5728

Re: Condition with variables OR AND not working

LasseThid wrote: Tue Dec 15, 2020 8:49 am If you check for equality then the files that are correct will continue that way in the flow.
If you then add a branch for "All other jobs" any file that does not match the conditions set will go thru that branch and you can send your error messsage there.
missed that option, thanks!
by PdFUser5000
Mon Dec 14, 2020 3:01 pm
Forum: Flows
Topic: Condition with variables OR AND not working
Replies: 6
Views: 5728

Re: Condition with variables OR AND not working

You have to test for equality instead of inequality: a part of the filename is equal to something from metadata OR another part of the filename is equal to something from metadata AND the mail address contains something My aim would be to check for inequality, because i want switch to give an error...
by PdFUser5000
Fri Dec 11, 2020 9:43 am
Forum: Flows
Topic: Condition with variables OR AND not working
Replies: 6
Views: 5728

Re: Condition with variables OR AND not working

Capture.PNG
Capture.PNG (19.07 KiB) Viewed 5720 times
i think i got it right?
right hand variables are id from metadata
by PdFUser5000
Fri Dec 11, 2020 8:48 am
Forum: Flows
Topic: Condition with variables OR AND not working
Replies: 6
Views: 5728

Condition with variables OR AND not working

Capture.PNG My files have one of two possible "IDs" in their name and metadata. D-1234567 or VL21-1234. It is always one of them, never both. I want switch to check if the ID in the metadata is the same as in the filename because the file name is currently created by the user. When i only...
by PdFUser5000
Tue Dec 01, 2020 7:06 am
Forum: Switch
Topic: Remove top variable with condition
Replies: 0
Views: 7657

Remove top variable with condition

I want to remove the first variable condition from the list. Currently it seems that the only way is to move the last variable to the top. Could it be possible to add a delete button for the variables instead?
Capture.PNG
Capture.PNG (31.59 KiB) Viewed 7657 times
by PdFUser5000
Mon Nov 23, 2020 7:21 am
Forum: Node.js scripting
Topic: Fill excel table with data. Data not appearing
Replies: 10
Views: 10202

Re: Fill excel table with data. Data not appearing

Finally got it working somehow. Had to add column keys and values to the creation part of the excel, tried this before too, but without property value. Thanks to everybody for helping! Working exceljs part: let workbook = new ExcelJS.Workbook() await workbook.xlsx.readFile(str); let worksheet = work...
by PdFUser5000
Thu Nov 19, 2020 2:42 pm
Forum: Node.js scripting
Topic: Fill excel table with data. Data not appearing
Replies: 10
Views: 10202

Re: Fill excel table with data. Data not appearing

Still not working :( Updated code: const fs = require('fs'); const path = require('path'); const ExcelJS = require('exceljs'); async function jobArrived(s, flowElement, job) { try { //get data from job let workName = await job.getName(); let PDFStamp = await job.getPrivateData("PDFTime"); ...