Re: Easy way to get a app version number?
Re: Easy way to get a app version number?
- Subject: Re: Easy way to get a app version number?
- From: Martin Orpen <email@hidden>
- Date: Tue, 11 May 2004 11:23:48 +0100
on 11/5/04 12:57 am, Charles Heizer at email@hidden wrote:
>
Hello,
>
Does someone have a easy way to get a version number of a application?
Here's a hard way:
set myPath to (choose file) as string
set pPath to POSIX path of myPath
try
set myResult to do shell script "cat " & pPath &
"Contents/version.plist" & " | grep -C2 Version"
end try
;-)
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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.