On 12/21/04 3:14 AM, "Thierry Arbellot" <[EMAIL PROTECTED]> wrote:
> MacOS X
> put replaceText(shell("/sbin/ifconfig en0 | head -3 | grep 'inet '
> | cut -d' ' -f 2"),"(\s|\(|\))","") into theIPAddress
I'd always used this:
put shell("ipconfig getifaddr en0") into tIPAddress
if tIPAddress contains "failure" then put "" into tIPAddress
I guess there's more than one way to skin a cat...
;-)
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution