• 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: How to open Package folder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to open Package folder?


  • Subject: Re: How to open Package folder?
  • From: Rob Jorgensen <email@hidden>
  • Date: Fri, 5 Sep 2003 06:37:08 -0400

At 11:12 AM +0100 9/5/03, email@hidden wrote:
tell app "Finder" to open folder "Contents" of application file id "POrg"

That crashes my Finder 100% of the time, as does this:

tell application "Finder"
try
get folder "Contents" of application file id "POrg"
on error e
display dialog e
end try
end tell

There is no error returned since Finder is in no condition to return anything, and the script continues to run after Finder crashes.

It seems to me it might be a problem with Palm Desktop specifically... could it be?
I haven't got Palm so...
Otherwise, the one liner works fine for me on any other apps.

Yes, it's likely related to the hierarchy within PD's package.

tell application "Finder"
application file id "POrg" as text
end tell

--> HD:Applications:Palm:Palm Desktop:Contents:MacOSClassic:Palm Desktop

-- Rob
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How to open Package folder?
      • From: Walter Ian Kaye <email@hidden>
    • Re: How to open Package folder?
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Re: How to open Package folder? (From: email@hidden)

  • Prev by Date: Re: How to open Package folder?
  • Next by Date: Re: How to open Package folder?
  • Previous by thread: Re: How to open Package folder?
  • Next by thread: Re: How to open Package folder?
  • Index(es):
    • Date
    • Thread