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?
Copy link to clipboard
Copied
I have not pondered on what you want, but you might need this selected...
If it's greyed out, try again after removing the scriptListener plugin if you are using that.
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?
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.
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.
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.
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.
Copy link to clipboard
Copied
Record in Action the choice of the desired preset for the tool.