• 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
Accessing a file in a bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing a file in a bundle


  • Subject: Accessing a file in a bundle
  • From: Mike Kobb <email@hidden>
  • Date: Thu, 10 Jan 2008 12:48:34 -0800

Hello again,

As part of the same script I asked about earlier today, I need to open (launch) a file that is inside a bundle. (Specifically, it's a helper app that lives inside a System Preferences prefs pane bundle.).

I googled around to try to find information on doing this, and I found a script posted on the MacScripter BBS that seems to do just what I want, using this terminology:

path to resource "myFile" in bundle file "<path to the bundle file>"

However, if I try to run this on Leopard, it's not recognizing the "bundle file" terminology.

Could somebody please point me in the right direction? I need the script to work on 10.4 and 10.5, but nothing earlier.

Thanks,
--Mike
_______________________________________________
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
  • Follow-Ups:
    • Re: Accessing a file in a bundle
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Excel... again. Why doesn't this work
  • Next by Date: Re: Path to the user's Library folder: bug or a scripter error?
  • Previous by thread: Re: Excel... again. Why doesn't this work
  • Next by thread: Re: Accessing a file in a bundle
  • Index(es):
    • Date
    • Thread