Search found 56 matches

by Sunnyland
Fri Aug 21, 2020 8:03 am
Forum: Node.js scripting
Topic: NodeScriptExecutor.js.map
Replies: 10
Views: 15623

NodeScriptExecutor.js.map

Is anyone else getting this error? ENOENT: no such file or directory, open 'c:\Program Files\Enfocus\Enfocus Switch\ScriptExecutor\NodeScriptExecutor.js.map' From what I can tell NodeScriptExecutor.js is in the folder but I do not have a NodeScriptExecutor.js.map file. Is this something I need to add?
by Sunnyland
Fri Aug 21, 2020 7:16 am
Forum: Node.js scripting
Topic: SOAP Request
Replies: 1
Views: 3555

SOAP Request

Have spent the last 6 hours trying to make a SOAP request from switch and NODEJS I have tried to use node soap but I could get it working correctly, so then I have tried to use http it is a simple request var args = "<?xml version='1.0' encoding='utf-8'?>" + "<soap12:Envelope xmlns:xs...
by Sunnyland
Fri Aug 21, 2020 7:11 am
Forum: Node.js scripting
Topic: Node JS debug
Replies: 2
Views: 3728

Re: Node JS debug

Cheers mkayyy, that is working perfectly.

Just spent all day trying to do a SOAP request, another question for the forum I think. :D
by Sunnyland
Fri Aug 21, 2020 7:09 am
Forum: Node.js scripting
Topic: NodeJS debugging
Replies: 11
Views: 11148

Re: NodeJS debugging

Untitled2.png
Untitled2.png (4.85 KiB) Viewed 11125 times
by Sunnyland
Fri Aug 21, 2020 7:07 am
Forum: Node.js scripting
Topic: NodeJS debugging
Replies: 11
Views: 11148

Re: NodeJS debugging

Make sure you have the document / file in the folder proceeding the script before starting in debug mode.
and start the debugger in attach.
by Sunnyland
Fri Aug 21, 2020 7:07 am
Forum: Node.js scripting
Topic: NodeJS debugging
Replies: 11
Views: 11148

Re: NodeJS debugging

Make sure you have the document / file in the folder proceeding the script before starting in debug mode.
and start the debugger in attach.
by Sunnyland
Fri Aug 21, 2020 6:57 am
Forum: Node.js scripting
Topic: NodeJS debugging
Replies: 11
Views: 11148

Re: NodeJS debugging

Make sure you have the document/file in the folder proceeding the script befofe you start debugging
Untitled.png
Untitled.png (12.46 KiB) Viewed 11125 times
by Sunnyland
Wed Aug 19, 2020 7:41 am
Forum: Node.js scripting
Topic: Node JS debug
Replies: 2
Views: 3728

Node JS debug

Ok so really wet behind the ears with Nodejs but thought I would change a couple of my scripts from javascript to NodeJs, so far I have just made a basic script that I copied from the Enfocus scripting manual and run it. Idea is just to get a feel for the debug system first and then work on the rest...
by Sunnyland
Wed Apr 01, 2020 11:18 pm
Forum: Flows
Topic: Sorting and duplicating pages in PDF
Replies: 4
Views: 7650

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: 7041

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: 7041

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: 7041

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: 6974

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 ex...
by Sunnyland
Tue Mar 31, 2020 6:35 am
Forum: LEGACY scripting
Topic: Move files from Checkpoint
Replies: 6
Views: 7041

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: 3620

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 ...