• 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: Easy way to get a app version number?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Easy way to get a app version number?
      • From: Michelle Steiner <email@hidden>
References: 
 >Easy way to get a app version number? (From: Charles Heizer <email@hidden>)

  • Prev by Date: Re: Easy way to get a app version number?
  • Next by Date: [ANN] May Philadelphia Area AppleScript Users Group Meeting
  • Previous by thread: Re: Easy way to get a app version number?
  • Next by thread: Re: Easy way to get a app version number?
  • Index(es):
    • Date
    • Thread