Getting environment settings on Mac

Sarah Reichelt sarahr at
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.


On 7 May 2004, at 1:23 am, rgould8 at 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

More information about the Use-livecode mailing list