Re: Application check - hunt but ignore
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