Re: open alias discrepancy in OS X Lion?
Re: open alias discrepancy in OS X Lion?
- Subject: Re: open alias discrepancy in OS X Lion?
- From: CYB <email@hidden>
- Date: Thu, 28 Jul 2011 16:29:16 -0500
- Thread-topic: open alias discrepancy in OS X Lion?
Title: Re: open alias discrepancy in OS X Lion?
The following in Snow Leopard:
tell application "Finder"
set ical_app to item "iCal" in folder "Applications" of the startup disk
set ical_app to ical_app as string
open alias ical_app
end tell
-- result - opens the iCal application
In Lion:
-- result - opens Finder to the package contents of the iCal.app
Can anyone else verify this in Lion? or have any thoughts on why the difference? is this a bug or do I need to find a workaround?
Todd
Todd, why not just
Tell application “ical” to activate
Or
Tell application “iCal”
--do your stuff
End
And forget about Finder, you don’t need it at all.
Carlos Ysunza B.
_______________________________________________
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