How to script Show/Hide Transform Controls?

Adobe Community Professional ,
Sep 18, 2016 Sep 18, 2016

Copy link to clipboard

Copied

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

Views

604

Likes

Translate

Translate

Report

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

Adobe Community Professional , Apr 02, 2021 Apr 02, 2021

Likes

Translate

Translate
Enthusiast ,
Sep 18, 2016 Sep 18, 2016

Copy link to clipboard

Copied

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

                ]

            }

        ]

    ],

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Sep 19, 2016 Sep 19, 2016

Copy link to clipboard

Copied

Thank You, I'll look into it!

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

WOW! great answer and great question!

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Apr 02, 2021 Apr 02, 2021

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Apr 03, 2021 Apr 03, 2021

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

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
Most Valuable Participant ,
Sep 19, 2016 Sep 19, 2016

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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