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

Version information for file...


  • Subject: Version information for file...
  • From: David Crowe <email@hidden>
  • Date: Sat, 4 Oct 2003 00:24:18 -0600

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).


(This is with the "new" 10.2.8 OS X).

- David Crowe
_______________________________________________
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: Version information for file...
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Filemaker Background script
  • Next by Date: Re: Change the Position of an disk icon on the desktop
  • Previous by thread: Re: Switching on Access for Assistive Devices from an installer
  • Next by thread: Re: Version information for file...
  • Index(es):
    • Date
    • Thread