Have the script in question set a global variable such as $$ScriptPaused to 1 or True when the script starts. Have the last step in the script set it to 0, False or null. Then, to check the script status you merely need:
Thanks Phil. I like that, and if i were only concerned about one script being running or not, your idea would work great. I'd like to be able to check if ANY script whatsoever is running. And that'd mean plugging that variable into every single script in the system… not ideal.
Not ideal, but there are no other approaches that I can think of other than using Get WindowMode to see if the script is paused in find or preview modes. (You can also use the halt option on buttons that perform script to halt all currently paused scripts.)