Search found 18 matches

by Sunnyland
Wed Apr 01, 2020 11:18 pm
Forum: Flows
Topic: Sorting and duplicating pages in PDF
Replies: 2
Views: 748

Sorting and duplicating pages in PDF

So just wondering if anyone sorts multiple page PDF's where there is one common back and multiple fronts, for example we have a lot of designers that will send us double sided business cards but only ever give us the first or last page as the back of the card and then give us multiple fronts. I woul...
by Sunnyland
Wed Apr 01, 2020 8:43 am
Forum: LEGACY scripting
Topic: Move files from Checkpoint
Replies: 6
Views: 1139

Re: Move files from Checkpoint

Ok got it. Was my code that was blocking me. I'm all now to the RSA login stuff so now just got to work that out. Thanks for your suggestions.
by Sunnyland
Wed Apr 01, 2020 8:03 am
Forum: LEGACY scripting
Topic: Move files from Checkpoint
Replies: 6
Views: 1139

Re: Move files from Checkpoint

Thanks I did read that after I sent the last post but now I have the issue that the the server is returning a status of WaitingforActivation id 14. So I am unsure if something in our firewall is blocking the api. or I need to do something to activate it. Using the manual and sending a request via 12...
by Sunnyland
Tue Mar 31, 2020 11:05 pm
Forum: LEGACY scripting
Topic: Move files from Checkpoint
Replies: 6
Views: 1139

Re: Move files from Checkpoint

Thanks Padawan,
Looks like a great option but I don't have Web Services licence so unfortunately not an option for me.
by Sunnyland
Tue Mar 31, 2020 7:56 am
Forum: LEGACY scripting
Topic: inject job
Replies: 5
Views: 1297

Re: inject job

Can you do it with a loop? If I have understood what you are trying to do correctly. This could work for you. var dataset = job.getDataset("Xml"); var xml = new Document(dataset.getPath()); var doc = xml.evalToNodes("/Documents/Document"); for(var x=1; x<doc.length+1;x++){ var externalID = XMLData.e...
by Sunnyland
Tue Mar 31, 2020 6:35 am
Forum: LEGACY scripting
Topic: Move files from Checkpoint
Replies: 6
Views: 1139

Move files from Checkpoint

Hi All, I have created a simple web proof client but I want to be able to implement proof approval in two ways, manual through switch client and via the web with client interaction. I currently deliver all the information including the files to a custom web proofing page and also deliver the high re...
by Sunnyland
Wed Oct 02, 2019 4:24 am
Forum: LEGACY scripting
Topic: Activate FTP download from email
Replies: 1
Views: 945

Activate FTP download from email

I have a service that poles a FTP server to download some records. The files are only loaded onto the server once a day and when they are complete I receive an email to let me know they are ready to download. At the moment I just pole the server for a set number of hours each day but I would prefer ...
by Sunnyland
Wed Oct 02, 2019 4:19 am
Forum: LEGACY scripting
Topic: Query an API for XML Job Ticket
Replies: 4
Views: 3632

Re: Query an API for XML Job Ticket

Hi All, Thanks for the responses. After a little research I found some code that did the trick for me. Thought I would share in case it helps someone else var theHTTP = new HTTP( HTTP.NoSSL ); theHTTP.url = "URL"; // This script file is also in the repo. Needs to go on an http server job.log( 1, "Ur...
by Sunnyland
Sat Jul 13, 2019 2:38 am
Forum: LEGACY scripting
Topic: FTP Receive Help
Replies: 2
Views: 1283

Re: FTP Receive Help

All good figured this out. My issue was that I wasn't returning a boolean value - returning job.getName() == path; did the trick.
by Sunnyland
Sat Jul 13, 2019 2:38 am
Forum: LEGACY scripting
Topic: FTP Receive Help
Replies: 2
Views: 1283

Re: FTP Receive Help

All good figured this out. My issue was that I wasn't returning a boolean value - returning job.getName() == path; did the trick.
by Sunnyland
Wed Jul 10, 2019 9:39 am
Forum: LEGACY scripting
Topic: Save an Array in Private data
Replies: 2
Views: 1510

Re: Save an Array in Private data

Thanks heaps. Worked really well.
by Sunnyland
Wed Jul 10, 2019 9:34 am
Forum: LEGACY scripting
Topic: FTP Receive Help
Replies: 2
Views: 1283

FTP Receive Help

Hi All, Only been working with switch for a few months but I have an issue trying to pick all files in a named folder. The folders are dates, files are loaded in to the folders each day and the name of the folder is set to the corresponding day - ie 20190710. I have tested my pickup method by adding...
by Sunnyland
Thu Jun 20, 2019 1:43 am
Forum: LEGACY scripting
Topic: Download from SFTP and Delete files
Replies: 2
Views: 1524

Re: Download from SFTP and Delete files

Thanks for that I am just in the planning stage so I have not looked at the element. Really as simple as selecting "Leave originals on server"
by Sunnyland
Wed Jun 19, 2019 1:28 pm
Forum: LEGACY scripting
Topic: Download from SFTP and Delete files
Replies: 2
Views: 1524

Download from SFTP and Delete files

Hi All,
I have a new project where I need to do a daily download from an SFTP server. Once all files are downloaded in to switch, I would like to delete all the files from the SFTP server. Is this possible?
by Sunnyland
Wed May 29, 2019 9:26 am
Forum: LEGACY scripting
Topic: Save an Array in Private data
Replies: 2
Views: 1510

Save an Array in Private data

Is it possible to save an Array in private data? If yes what would be the correct syntax? I am just think about retrieving the Array from private data and back into an Array. Maybe just use split?