Copy link to clipboard
Copied
Hello again, friends.
I've been writing a script that takes team/roster information from a sales order and inputs the information into the artwork i've already created. I've got the script working just fine as far as accessing the file from our local network, but my web team has informed me that it would be an exorbitant amount of work for them to access the information from our online order tracking service (netsuite) and write a file to our network.
So the head of the department suggested that i access the roster information straight from netsuite. I've looked everywhere and it does not appear that ESTK has the ability to do this.. So I'm turning to the idea of running a shell script, but i need to do so in a way that works with Mac and PC (because i'm not 100% sure where these scripts will be executed). So that throws out AppleScript and VBScript. So my next thought was to use Python.
can i use file.execute() inside of ESTK to run a python script? If so, should that work cross platform? The entirety of my need is to access a particular URL that contains plaintext JSON and return the result so that I can parse it into something useful.
Any thoughts? Is Python a bad idea? Is there a better solution?
Copy link to clipboard
Copied
Why don't you use CEP Extension with node.js?
I often use CEP extension with some NPM packages.
You can reference: https://github.com/Adobe-CEP/CEP-Resources
Copy link to clipboard
Copied
Thanks Ten. I'll look into it. Bascially all of my experience in scripting has been javascript, almost exclusively in the context of illustrator. so there is a whole big world out there that I'm just not familiar with yet.
Thanks for your suggestion. 😃