Search found 78 matches
- Tue Nov 28, 2017 10:55 pm
- Forum: LEGACY scripting
- Topic: Script fails with Failed to make directory
- Replies: 3
- Views: 5697
Script fails with Failed to make directory
Hi, we're not sure where this error lies, but seems to be a write permission. We have tried running with our network administrators account and with our switch account (which is already an administrator) In all cases we receive the error 29/11/2017 8:45:24 AM,Error,SwitchScript1,test write,Script el...
- Tue Nov 14, 2017 2:15 am
- Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
- Topic: Outdated links to Crossroads send me in circles
- Replies: 4
- Views: 13899
Re: Outdated links to Crossroads send me in circles
Switch 13 has a link to Crossroads in the Help menuenfocus wrote:Can you tell me in which versions of Switch you are seeing links still pointing to Crossroads-world.com?
Thanks for the other info
- Wed Nov 08, 2017 1:05 am
- Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
- Topic: Outdated links to Crossroads send me in circles
- Replies: 4
- Views: 13899
Outdated links to Crossroads send me in circles
I'm quite new to Switch but feel I'd be far further ahead with good online help. Instead this is what happens. Search online result which links to corssroads which links to these forums I reach this loop to nowhere many times a day. These outdated links are all over the web, in the documentation and...
- Wed Nov 08, 2017 12:19 am
- Forum: LEGACY scripting
- Topic: Streamlining scripts - point to common information
- Replies: 7
- Views: 10572
Re: Streamlining scripts - point to common information
I got a copy of Portals a little while after finding Private Data Write and have used it at a very entry level so know some of the benefits. I just learned about it a bit late to add it to my past flows that were already built with conventional methods. I read through the slideshow on your link and ...
- Tue Nov 07, 2017 9:55 pm
- Forum: LEGACY scripting
- Topic: Streamlining scripts - point to common information
- Replies: 7
- Views: 10572
Re: Streamlining scripts - point to common information
I love your Private data Write and use it very frequently. These flows do not talk to one another, the MIS sends to whichever it needs and the flow always returns to the MIS, but I do think you're encouraging me in the right direction - at least towards something I understand! I think then I'll need...
- Tue Nov 07, 2017 3:56 am
- Forum: LEGACY scripting
- Topic: How include external JavaScript into Switch-script (JavaScript)?
- Replies: 1
- Views: 3919
- Mon Nov 06, 2017 11:54 pm
- Forum: LEGACY scripting
- Topic: Streamlining scripts - point to common information
- Replies: 7
- Views: 10572
Re: Streamlining scripts - point to common information
I'm wondering if I can use standard JavaScript to import from another file. Problem I have is that I'm not really confident with the scripts I have here to edit them and try this just yet. Has anyone gone this way? //common.js var foo = a var bar = b //all other scripts require('common.js'); //use f...
- Fri Nov 03, 2017 4:23 am
- Forum: LEGACY scripting
- Topic: Streamlining scripts - point to common information
- Replies: 7
- Views: 10572
Re: Streamlining scripts - point to common information
Thanks for that. I had come across that same page in the PDF manual but am still yet to form a working example to build from.
- Thu Nov 02, 2017 11:01 pm
- Forum: LEGACY scripting
- Topic: Streamlining scripts - point to common information
- Replies: 7
- Views: 10572
Streamlining scripts - point to common information
I'm about to dip into scripting - right into the deep end. I've inherited 30 or so scripts attached to 6 or so flows and there is a lot of repeated information, such that if one thing changed, I'd have to edit all of these occurrences. Can I instead alter these scripts to point to a variable located...
- Wed Oct 04, 2017 2:32 am
- Forum: LEGACY scripting
- Topic: Path Length - vector or compound path
- Replies: 4
- Views: 5877
Re: Path Length - vector or compound path
I got a great solution by following this path, thanks! Bit of work off the back of this idea and I now get the job to output with the number of nodes in its file name. If you have PitStop Server, then you can use an Action List to check if the amount of nodes in a page is more then a certain thresho...
- Tue Oct 03, 2017 3:49 am
- Forum: LEGACY scripting
- Topic: Path Length - vector or compound path
- Replies: 4
- Views: 5877
Re: Path Length - vector or compound path
Brilliant suggestion with Pitstop!
If I can get that working it's a very good step.
Let's see...
If I can get that working it's a very good step.
Let's see...
- Mon Sep 25, 2017 1:57 am
- Forum: LEGACY scripting
- Topic: Path Length - vector or compound path
- Replies: 4
- Views: 5877
Path Length - vector or compound path
Illustrator may not be the solution, but I have found that you can get the length of a path Window Menu > Document Info > (window opens) > (Pallet menu of window that just opened) > Objects and I have found a method via a script https://gist.github.com/nanoSpawn/8e8fca48d0fb85dd961e/ Problem I'm try...
- Fri Sep 01, 2017 4:33 am
- Forum: LEGACY scripting
- Topic: Clean up filenames from XML
- Replies: 4
- Views: 9486
Clean up filenames from XML
An XML is sent to Switch, and that is the first point that I have any control over what is sent. There's no ability (or interest) upstream to help me here. As the information is in the XML, and XML can't have certain characters in it, then I have trouble injecting jobs. Example filename in the XML f...
- Wed Aug 16, 2017 5:49 am
- Forum: Flows
- Topic: How do you handle Illegal Characters?
- Replies: 6
- Views: 7895
Re: How do you handle Illegal Characters?
Thanks, Very good point that Switch can't work on files it can't find.. I feel silly for even considering that! The files are on a Windows Server which I access over the network. I suppose I was wondering whether I could manipulate the XML or pull the path into Private Data (as Gabriel seemed to be ...
- Fri Aug 11, 2017 4:41 am
- Forum: Flows
- Topic: How do you handle Illegal Characters?
- Replies: 6
- Views: 7895
Re: How do you handle Illegal Characters?
Thanks Your forum posts and scripts are very clear and useful. I could not get by without your private data script! I use that all the time for sorting jobs. I'm a bit unclear how I use this for injecting a job with an "&" in the filename Example error I'm trying to work around Error,I...