Search found 8 matches

by stdougal
Tue Sep 29, 2020 4:50 pm
Forum: LEGACY scripting
Topic: File stuck in Folder before script
Replies: 4
Views: 4882

Re: File stuck in Folder before script

That's Great

Thank you for your help
by stdougal
Tue Sep 29, 2020 11:53 am
Forum: LEGACY scripting
Topic: File stuck in Folder before script
Replies: 4
Views: 4882

Re: File stuck in Folder before script

Thank you for the quick reply

Do I need that if I don't want the file to continue on i.e. If I just want to trigger this script and have the file delete?

Is it possible to trigger a script without a PDF passing through it?
by stdougal
Tue Sep 29, 2020 11:26 am
Forum: LEGACY scripting
Topic: File stuck in Folder before script
Replies: 4
Views: 4882

File stuck in Folder before script

Hi, We made a script to update the current status of a job as the file passes through the various stages of a flow in Switch. The script is working as expected and is updating all the various fields in our system. However we have an issue: Currently the file(s) are stuck in the connector folder befo...
by stdougal
Mon Jul 29, 2019 9:02 am
Forum: LEGACY scripting
Topic: Convert Date Format - Missing Leading Zero's
Replies: 2
Views: 4699

Re: Convert Date Format - Missing Leading Zero's

Hi Padawan

Thank you very much - Yes that worked.

Regards
by stdougal
Sun Jul 28, 2019 9:31 pm
Forum: LEGACY scripting
Topic: Convert Date Format - Missing Leading Zero's
Replies: 2
Views: 4699

Convert Date Format - Missing Leading Zero's

Hi, I’m trying to convert a date from an XML file. The current format is (dd/MM/yyyy) and I want to change the format to (yyyy/MM/dd) I have made a script to do this. var xmlDoc = new Document(job.getPath()); var orgdate = xmlDoc.evalToString("//root/row/Date"); // orgdate result is = 22/0...
by stdougal
Tue Mar 22, 2016 11:31 am
Forum: Preflighting
Topic: Pitstop Checkpoint Problem
Replies: 3
Views: 7702

Re: Pitstop Checkpoint Problem

Just did another check and I realised that in the Switch Client I should be opening "more actions" to view the report!

Thanks for your help
by stdougal
Mon Mar 21, 2016 10:59 pm
Forum: Preflighting
Topic: Pitstop Checkpoint Problem
Replies: 3
Views: 7702

Re: Pitstop Checkpoint Problem

Thank you Bens for your reply I tried your suggestion however when the artwork reaches the switch client checkpoint there is no pitstop report to view! The only way I can get the pitstop report to display at the checkpoint is if the connection is set to "log". Also the dataset on both are ...
by stdougal
Sun Mar 20, 2016 12:14 pm
Forum: Preflighting
Topic: Pitstop Checkpoint Problem
Replies: 3
Views: 7702

Pitstop Checkpoint Problem

Hi I am a new user of Switch and I have encountered a slight problem. We have a workflow with a pitstop preflight check with 2 connection lines leaving it. It checks the artwork file and if it is successful then the artwork continues into the "good" folder and continues on in the flow. How...