Re: 'info for' braindead about .app packages
Re: 'info for' braindead about .app packages
- Subject: Re: 'info for' braindead about .app packages
- From: Christopher Nebel <email@hidden>
- Date: Wed, 5 May 2004 18:28:20 -0700
On May 5, 2004, at 4:49 PM, Walter Ian Kaye wrote:
It seems that 'info for' fails to get version info on .app packages.
And how should I get the 'short version' for an .app package?
As of 10.3 (Panther), just say "short version of (info for ...)".
Prior to that, you can use Rob's trick:
set c to "defaults read '/Applications/iCal.app/Contents/Info'
CFBundleShortVersionString"
set s_ver to do shell script c
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.