4 Replies Latest reply on Oct 2, 2013 11:39 AM by JJMack

    Scripting: How can I get the stroke shape and pressure of a `Brush Tool' drawing action?

    arkheron

      Hi,

       

      This is my first attempt at scripting Photoshop; I am using JavaScript and Photoshop CS5.

      What I would like to do is to get the stroke shape, pressure and maybe velocity after a `Brush Tool' drawing action is triggered by the user, i.e. after a simple drawing operation. I have been using the ScriptListener plugin, but it does not record this type of operation: changing the brush parameters (e.g. size and opacity), yes, but the actual drawing action, no.

       

      Thanks a lot,

      Mathieu