Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 23, 2006, 12:04 AM   #1
mjdth
macrumors newbie
 
Join Date: Jan 2006
possible to check if an application is open with AppleScript?

Is it possible with applescript to check if the iCal application is running?

Thanks
mjdth is offline   0 Reply With Quote
Old Jan 23, 2006, 12:19 AM   #2
iMeowbot
macrumors 601
 
iMeowbot's Avatar
 
Join Date: Aug 2003
tell application "System Events" to set iCalIsRunning to (name of processes) contains "iCal"

iCalIsRunning will end up with true or false as appropriate.
iMeowbot is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to check if an image is within a particular subview. BarryK88 iPhone/iPad Programming 2 Apr 15, 2011 03:18 AM
How to check if a port is open and how to open one seanpc OS X 2 Jun 9, 2010 04:34 PM
How to check if an NSCell is focused? ranguvar Mac Programming 0 Dec 9, 2009 12:43 PM
NSWorkspace Check If An Application Is Running? Darkroom Mac Programming 4 Jan 13, 2009 08:05 PM
How to check if a port is open? Xino Mac Programming 2 Oct 27, 2008 07:21 PM


All times are GMT -5. The time now is 06:46 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC