Search found 78 matches

by cwswitch
Tue Jan 08, 2019 11:02 pm
Forum: LEGACY scripting
Topic: Convert a script to use Traffic Light output
Replies: 6
Views: 8533

Re: Convert a script to use Traffic Light output

Awesome thanks, you're very helpful
by cwswitch
Tue Jan 08, 2019 1:51 am
Forum: LEGACY scripting
Topic: Convert a script to use Traffic Light output
Replies: 6
Views: 8533

Re: Convert a script to use Traffic Light output

Thanks Gabriel your script appears so clean and readable, even though it is still way beyond me I can at least see how you handle your errors. I have edited the script I had as below and it seems to work in a test. I'm very scared to put it into production though as I'm so inept at scripting. OLD - ...
by cwswitch
Mon Jan 07, 2019 12:19 am
Forum: LEGACY scripting
Topic: Convert a script to use Traffic Light output
Replies: 6
Views: 8533

Re: Convert a script to use Traffic Light output

Ah brilliant, thanks.

So where the script is currently producing its error,

Code: Select all

throw new Error...;
Can I just add below

Code: Select all

sendToData(3);
by cwswitch
Sun Jan 06, 2019 11:27 pm
Forum: LEGACY scripting
Topic: Convert a script to use Traffic Light output
Replies: 6
Views: 8533

Convert a script to use Traffic Light output

This is the area of Switch I have most to learn about. I have a script made by a previous person and it can error. I think that having a traffic light output connector will help me move the problem jobs away from the good ones. The script does throw an error (something like an undefined variable or ...
by cwswitch
Thu Jan 03, 2019 10:39 pm
Forum: Preflighting
Topic: How do I preflight for an item with zero fill and is knockout (but the designer thinks has a fill)
Replies: 3
Views: 6719

Re: How do I preflight for an item with zero fill and is knockout (but the designer thinks has a fill)

I have now fixed this. The cause was that prepress run a Quite Hot imposing action followed by a Pitstop action. There is nothing wrong with these tools normally, but these two actions when run one after the other break transparencies. I have replaced the Quite Hot action with a Pitstop one that ach...
by cwswitch
Thu Jan 03, 2019 10:31 pm
Forum: Imposition
Topic: Quite hot imposing
Replies: 1
Views: 8647

Re: Quite hot imposing

If you write to them, they will make anything you need.

Are you using Quite Hot in Switch?
by cwswitch
Wed Jan 02, 2019 11:24 pm
Forum: Preflighting
Topic: How do I preflight for an item with zero fill and is knockout (but the designer thinks has a fill)
Replies: 3
Views: 6719

Re: How do I preflight for an item with zero fill and is knockout (but the designer thinks has a fill)

Thanks for that. I have investigated further and found 2 steps in prepress that are causing the error. I'm not sure now how the steps are causing this though At the same link https://drive.google.com/drive/folders/1nSlKOBW9JBJjv3c_2NYAFdfIp2wT7Zeg?usp=sharing I now have "A LF" and "B ...
by cwswitch
Wed Jan 02, 2019 3:31 am
Forum: Preflighting
Topic: How do I preflight for an item with zero fill and is knockout (but the designer thinks has a fill)
Replies: 3
Views: 6719

How do I preflight for an item with zero fill and is knockout (but the designer thinks has a fill)

Examples here https://drive.google.com/drive/folders/1nSlKOBW9JBJjv3c_2NYAFdfIp2wT7Zeg?usp=sharing Though they appear to have the same settings, File 'A' ripped OK and File 'B' did not. The results when ripped and printed was solid white circles as the RIP is (correctly I believe) knocking out benea...
by cwswitch
Tue Sep 18, 2018 11:11 pm
Forum: Applications
Topic: Upgrading from Switch 13 r1 to 2018 - I'm worried - any tips?
Replies: 4
Views: 7056

Re: Upgrading from Switch 13 r1 to 2018 - I'm worried - any tips?

Thanks :geek:

Working out which is harder, fixing Pistop or writing my CV...
by cwswitch
Mon Sep 17, 2018 11:06 pm
Forum: Applications
Topic: Upgrading from Switch 13 r1 to 2018 - I'm worried - any tips?
Replies: 4
Views: 7056

Re: Upgrading from Switch 13 r1 to 2018 - I'm worried - any tips?

Thanks for that. Very useful. I'd hate to be in that kind of mess during production time.

Should I aim to reference all actions and preflights from the "Select Many from Library" before upgrading Pitstop?
by cwswitch
Mon Sep 17, 2018 3:48 am
Forum: Applications
Topic: Upgrading from Switch 13 r1 to 2018 - I'm worried - any tips?
Replies: 4
Views: 7056

Upgrading from Switch 13 r1 to 2018 - I'm worried - any tips?

This will be my first upgrade. Clearly we are a little out of date, being on 13 r1, I am now looking to upgrade to 2018. I'm looking for any tips - or answers to the below if you have them - thanks. Should I upgrade to 13 r2, or jump straight to 2018? How long will an upgrade take (roughly)? I'm thi...
by cwswitch
Tue Sep 11, 2018 10:59 pm
Forum: LEGACY scripting
Topic: Info from unknown XML
Replies: 3
Views: 8305

Re: Info from unknown XML

dkelly, cstevens,

many thanks both for the help! I'll try out these ideas
by cwswitch
Mon Sep 10, 2018 3:50 am
Forum: LEGACY scripting
Topic: Info from unknown XML
Replies: 3
Views: 8305

Info from unknown XML

Hi, I'm trying to solve an issue where I receive XML similar to the below. It could have any number of sections and I'm looking for a number for how many sections there are. This example has 8. Along with that, I'm looking for the Quantity value for each of the sections. <Kinds> <Kind> <Key>27747</K...
by cwswitch
Wed Aug 22, 2018 3:14 am
Forum: LEGACY scripting
Topic: Do something useful when script errors
Replies: 1
Views: 3513

Do something useful when script errors

I have scripts that are designed to throw errors

Code: Select all

				if (result !== "Success") {
					throw new Error("Message: " + result);	
				}	
				return result;
				
	}
Can I catch this error in Switch and send the job off elsewhere instead of it just failing at this point?
by cwswitch
Fri Aug 10, 2018 3:42 am
Forum: Flows
Topic: Assemble - Numbers In Filename
Replies: 2
Views: 3350

Re: Assemble - Numbers In Filename

I've only ever had luck by using a Job Dismantler before an Assemble Job

Another Switch mystery - is it maybe looking for 01 and 02?