Web based indesign4/30/2023 JSInterface.evalScript("console.log('hello') ") In the following post, I’ll show a solution that allows the ExtendScript coder to write something as simple as #targetengine TestSomewhere I will probably be tweaking this for some time to come, but it currently works fairly well as-is, so for people in need, they can grab what I have, as-is, and try to make sense of it. What I am presenting here is ‘work-in-progress’, or maybe better ‘mucking-around-in-progress’. So, I decided to find a different solution. Sadly enough, crusty old GetURL.jsx is not up to the task: for efficient HTTPS support, things get a lot more complicated.ĭoing it all in pure ExtendScript would be nearly certainly too slow. Recently, more and more people started asking me for HTTPS support. Over time, I added a few little tweaks to help people out, but by now GetURL.jsx must be a contender for the longest living stopgap measure ever. It was not very fast, and could not handle many HTTP features. It was never intended to be a full HTTP socket implementation, but in the end, it turned out that the sample served a purpose for many people, as it allowed them to interact with HTTP-based services from ExtendScript. On a whim, I decided to implement a bit of the HTTP protocol in ExtendScript and InDesign. Note 1: Latest installer which also supports InDesign 2020 and macOS Catalina:Ī long, long time ago, I wrote a bit of sample code to demonstrate state machines. Not just for InDesign – any Adobe app that supports ExtendScript can use this. Note : Make sure to check out my novel approach to GetURL: making curl available in ExtendScript.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |