Re: Installer script
Re: Installer script
- Subject: Re: Installer script
- From: JJ <email@hidden>
- Date: Sun, 01 Sep 2002 11:48:14 +0200
>
I'm trying to create an installer script to be run from a CD where an applet
>
checks for which system is the start-up disk. Below is an example I've
>
managed to get to work to check OS X volumes (apres 10.2) but I'm stuck for
>
a OS 8.6 -> 9.2.x version of the same.
Hi, Phil, all...
Three possible ways:
version of application "Finder"
--> i. e., "E2-9.2"
(alias (path to system folder) as text) & "System"
short version of (info for result)
--> i. e., "E1-9.2.2"
tell application "Finder"
set sysv to computer "sysv" -- or system attribute "sysv"
end tell
set majorversion to sysv div 256
--> i.e., 9
set minorversion to (sysv mod 256) div 16
--> i.e., 2
JJ
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.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.