Search found 54 matches
- Wed Apr 11, 2018 9:20 pm
- Forum: LEGACY scripting
- Topic: Syntax Error
- Replies: 5
- Views: 10796
Syntax Error
I'm trying to teach myself Javascript in order to better use the Scripting module. I have a question about a syntax error in my first script. I'd like to set the value of a property in a flow element with a simple script. I came up with the following: var fileStat = new FileStatistics(job.getPath())...
- Tue Mar 20, 2018 8:38 pm
- Forum: LEGACY scripting
- Topic: Access Stats.* in script
- Replies: 6
- Views: 8809
Re: Access Stats.* in script
I'll check it out, thanks.
- Fri Mar 16, 2018 8:53 pm
- Forum: LEGACY scripting
- Topic: Access Stats.* in script
- Replies: 6
- Views: 8809
Re: Access Stats.* in script
Thanks AllSystems. I will try that one out, also!
- Wed Mar 14, 2018 9:20 pm
- Forum: LEGACY scripting
- Topic: Access Stats.* in script
- Replies: 6
- Views: 8809
Re: Access Stats.* in script
Thanks, that was helpful.
- Wed Mar 14, 2018 4:37 pm
- Forum: LEGACY scripting
- Topic: Access Stats.* in script
- Replies: 6
- Views: 8809
Access Stats.* in script
I'm trying to write my first script, which checks whether the NumberOfPages stat is divisible by four (4). I can't figure out how to get access to the stats of the file. Does anyone have a sample script I could learn from that does the check? I was going tol use modulo and return a Boolean result. T...
- Tue Oct 17, 2017 3:48 pm
- Forum: Flows
- Topic: XPATH formatting question
- Replies: 9
- Views: 139238
Re: XPATH formatting question
Thanks for the sample code. I'll play with it and see what I can get to work.
Thanks again!
Thanks again!
- Mon Oct 16, 2017 8:03 pm
- Forum: Flows
- Topic: XPATH formatting question
- Replies: 9
- Views: 139238
Re: XPATH formatting question
That's the same realization I was coming to as well. We have the scripting module as well, I just have to get more confident in script writing.cstevens wrote:Seeing the full XML would help, but I'm not sure you can do what you're trying to do without scripting.
- Mon Oct 16, 2017 2:37 pm
- Forum: Flows
- Topic: XPATH formatting question
- Replies: 9
- Views: 139238
Re: XPATH formatting question
I'm using a global search of the XML, since I am not sure how many warnings will come up. I found that trying to map the specific paths gave unreliable results, since the data could change and then the paths didn't match anymore. According to w3schools XPATH tutorial, the syntax is good. "// Se...
- Fri Oct 13, 2017 7:38 pm
- Forum: Flows
- Topic: XPATH formatting question
- Replies: 9
- Views: 139238
XPATH formatting question
So, I have an email that is sent after a preflight that has the report attached and is sent to specific people. I wanted to include some of the preflight data in the body of the email. I have it mostly like I want it, but I'm stuck on a formatting issue. I want to return all warnings, which I grab w...
- Thu Aug 10, 2017 5:51 pm
- Forum: Flows
- Topic: SFTP broken since Switch 2017?
- Replies: 3
- Views: 5099
Re: SFTP broken since Switch 2017?
I just tested the SFTP connector on my system (Windows 2016 Server) and I am having the same issue. Filezilla connects correctly, but the SFTP connector times out every time.
Captain, did you ever get a response from Tech support?
Captain, did you ever get a response from Tech support?
- Thu Aug 10, 2017 4:14 pm
- Forum: LEGACY scripting
- Topic: Switch Javascript and Advanced Concepts class @ Print 17
- Replies: 9
- Views: 13675
Re: Switch Javascript and Advanced Concepts class @ Print 17
For those of us signed up and that will be on-site, where is the classroom in relation to the show floor? Will there be signs with directions on the day of class?
- Tue Jul 18, 2017 9:35 pm
- Forum: LEGACY scripting
- Topic: Switch Javascript and Advanced Concepts class @ Print 17
- Replies: 9
- Views: 13675
Re: Switch Javascript and Advanced Concepts class @ Print 17
Great, thanks!
- Mon Jul 10, 2017 3:40 pm
- Forum: LEGACY scripting
- Topic: Switch Javascript and Advanced Concepts class @ Print 17
- Replies: 9
- Views: 13675
Re: Switch Javascript and Advanced Concepts class @ Print 17
I'm in. Request sent to my boss. Please let us know the selected day as soon as possible. I won't be at Print 17 for the entire four days and need to make sure my travel doesn't impact class attendance.
- Wed Jun 28, 2017 9:13 pm
- Forum: Flows
- Topic: A way to check Tiff LZW compression
- Replies: 1
- Views: 2940
Re: A way to check Tiff LZW compression
You're going to need Pitstop Server. You can create an action to "check image compression". Deselect all the other choices, set it to log as error. Then, set the Pitstop Server configurator to pass out the files that contain the selected compression on the Error path, all others to the Suc...
- Wed Apr 20, 2016 8:19 pm
- Forum: Preflighting
- Topic: Compare spot color in file with data from XML
- Replies: 1
- Views: 5276
Compare spot color in file with data from XML
RE: Pitstop Server configurator Is there any way to compare the PMS colors contained in a submitted file against data supplied in an XML about the file? I would have thought it could be done with Smart Preflight, but I don't see a way to check the variable (submitted XML data) against the colors in ...