Yes, use a command like this:
Properties SETLABEL="Red" SETLABELTOGGLE
If needed: How to use buttons and scripts from this forum