Machine() reports unknown...
Ken Ray
kray at sonsothunder.com
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
HTH,
Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode
mailing list