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

Can I record an action that changes the eyedropper sample?

Community Beginner ,
May 22, 2023 May 22, 2023

Copy link to clipboard

Copied

I'm someone that works with a lot of layers, and I toggle between sampling "all layers" and "current layers" with my eyedropper tool a lot.

I'm trying to record and create an action where I can quickly switch between my eyedropper sampling "all layers" and "current layers" with a shortcut, however I can't seem to be able to record anything I do with the eyedropper, except eyedropping a color in the canvas (which is something I don't want). I can't seem to find the option to change that in the keyboard shortcuts preferences menu as well.

Is there a solution for this? Or do I have to go through a bunch of clicks everytime I wan't to change my eyedropper sample?

TOPICS
Actions and scripting

Views

391

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
Advocate ,
May 23, 2023 May 23, 2023

Copy link to clipboard

Copied

I have not pondered on what you want, but you might need this selected...

Tool Recording.jpg

If it's greyed out, try again after removing the scriptListener plugin if you are using that.

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 ,
May 23, 2023 May 23, 2023

Copy link to clipboard

Copied

I've already selected that, and it still doesn't record my actions with the eyedropper, or even when i select the eyedropper tool. I've also tried adding a menu item but that doesn't seem to be relevant to the eyedropper tool?

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
Advocate ,
May 23, 2023 May 23, 2023

Copy link to clipboard

Copied

Yeah, some things don't record and then you have to make a tool preset for that tool and record selecting that preset.

No idea what you mean with the last line. Some menu items you should not record (but often you can), but you have to use the special option in the flyout.

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
Advocate ,
May 23, 2023 May 23, 2023

Copy link to clipboard

Copied

Rereading your question, you are wanting something else than I initially suspected.

Yes, you can make two Tool Presets (All & Current). If you then record selecting these with an action, you could assign two shortcuts. If you're smarter (and if it's possible), you may be able to script just one toggle key for 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
Advocate ,
May 23, 2023 May 23, 2023

Copy link to clipboard

Copied

This script does it w/o recording anything (you can assign a keyboard shortcut to an individual script). It toggles between Current and Current & Below. It contains info on how to adapt it for All Layers.

https://community.adobe.com/t5/photoshop-ecosystem-discussions/here-is-a-script-that-switches-toggle...

 

You also have to specify false for this one (true will have it go through all options)...

var includeAllOptions = false;

 

and I would make the two changes that r-bin pointed out.

 

Seems it works for all tools that have these dropdowns.

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
Valorous Hero ,
May 24, 2023 May 24, 2023

Copy link to clipboard

Copied

LATEST

Record in Action the choice of the desired preset for the tool.

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