Skip to main content
July 21, 2011
Question

[ANN] Public release of JSON Action Manager 1.0

  • July 21, 2011
  • 1 reply
  • 1241 views

Greetings!

I've been developing an alternative way of programming Photoshop in Javascript, based on JSON, as a more human-readable replacement for the code generated by the "ScriptingListener".

For instance, creating a Brightness/Contrast adjustment layer can be written like this:


//@includepath "~/JSON Action Manager/"
//@include "jamEngine.js"

jamEngine.jsonPlay
(
    "make",
    {
        "target":
        {
            "<reference>": { "adjustmentLayer": { "<class>": null } }
        },
        "using":
        {
            "<object>":
            {
                "adjustmentLayer":
                {
                    "type":
                    {
                        "<object>":
                        {
                            "brightnessContrast":
                            {
                                "brightness": { "<integer>": -15 },
                                "contrast": { "<integer>": 30 }
                            }
                        }
                    }
                }
            }
        }
    }
);

Version 1.0 of the JSON Action Manager scripting library in JavaScript for Photoshop is available; it is fully open source and is licensed using GPLv3. Some sample code is also provided.

Version 1.0 of the JSON Action Toolbox automation plug-in for Photoshop (Mac OS X only) is also available; it is being distributed as Freeware.

For more information, please visit my blog Tonton Pixel dedicated to Photoshop Scripting.

-- Mikaeru

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
July 21, 2011

There seems to be an ever expanding conflect between Apple and Adobe these days perhaps you should invest in a PC system ---:)  IMO this post should be in the Photoshop Macintosh forum....

JJMack
Inspiring
July 21, 2011

JJMack wrote:

IMO this post should be in the Photoshop Macintosh forum....

As I read the announcement, it is about a different way to use Action Manger and there for should be posted here. Only part of it is Mac only but then again so is Applescript which is one of the Adobe supported scripting languages.

From the example posted I don't see that it is that much eaiser to read and only adds another layer to the code.

JJMack
Community Expert
Community Expert
July 21, 2011

Layers in Photoshop OK they are easy to see and understand. Extra layers of Code while the upper layer may be some what easier to read to get to the bottom of some thing you'll most likely have to wade through all the sluge. Sometime less is better them more.  Less code in this world, a pleasent dream.....

JJMack