MacRumors Forums
>
Apple Systems and Services
>
Programming
>
Mac Programming
> possible to check if an application is open with AppleScript?
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.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.