Plugin to extend JS functionality

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

theiviaxx

Plugin to extend JS functionality

Post by theiviaxx »

Hi all, is there a plug in type that would extend the JS functionality? We need to write out a zip file. While we could call out to some external script, we'd like to keep it inside PS if possible. I'm just not sure if the plugin sdk would have any access to extending JS. Maybe adding a new JS object type or something.

I found one pure js implementation of zip, but its based on a lot of html5 stuff

Thanks

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

xbytor

Plugin to extend JS functionality

Post by xbytor »

There is/was an C/C++ API for extending the JS API that would make it possible for you to add custom binary code to your JS scripts that you could could load in and execute as a part of your script. When I first looked at it, there were some severe shortcomings. I cut my teeth on extending TCL and perl with C-libs when I was younger and took a crack at it with PS-JS. It just wasn't worth the effort for me. I recommend that you do get the APIs/libs and try it out. They may have fixed the problems that I came across.
larsen67

Plugin to extend JS functionality

Post by larsen67 »

This kind of stuff is well beyond my scirpting… but I did see this some time back in the Indesign forum… It looks along the lines of this discussion…?

http://extendables.org/docs/#