Can you automattically stop the Auto-Refresh if the sql that is being run genenates a pop-up error message. Sometimes, when I leave my desk and come back there may be 30+ pop-up error messages.
You have a button at the lower-left of a SQL Window with a refresh icon. Right-click on it to set the refresh options, or left-click on it to start auto-refreshing.