Posted By

brandonjp on 03/22/11


Tagged

applescript function process app running fn


Versions (?)

Applescript function to check if an app application is running or not


 / Published in: AppleScript
 

  1. -- function appIsRunning() by sebastien.wains - Google Project Hosting http://bit.ly/gb43CT - from SampleAppleScripts - reduxcomputing-proximity - http://bit.ly/fCoJxY
  2. on appIsRunning(appName)
  3. tell application "System Events" to (name of processes) contains appName
  4. end appIsRunning
  5.  
  6. -- USAGE: if appIsRunning("Finder") then...

Report this snippet  

You need to login to post a comment.