Checking if an application is opened or not
Checking if an application is opened or not
- Subject: Checking if an application is opened or not
- From: email@hidden (Guillaume Iacino)
- Date: Wed, 26 Feb 2003 15:17:53 -0800
Hi,
Sorry if this question has been asked before, but I am looking for the
proper way to detect if an application is already opened or not.
I have a script that unmounts all my external hard drives and closes some
apps too. My problems is that if the apps are not opened, my script opens
them and then quit them.....
tell application "Finder" to eject (every disk whose local volume is false)
tell application "Notes" to quit
Thank you for your insights.
Guillaume
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.