The color of hotcues is accessible with engine.getValue('[ChannelN ... To make the function only do something when the button is pressed, wrap the function in an if statement checking the value ...