Re: launch broken in Mt Lion
Re: launch broken in Mt Lion
- Subject: Re: launch broken in Mt Lion
- From: Luther Fuller <email@hidden>
- Date: Thu, 10 Jan 2013 07:23:15 -0600
On Jan 9, 2013, at 5:59 PM, Shane Stanley wrote: Can you give a practical example of where this causes you grief? In the old days it was a way of starting apps in the background, but run does that now anyway. And you don't have to have anything in your run handler.
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 -----------------------------
An alias file is created for each of these and placed in a menu folder in the Dock. All of the menu commands are now broken! (with a -609 error) This removes much of the necessary functionality of my application.
I'll bug-report this and hope it can be fixed in 10.8.3.
|
_______________________________________________
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