• 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: Version information for file...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Version information for file...


  • Subject: Re: Version information for file...
  • From: Emmanuel <email@hidden>
  • Date: Sun, 5 Oct 2003 00:25:06 +0200

At 12:24 AM -0600 04/10/03, David Crowe wrote:
>I'm trying to get the version number of a file ... the Finder
>dictionary claims this is possible, but when I run this script:
>
>tell application "Finder"
> set FileInfo to {name, file type, creator type, version,
>product version} of file
>"Tinantia:System:Library:ScriptingAdditions:StandardAdditions.osax"
>end tell
>FileInfo
>
>I get the following output:
>{"StandardAdditions.osax", missing value, missing value, "", ""}
>
>What am I doing wrong (if anything)? Note that these files do have a
>version number when "Get Info" is used (although I'm not sure which
>of these two versions it is).

Same here (10.2.6). It must be a bug on the side of the osax, because the Satimage osax returns:
"Satimage 2.5.6 by Satimage
Copyright 2003 Satimage-software
www.satimage-software.com"
with "version" (and nothing with "product version"). I wonder what that is for a bug.

I suppose you've got to parse the version.plist yourself.

Emmanuel
_______________________________________________
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: 
 >Version information for file... (From: David Crowe <email@hidden>)

  • Prev by Date: Re: sorting
  • Next by Date: Re: hi everyone.
  • Previous by thread: Version information for file...
  • Next by thread: Moving a message to another mailbox in Mail.app
  • Index(es):
    • Date
    • Thread