I don't understand here ... how can you have one button for 4 different states/actions (play,stop,pause,continue) unless they are sequential? What you can do is collapse everything in only one widget and use: PHP Code: if [ "_$QBW_EXEC_REASON" == "_QBW_STARTUP_UPDATE" ]; then exit 0; echo "STOP";fi; case $QBW_HOTSPOT_PRESS in [147]) perform stop; echo "STOP"; exit 0;; [258]) if [ "_$QBW_CURRENT_RESULTS_TEXT" == "_STOP" ]; then perform play; exit 1; else perform pause; echo "PAUSE"; exit 2;fi; ;; [369]) perform ...; echo ...; ;; esac change settings here for different status images (4, 7, 10): Enable 4 here to see where you clicked (and create a nice on-click animation if necessary)
if [ "_$QBW_EXEC_REASON" == "_QBW_STARTUP_UPDATE" ]; then exit 0; echo "STOP";fi; case $QBW_HOTSPOT_PRESS in [147]) perform stop; echo "STOP"; exit 0;; [258]) if [ "_$QBW_CURRENT_RESULTS_TEXT" == "_STOP" ]; then perform play; exit 1; else perform pause; echo "PAUSE"; exit 2;fi; ;; [369]) perform ...; echo ...; ;; esac