Re: machine IP address
Subject : Re: machine IP address
From: Martin Orpen <email@hidden >
Date: Tue, 25 Jul 2006 21:20:46 +0100
Delivered-to: email@hidden
Delivered-to: email@hidden
On 25 Jul 2006, at 7:59 pm, Mark J. Reed wrote:
"the" IP address? Which one?
How about all of them:
tell application "Automator"
set foo to call method "currentHost" of class "NSHost"
set bar to call method "names" of foo
set woo to call method "addresses" of foo
end tell
bar & return & woo
:-)
--
Martin Orpen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.