Re: application file id?
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.