• 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: Application check - hunt but ignore
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application check - hunt but ignore


  • Subject: Re: Application check - hunt but ignore
  • From: "Stockly, Ed" <email@hidden>
  • Date: Mon, 29 Mar 2010 09:57:47 -0700
  • Thread-topic: Application check - hunt but ignore

Are you getting these messages at compile time or at runtime?

The app needs to be there when the script is compiled.


> Here's what I've got so far, but I'm still prompted to find the missing
> application. Where have I gone wrong, have I simply misunderstood what is
> possible, or have things changed too much since that 2007 posting for it to
> be useful? Thanks.
>
> tell application "Finder"
>     try
>         exists application file id "com.Growl.GrowlHelperApp"
>         set growl_present to true
>     on error
>         set growl_present to false
>     end try
> end tell
> if growl_present then
>     using terms from application "GrowlHelperApp"
>         tell application id "com.Growl.GrowlHelperApp"
>             activate --and more
>         end tell
>     end using terms from
>     --stuff
> else
>     --same stuff
> end if
>
>

 _______________________________________________
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: Application check - hunt but ignore
      • From: Laine Lee <email@hidden>
References: 
 >Application check - hunt but ignore (From: Laine Lee <email@hidden>)

  • Prev by Date: Option l
  • Next by Date: Setting image data via AppleScript produces larger files
  • Previous by thread: Application check - hunt but ignore
  • Next by thread: Re: Application check - hunt but ignore
  • Index(es):
    • Date
    • Thread