Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

How to script Show/Hide Transform Controls?

LEGEND ,
Sep 18, 2016 Sep 18, 2016

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

TOPICS
Actions and scripting
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Apr 02, 2021 Apr 02, 2021
Translate
Adobe
Enthusiast ,
Sep 18, 2016 Sep 18, 2016

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

                ]

            }

        ]

    ],

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 19, 2016 Sep 19, 2016

Thank You, I'll look into it!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 02, 2021 Apr 02, 2021

WOW! great answer and great question!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 02, 2021 Apr 02, 2021
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 02, 2021 Apr 02, 2021

get! perfect!  Forgive me for my poor English. I has a problem long time that is photoshop script has systematic document to achieve function? for example,  move one layer to other group(target), the target can't be putIdentifer, only putIndex should work? why and how to learn essential reason?  Usually I see the ScriptingListenerJS log, guess and try modify code to  achieve my needed.but  I think it's not correct road, what should I do?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 03, 2021 Apr 03, 2021
LATEST

In some cases you can't use identifiers, but indexes. Just try to see what exactly works.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 19, 2016 Sep 19, 2016

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.

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines