Getting environment settings on Mac
Sarah Reichelt
sarahr at genesearch.com.au
Tue May 18 22:26:36 EDT 2004
It depends on your system, but basically, you can use AppleScript to
get info from the System Profiler (which was called Apple System
Profiler in older systems). With OS X Panther, this script gives the
complete list:
tell application "System Profiler"
return the system profile
end tell
Once you get the result into Revolution, it is easy to extract the info
you need. You may need to vary the script slightly if you are using
another system.
Cheers,
Sarah
On 7 May 2004, at 1:23 am, rgould8 at aol.com wrote:
> 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?)
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
More information about the use-livecode
mailing list