Return to Snippet

Revision: 43325
at March 22, 2011 02:07 by brandonjp


Initial Code
-- function appIsRunning() by sebastien.wains - Google Project Hosting http://bit.ly/gb43CT - from SampleAppleScripts - reduxcomputing-proximity - http://bit.ly/fCoJxY
on appIsRunning(appName)
	tell application "System Events" to (name of processes) contains appName
end appIsRunning

-- USAGE:  if appIsRunning("Finder") then...

Initial URL

                                

Initial Description

                                

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

Initial Tags
function

Initial Language
AppleScript