JSXGetURL enhances ExtendScript to make it easy to access servers using http, https, sftp… – e.g. to download assets from a remote server.
Further below is the download link to an update to JSXGetURL which will run until December 31, 2023.
JSXGetURL is meant to work with any Adobe Creative Cloud application that has ExtendScript support – InDesign, InDesign Server, InCopy, Illustrator, Photoshop…
JSXGetURL is implemented as an ExtendScript DLL/framework, written in C/C++.
This DLL allows you to access URLs (including https:
or ftp:
) straight from ExtendScript.
There is nothing to install – all you need to do is //@include
a .jsx
file which then loads the DLL.
Sample code:
//@include "JSXGetURL/JSXGetURLLoader.jsx"
var getURL = JSXGetURL();
getURL.addRequestHeader("Accept: */*");
var s = getURL.get("https://www.rorohiko.com") + "";
alert(s.substr(0,1000));
var headers = getURL.getResponseHeaders();
alert(headers);
// Some random FTP file for testing
var f = new File("~/Desktop/sha512.sum");
var s = getURL.get("ftp://cygwin.com/pub/gcc/sha512.sum", f.fsName);
// Some zip file to test binary file download
var f = new File("~/Desktop/FrameReporter.1.1.8.zip");
getURL.get("https://www.rorohiko.com/downloads/FrameReporter.1.1.8.zip", f.fsName);
The previous 0.0.9 version was time-bombed for June 30, 2023 – which is 6 days from now, as of this writing.
Version 0.1.0 runs until Dec 31, 2023 and can be downloaded here:
https://www.rorohiko.com/downloads/rr516001/JSXGetURL.0.1.0.zip
I am still working on the licensing functionality in Tightener, which will ultimately be used to elevate JSXGetURL to a commercial product.
No firm decisions have been made yet, but come 2024, the licensing model for JSXGetURL will probably be a yearly recurring per-workstation fee, somewhere around US$30.
JSXGetURL versions for InDesign Server will be a fair bit more expensive.
Unlimited licenses will probably also be available, based on some yearly fee of a low multiple of US$1000.
All of this is still very much undecided – more later!