• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Check if app exists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Check if app exists
      • From: "Gary (Lists)" <email@hidden>
References: 
 >Check if app exists (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: Check if app exists
  • Next by Date: Re: Check if app exists
  • Previous by thread: Check if app exists
  • Next by thread: Re: Check if app exists
  • Index(es):
    • Date
    • Thread