<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2713.1100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV>Awesome find, MisterX! After a little testing and tweaking (the 'findstr' 
is not "MAC" but "Physical Address", and 'findstr' is not supported on Win 9x), 
here's a replacement CROSS-PLATFORM function. Note that IPCONFIG.EXE exists only 
on Windows 98 and higher (including XP), but if you can include IPCONFIG.EXE in 
your delivery (CD/download/etc.), you can run it on Windows 95 and it will work 
just fine. (I don't know if Microsoft has an issue with distributing this... you 
should check it out.</DIV>
<DIV> </DIV>
<DIV>function GetMACAddress<BR>  local retVal<BR>  switch (the 
platform)<BR>  case "MacOS"<BR>    set the directory to 
specialFolderPath("apple")<BR>    put "tell application" 
&& quote & "Apple System Profiler" & quote & cr & 
\</DIV>
<DIV>      "get appletalk address" & cr & "end 
tell" into getMACScript<BR>    put "tell application" && 
quote & "Apple System Profiler" & quote & cr & \</DIV>
<DIV>      "close window" && quote & "Apple 
System Profiler" & quote & cr & "end tell" into 
quitASPScript<BR>    <BR>    set the directory to 
specialFolderPath("apple")<BR>    do getMACScript as 
AppleScript<BR>    put the result into 
retVal<BR>    do quitASPScript as 
AppleScript<BR>    replace "{" with "" in 
retVal<BR>    replace "}" with "" in retVal<BR>    
replace quote with "" in retVal<BR>    break<BR>  case 
"Win32"<BR>    put (there is a file (specialFolderPath("system") 
& "/IPCONFIG.EXE")) into winExists<BR>    put (there is a 
file (specialFolderPath("system") & "/SYSTEM32/IPCONFIG.EXE")) into 
sys32Exists<BR>    if winExists or sys32Exists 
then<BR>      set the hideConsoleWindows to 
true<BR>      put shell("ipconfig /all") into 
temp<BR>      get matchText(temp,"Physical Address. . . 
. . . . . . : ([A-Z0-9-]*)",retVal)<BR>    
else<BR>      return "IPCONFIG not 
found"<BR>    end if<BR>    break<BR>  end 
switch<BR>  return retVal<BR>end GetMACAddress</DIV>
<DIV> </DIV>
<DIV>Thanks, everyone!</DIV>
<DIV> </DIV>
<DIV>Ken Ray<BR>Sons of Thunder Software<BR>Email: <A 
href="mailto:kray@sonsothunder.com">kray@sonsothunder.com</A><BR>Web Site: <A 
href="http://www.sonsothunder.com/">http://www.sonsothunder.com/</A></DIV></DIV></BODY></HTML>