• 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: open alias discrepancy in OS X Lion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >open alias discrepancy in OS X Lion? (From: email@hidden)

  • Prev by Date: Re: Preferred AS editing tools
  • Next by Date: Re: Preferred AS editing tools
  • Previous by thread: Re: open alias discrepancy in OS X Lion?
  • Next by thread: No permission to save file dialog in OS X Lion
  • Index(es):
    • Date
    • Thread