• 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: application file id?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: application file id?


  • Subject: Re: application file id?
  • From: Chris Page <email@hidden>
  • Date: Mon, 05 May 2003 22:46:06 -0700

On Monday, May 5, 2003, at 18:05 US/Pacific, Christopher Nebel wrote:

set a to choose application as alias
do shell script "defaults read " & quoted form of POSIX path of a & "/Contents/Info CFBundleIdentifier"

Far superior -- it gets exactly the information you want, and isn't vulnerable to different formats of plists. Thanks, JD!

However, it is vulnerable to different formats of bundles, but that's less of a problem than relying on the format of the plist.

--
Chris Page - Software Wrangler - Palm, Inc.

You need a MacHack Best Hack 2002 CD. Loads of source code and hacks!
<http://www.hax.com/BestHackCDForm.html?cp>
_______________________________________________
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.

References: 
 >Re: application file id? (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: application file id?
  • Next by Date: Re: More fun with Unicode
  • Previous by thread: Re: application file id?
  • Next by thread: filemaker 6 unexpectedly quits -- dismiss dialog
  • Index(es):
    • Date
    • Thread