Here is a sample ExtendScript code of http access using external object.
Flame work and cpp code also available in my git.
Probably, we can make https client EO with OpenSSL.
So, how does this work with release scripts? Do the users have to download the httpclient framework and ensure it is installed on their machine?
This framework does not require installation, just download and put it on your drive and set absolute path in the HttpClient.jsx like below.
var libPath = "/Users/<YOUR_USER_NAME>/Desktop/HttpClient.framework";
So if I was going to make a script that could be distributed to users, is there a way to write this framework into their file system so they do not have to follow any download instructions, etc?
I usually distribute scripts and External Objects compressed together and tell the user to put expansion things together.
If you put it in the same folder as the script, it will be easier to reference External Objects from the script.
Okay, and is this for Mac only?
Okay, do you mind producing a brief explanation of what an "External Object" could be? So far, it sounds like something that contains code that is platform-specific and is written in such a way that ExtendScript can read this file in and make use of it.
Sample projects also available in SDK/Samples/cpp under the ExtendScript Toolkit CC folder.
I know this is old, but any chance someone has the working code for windows? I'm a beginner, and I need help getting started. The face detection example is an excellent example of shared library usage.