Re: Panther's version
Re: Panther's version
- Subject: Re: Panther's version
- From: Walter Ian Kaye <email@hidden>
- Date: Sat, 8 Nov 2003 04:02:39 -0800
>
In Mac OS 7.6.1, both Finder and AppleScript return the version as a version class.
>
>
And while the *coercion* works on 7.6.1, it returns 1.01 instead of 1.1.
Hey, looks like it is in fact in 'vers' resource format:
version
cast result using template "HEXD"
--> {"01018000000003312E3121312E312C204170706C6520436F6D70757465722C20496E632E20313939312D3933"}
version
cast result
--> {version_number:"01", revision_number:"01", revision_stage:"80", build_number:"00", language_integer:0, abbreviated_string:"1.1", get_info_string:"1.1, Apple Computer, Inc. 1991-93"}
tell application "Finder"
version
end tell
cast result
--> {version_number:"07", revision_number:"55", revision_stage:"80", build_number:"00", language_integer:0, abbreviated_string:"7.5.5", get_info_string:"7.5.5, ) Apple Computer, Inc. 1983-96"}
-boo
wishing OS X could do this (c'mon Apple, it would rock)
_______________________________________________
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.