3 Replies Latest reply on Feb 1, 2018 7:05 AM by Kukurykus

    Photoshop scripting get tool position


      I would like to get a position of lets say a brush tool button inside photoshop.

      Is that possible with Photoshop scripting?

      Is it possible getting the value of a certain edit box (eg. brush size)?



      Can it be done similar to this:


      'PsJavaScriptExecutionMode Enums
      Const psNeverShowDebugger = 1, psDebuggerOnError = 2, psBeforeRunning = 3
      Dim appRef
      Set appRef = CreateObject("Photoshop.Application")
      Dim pos
      pos = appRef.ControlPosition("paintbrushTool") //this is made up



      What I want to do is, I want to show a pointer saying "Click this" (similar to photoshop tutorials).