Re: Finder Version Wrong in OS X
Re: Finder Version Wrong in OS X
- Subject: Re: Finder Version Wrong in OS X
- From: Timothy Bates <email@hidden>
- Date: Wed, 10 Apr 2002 10:16:53 +1000
Using an application with base conversion makes this easy
tell application "PsyScript"
activate
convert base {910, 922, 1000} from 16 to 10
--> {2320, 2338, 4096}
convert base {2320, 2338, 4096} from 10 to 16
-->{"910", "922", "1000"}
tell application "Finder" to set sysv to system attribute "sysv"
display dialog "you're on " & (convert base sysv from 10 to 16) / 100
display dialog "Next sys= " & (convert base 4128 from 10 to 16) / 100
end tell
_______________________________________________
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.