Machine() reports unknown...

Ken Ray kray at
Sat Feb 9 14:10:39 EST 2008

On Sat, 9 Feb 2008 12:38:09 -0500, David Flanders wrote:

> Hi,
> just tested machine() in the message box and it returned "unknown".  
> Any help?

Well, if this is OS X, you can use shell() to get the data (you need to 
parse it a little though). Here's something to get you started:

  put shell("system_profiler SPHardwareDataType") into field 1


Ken Ray
Sons of Thunder Software, Inc.
Email: kray at
Web Site:

More information about the Use-livecode mailing list