• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Execute Shell Scripts from ESTK

Community Expert ,
Nov 04, 2015 Nov 04, 2015

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?

TOPICS
Scripting

Views

709

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Nov 06, 2015 Nov 06, 2015

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 06, 2015 Nov 06, 2015

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines