Macintosh, Tips, CodeAugust 11, 2009 3:31 pm
Useful tip
From the inimitable Daring Fireball, how to see if an application is running with AppleScript:
tell application \"System Events\"
count (every process whose name is \"BBEdit\")
end tell
I modified that into tell application "System Events" to set syncpRunning to count (every process whose name is "Syncplicity") for my purposes.
The URI to TrackBack this entry is: http://nethope.blogsome.com/2009/08/11/useful-tip/trackback/
No comments yet.
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>