appscript: Is application running?
-
Comments:
- here.
This is the best way I can find to test if an application is running under appscript:
1 try:
2 app('System Events').processes['AppName']()
3 except:
4 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 ★