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

How to script Show/Hide Transform Controls?

LEGEND ,
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

1.2K

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

LEGEND , Apr 02, 2021 Apr 02, 2021

Votes

Translate

Translate
Adobe
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

                ]

            }

        ]

    ],

Votes

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
LEGEND ,
Sep 19, 2016 Sep 19, 2016

Copy link to clipboard

Copied

Thank You, I'll look into it!

Votes

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!

Votes

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
LEGEND ,
Apr 02, 2021 Apr 02, 2021

Copy link to clipboard

Copied

Votes

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?

Votes

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
LEGEND ,
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.

Votes

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 Expert ,
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

Votes

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