Re: Check if app exists
Re: Check if app exists
- Subject: Re: Check if app exists
- From: Michelle Steiner <email@hidden>
- Date: Thu, 20 Sep 2007 08:07:03 -0700
On Sep 20, 2007, at 7:36 AM, Jeremy Matthews wrote: If the app DOESN'T exist...then it continually prompts you to find/choose the application. Is there a way to gain silent approval or failure of this possibility without getting that prompt?
I hope that you mean that the prompt comes when you try to compile the script because that's what happens with me. Here is a fix for that:
set growlhelper to "GrowlHelperApp" tell application "Finder" if application growlhelper exists then set growlexists to "true" end if end tell
-- Michelle
-- 640k ought to be enough for anybody.” - Bill Gates, 1981
|
_______________________________________________
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