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

/ Published in: AppleScript
Save to your folder(s)

Copy this code and paste it in your HTML
  1. -- function appIsRunning() by sebastien.wains - Google Project Hosting - from SampleAppleScripts - reduxcomputing-proximity -
  2. on appIsRunning(appName)
  3. tell application "System Events" to (name of processes) contains appName
  4. end appIsRunning
  6. -- USAGE: if appIsRunning("Finder") then...

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.