appscript: Is application running?
-
Comments:
- here.
This is the best way I can find to test if an application is running under appscript:
try:
app('System Events').processes['AppName']()
except:
print 'Application AppName is not running'
I think it’s kinda neat. I’d like to know of a better method, but I looked pretty hard!
Burn Down The Mission (Live) • Elton John • Live In Australia ★