PDA

View Full Version : possible to check if an application is open with AppleScript?




mjdth
Jan 23, 2006, 12:04 AM
Is it possible with applescript to check if the iCal application is running?

Thanks



iMeowbot
Jan 23, 2006, 12:19 AM
tell application "System Events" to set iCalIsRunning to (name of processes) contains "iCal"

iCalIsRunning will end up with true or false as appropriate.