3 Replies Latest reply on Sep 19, 2016 11:57 AM by JJMack

    How to script Show/Hide Transform Controls?

    Kukurykus Adobe Community Professional

      I searched on Adobe and www.ps-scripts.com/  forums and can't realize why there is no topic where someone would for so many years at least ask this question:

       

      How to script "Show/Hide Transform Controls?"

       

      Well I do need it, but Action Manager doesn't detect it, and for some weird reason there is no this option in any menu of CS5.1 and probably CS6 I use in work. Can someone tell me how can I script it?

      STC.jpg

        • 1. Re: How to script Show/Hide Transform Controls?
          Jarda Bereza Level 4

          I am not sure if you can show/hide it classic way but you can read this option.

           

          If I use Get application info - script Get Application Info Code | Tonton Pixel

          Then I see current tool options

           

          "currentToolOptions":
              [
                  "<object>",
                  [
                      "currentToolOptions",
                      {
                          "'AtSl'":
                          [
                              "<boolean>",
                              false
                          ],
                          "'ASGr'":
                          [
                              "<boolean>",
                              false
                          ],
                          "'Abbx'": // <-- here
                          [
                              "<boolean>",
                              true
                          ]
                      }
                  ]
              ],
          
          1 person found this helpful
          • 2. Re: How to script Show/Hide Transform Controls?
            Kukurykus Adobe Community Professional

            Thank You, I'll look into it!

            • 3. Re: How to script Show/Hide Transform Controls?
              JJMack Most Valuable Participant

              The transform controls you show are for the move tool used interactively. In a script you can use Photoshop tools non interactively.  You can move, transform, align, invert etc layer and no dialogs will show like the transform bounding box with control points.