After downloading your script and trying it out I gather that it is for TVPaint 9 only. I first tried it in 8.6 where it works after a fashion except it won't automatically reselect the active tool. In the tvp 9 demo it works fine. This will be very useful, thank you!

Since the forum will have some users who upgrade to 9 and other users who will stay with 8.x I wonder if it might not be a good idea for future George script posts to identify in the subject line which version(s) of TVPaint the script is (are) for?

This script is really useful and I always use it. Thank you Manuel. But this script has a flaw.
You use this script and try to pick color with left mouse button and If you click a place where there is no color(R 0 G 0 B A 0) or click the tool panel or something that has no color, this script gets color R 0 G 0 B 0 and it's alpha value is 1%. I always didn't notice I picked this almost transparent black color and painted the canvas with it, and I couldn't draw anything, and I was like "What's wrong?" for several seconds.

So I modded this script and added a safeguard. If you click blank area that has no color, you have to click again. You have 4 attempts to pick color and if you can't pick, this script terminates and does nothing, so you won't get that almost transparent black color( R0 G0 B0 A1) and accidentally spoil your drawing with it.

PickColorAplha modded.grg

You do not have the required permissions to view the files attached to this post.

This idea is superuseful, I have been looking for a button/option like this.

There is just one thing that doesn't work well for me; both of the scripts above only pick the color if you are on layer with the color on it, not if you are, for example, on a layer above, like the standard color picker in TVP does. It'd be ideal if the was a script that would behave like the standard color button, where the RMB would pick the color and the LMB would pick the Color Alpha (the true color without alpha).

Would that be possible to make, or is there already something like this available in TVP 11?