Search found 67 matches

by PdFUser5000
Mon Oct 26, 2020 9:49 am
Forum: Flows
Topic: Calculate time elapsed for job completion
Replies: 3
Views: 995

Calculate time elapsed for job completion

I am trying to calculate time elapsed for completing a job.I'm using Privatedata keys for this, but the answer comes out wrong. Is my formatting wrong? JobStart=[Switch.Date:Format="hh-mm-ss",TimeZone="System"] JobEnd=[Switch.Date:Format="hh-mm-ss",TimeZone="System"] [Switch.Calculation:Expression="...
by PdFUser5000
Fri Oct 16, 2020 12:26 pm
Forum: Node.js scripting
Topic: Best Nodeschool tutorials for learning Node.js in switch?
Replies: 1
Views: 972

Best Nodeschool tutorials for learning Node.js in switch?

Hello

Can anyone recommend the best tutorials from nodeschool.io which are most beneficial/relatable if i want to start scripting in Switch?
by PdFUser5000
Thu Oct 15, 2020 12:36 pm
Forum: Switch
Topic: Error handling - Abort processes after (minutes)
Replies: 0
Views: 1230

Error handling - Abort processes after (minutes)

How are the minutes counted? If i have a script in an Illustrator element, that creates PDFs, is the minutes calculated for each pdf separately, or is the creation of all pdfs treated as a single process since the script only activates once? Example: My script has to create 6 new PDFs, that take 30 ...
by PdFUser5000
Fri Oct 02, 2020 9:31 am
Forum: LEGACY scripting
Topic: UTF-16 in Xml
Replies: 2
Views: 1199

Re: UTF-16 in Xml

Many XML files do not have an XML declaration as the first line: <?xml version="1.0" encoding="UTF-8" standalone="no" ?> That is OK, but then UTF-8 is assumed. Perhaps your XML file does not have such a declaration? I have a declaration. I tried UTF-16 and Windows-1252 which did not work. FInally i...
by PdFUser5000
Fri Oct 02, 2020 7:16 am
Forum: LEGACY scripting
Topic: UTF-16 in Xml
Replies: 2
Views: 1199

UTF-16 in Xml

Hello

is UTF-16 not supported in switch metadata?

Tried using it, but I get an error: Input is not proper UTF-8, indicate encoding!
by PdFUser5000
Mon Sep 28, 2020 2:16 pm
Forum: Flows
Topic: Using multiple checkpoints via email in flows
Replies: 1
Views: 771

Using multiple checkpoints via email in flows

When using multiple checkpoint via email elements, I sometimes get this error from another checkpoint via email element, to which i have not sent data at that moment: Failed to receive message; error message: x0033 NO Some of the requested messages no longer exist. Does this occur because I use the ...
by PdFUser5000
Wed Sep 09, 2020 7:55 am
Forum: Flows
Topic: variable builder random characters
Replies: 2
Views: 1126

variable builder random characters

My templates always end with two characters which are not available in metadata. They differ from order to order.

Is it possible to insert this into the variable builder? eg [Job.NameProper]--[two random characters]
by PdFUser5000
Tue Aug 25, 2020 8:41 am
Forum: Applications
Topic: Checkpoint via email error
Replies: 0
Views: 1430

Checkpoint via email error

Hi when receiving messages, on some jobs i get the following warning: Failed to receive message; error message: x0035 NO The specified message set is invalid. After a second or third email check the job goes through without this error. Some jobs don't output this error at all. Why? I am using the sa...
by PdFUser5000
Mon Aug 17, 2020 11:28 am
Forum: Flows
Topic: Flow definition is corrupt: several flow objects have the same internal ID
Replies: 0
Views: 1402

Flow definition is corrupt: several flow objects have the same internal ID

After making some modifications to my flow, i get the following error through the console: Flow definition is corrupt: several flow objects have the same internal ID

What does it mean and how can i find the ID-s to fix the problem?
by PdFUser5000
Mon Aug 17, 2020 7:57 am
Forum: Appstore
Topic: Beta testers requested for new "Flow Links" app
Replies: 14
Views: 5363

Re: Beta testers requested for new "Flow Links" app

Sample flows not available in appstore, although the documentation says they are available?
by PdFUser5000
Fri Aug 14, 2020 7:49 am
Forum: Applications
Topic: Portals give warnings
Replies: 2
Views: 1345

Portals give warnings

Everytime something moves through portals, console logs the following warnings. The amount of files moved does not affect the amount of warnings. Is this something i should be worried about? The portals work as intented. Or should i consider using an alternative app for this? Portals scope is Program.
by PdFUser5000
Mon Aug 10, 2020 11:31 am
Forum: LEGACY scripting
Topic: Illustrator script error sometimes not defined
Replies: 3
Views: 1466

Re: Illustrator script error sometimes not defined

Granted, the documentation does not specify it specifically, but it seems logical that the content of $error has to be a string: $error = "error"; and on the next line it has to be $doc instead of doc. $status = "error"; should be correct then? not $error = "error"; ,based on your last sentence.
by PdFUser5000
Mon Aug 10, 2020 7:37 am
Forum: LEGACY scripting
Topic: Illustrator script error sometimes not defined
Replies: 3
Views: 1466

Illustrator script error sometimes not defined

This is my error reporting code. Sometimes i get the error: Adobe Illustrator: Error 2: error is undefined. Line: 270 -> $status = error; I can get pass this by temporary adding var error into catch (e). But after awhile when i delete it the script starts working correctly again. Why is this happeni...
by PdFUser5000
Fri Aug 07, 2020 11:22 am
Forum: PitStop Server
Topic: Preflight to check if specific spot color exists
Replies: 2
Views: 2865

Re: Preflight to check if specific spot color exists

Is it possible to do this with 2 groups of spot colors, so that i could sort them by used colors later in switch?
by PdFUser5000
Thu Jul 02, 2020 10:04 am
Forum: Switch
Topic: Stopping flows/Force Quit not working
Replies: 2
Views: 1142

Re: Stopping flows/Force Quit not working

Firstly: when you are using the Adobe configurators in Switch on Windows, then Switch will only be able to connect to them when Switch starts them. When you start the Adobe applications manually, then Switch won't be able to connect and the task will keep on running endlessly. When the issue happen...