Re: launch broken in Mt Lion
Re: launch broken in Mt Lion
- Subject: Re: launch broken in Mt Lion
- From: Shane Stanley <email@hidden>
- Date: Fri, 11 Jan 2013 08:21:58 +1100
On 11/01/2013, at 12:23 AM, Luther Fuller <email@hidden> wrote:
My 'hostAppl' application's Resources folder contains about half-dozen application bundles with code like this …
on run tell application "Finder" to set hostAppl to (container of container of container of (path to me)) as text try launch application hostAppl tell application hostAppl to doSomeHandler() on error errText number errNr activate me "doSomeHandler Error = " & errNr & return & errText tell me to display dialog the result buttons {"OK"} default button 1 end try end run -----------------------------
Is there some reason you can't move doSomeHandler() and the rest into their own app that doesn't have a run handler?
|
_______________________________________________
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