Search found 56 matches
- Sun Jan 17, 2021 10:42 pm
- Forum: Node.js scripting
- Topic: api call from flow
- Replies: 6
- Views: 8117
Re: api call from flow
Hi Foxplace, This is the code I used to send the SOAP request and to return as a promise. const options = { hostname: nURL.hostname, port: 443, path: path, method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Content-Length': data.length, 'Host' : nURL.hostname } } return...
- Mon Nov 30, 2020 11:01 pm
- Forum: Applications
- Topic: HP SmartStream VDP
- Replies: 15
- Views: 325248
Re: HP SmartStream VDP
Sorry to reopen an old post but I am trying to use the HP VDP with indesign 2019. I have installed The Adobe Extension toolkit for CC but I get an error in the log file stating that it only works with indesign version 5 or later. I just have one job that comes in every 3 months, not a big deal if I ...
- Fri Oct 02, 2020 9:17 am
- Forum: Node.js scripting
- Topic: api call from flow
- Replies: 6
- Views: 8117
Re: api call from flow
Thanks Freddy, Yep big learning curve with NodeJS, using callback or Promises. I really had to drill down on what the differences are. I have change the above code and now it uses promises and not callbacks and believe it or not the code is much simpler and now works. Will look forward to the webinar.
- Wed Sep 16, 2020 8:55 am
- Forum: Node.js scripting
- Topic: Writing a Dataset JSON
- Replies: 2
- Views: 3762
Re: Writing a Dataset JSON
Thanks for the info,
I also realized that I have set the datasetmodel set to JDF rather than JSON which didn't help my cause. I will convert to XML just try to take the easy way out.
I also realized that I have set the datasetmodel set to JDF rather than JSON which didn't help my cause. I will convert to XML just try to take the easy way out.
- Wed Sep 16, 2020 8:31 am
- Forum: Node.js scripting
- Topic: Writing a Dataset JSON
- Replies: 2
- Views: 3762
Writing a Dataset JSON
So I want to write a JSON dataset. Using await job.createDataset("iqdata",JSONpath,DatasetModel.JDF); and writing this JSON Data { "job": [{ "impositionwidth": "210.0000", "impositionheight": "297.0000", "sectionnumber": 0, "...
- Tue Sep 01, 2020 10:14 am
- Forum: Node.js scripting
- Topic: api call from flow
- Replies: 6
- Views: 8117
api call from flow
I am currently trying to make an api call from a flow. I already have a script that works using Javascript but for this I have decided to put my poor NodeJs skills to the test and see how I go. I have failed so far, it appears that the http code is just ignored by switch. I do not get success logs o...
- Mon Aug 31, 2020 11:29 pm
- Forum: Node.js scripting
- Topic: NodeScriptExecutor.js.map
- Replies: 10
- Views: 15807
Re: NodeScriptExecutor.js.map
Thanks for that. I have been ignoring the message, it’s good to know that it isn’t affecting anything
- Mon Aug 31, 2020 10:41 am
- Forum: Preflighting
- Topic: Select Dieline and Convert to spot
- Replies: 6
- Views: 10274
Re: Select Dieline and Convert to spot
Ok so there is no button next to user swatch. I may need to uninstall and reinstall pitstop server. All I get is a black square
- Mon Aug 31, 2020 9:43 am
- Forum: Preflighting
- Topic: Select Dieline and Convert to spot
- Replies: 6
- Views: 10274
Re: Select Dieline and Convert to spot
I did try to use remap color but the only option was user swatch and I couldn't figure out where to set the user swatch color
- Mon Aug 31, 2020 2:08 am
- Forum: Preflighting
- Topic: Select Dieline and Convert to spot
- Replies: 6
- Views: 10274
Select Dieline and Convert to spot
I am trying to select a dieline by line thickness and colour and convert to a spot color called "Knife". We have artwork come from several different sources. Some places will use 100% cyan, others will use 100% Magenta and then some will call the knife line Diecut the later is easy to sele...
- Thu Aug 27, 2020 10:28 am
- Forum: Node.js scripting
- Topic: Set PrivateData in a Function
- Replies: 1
- Views: 4550
Set PrivateData in a Function
So I know how to set private data from within theJobArrived function but can I set private data in another function? I have tried to pass the job variable to the secondary function but this doesn't seem to work. Is it possible, if so what do I need to do?
- Mon Aug 24, 2020 9:27 am
- Forum: Node.js scripting
- Topic: NodeScriptExecutor.js.map
- Replies: 10
- Views: 15807
Re: NodeScriptExecutor.js.map
All good. The whole lot is a learning curve for me. This is the launch.json file. { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "...
- Mon Aug 24, 2020 12:40 am
- Forum: Node.js scripting
- Topic: NodeScriptExecutor.js.map
- Replies: 10
- Views: 15807
Re: NodeScriptExecutor.js.map
Sure thing, Please see the contents of my package.json file { "name": "nodejs-job-arrived2", "version": "0.0.0", "description": "NodejsJobArrived2", "main": "main.js", "author": { "name": ""...
- Mon Aug 24, 2020 12:40 am
- Forum: Node.js scripting
- Topic: NodeScriptExecutor.js.map
- Replies: 10
- Views: 15807
Re: NodeScriptExecutor.js.map
Sure thing, Please see the contents of my package.json file { "name": "nodejs-job-arrived2", "version": "0.0.0", "description": "NodejsJobArrived2", "main": "main.js", "author": { "name": ""...
- Sat Aug 22, 2020 3:10 am
- Forum: Node.js scripting
- Topic: NodeScriptExecutor.js.map
- Replies: 10
- Views: 15807
Re: NodeScriptExecutor.js.map
No I cannot see anything that refeerences Enfocus Swith in the package.json file at all the complete error is as follows Could not read source map for file:///C:/Program%20Files/Enfocus/Enfocus%20Switch/ScriptExecutor/NodeScriptExecutor.js: ENOENT: no such file or directory, open 'c:\Program Files\E...