Re: Check if app exists
Re: Check if app exists
- Subject: Re: Check if app exists
- From: has <email@hidden>
- Date: Thu, 20 Sep 2007 17:43:33 +0100
I wrote:
I think what you want is to call LaunchServices'
LSFindApplicationForInfo function
If you don't mind launching the application you're checking for,
another option might be to kludge things by calling 'open' via 'do
shell script' and seeing if it raises an error or not:
try
do shell script "open -a GrowlHelperApp"
set growlExists to true
on error number 1
set growlExists to false
end try
Calling LSFindApplicationForInfo would be a better solution, however.
has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden