Toggle “Sample Current Layer” option of eyedroppper
I'm trying to create a script to toogle Eyedropper Tool's Sample option between "Current Layer" and "All Layers".
I search a bit and only see suggestions telling me to create two tool presets and swtich between them. It works, but I'd like to make it a bit more powerful: a single script/button that changes Eyedropper Tool's option, while keeping the Brush Tool as my active tool. Is it possible?
