The thread at https://community.adobe.com/t5/photoshop/example-of-extendscript-palette-and-colored-buttons-revised... has been marked as SPAM for some reason. It is a thread with example ExtendScript software and nothing else. I did change the title by adding the word revised as I revised the code to match suggestions from those who answered the original post.
How do I get this fixed?
Copy link to clipboard
As far as I can tell it has either been unmarked as spam or never was.
It is right where your link points to.
So it is Fixed.