On 06 May 2004, at 18:01, [EMAIL PROTECTED] wrote:
Message: 6 Date: Thu, 06 May 2004 11:21:27 -0400 From: [EMAIL PROTECTED] Subject: Getting environment settings on Mac To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1
Can anyone tell me if there's a reliable way to get any of the following system variables on a Mac via Revolution?
MHz speed of the processor
Amount of available memory (heapspace command docs say it's not really a true value)
Amount of free hard-drive space
Whether or not an Ethernet card is available (that's true for just about all Macs isn't it?)
Hi,
On Mac OSX you can use the shell command like:
get shell("system_profiler -detailLevel -1")For more options see the man pages.
HTH Greetings, WA
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
