Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: machine IP address



Title: Re: machine IP address
Assuming you mean external to your router:

-- Using http://checkip.dyndns.org/
set myIP to word 25 of (do shell script "curl checkip.dyndns.org")

if you mean internal, this does it for en0:

set ip_internal to do shell script ("ipconfig getifaddr en0")

At 2:47 PM -0400 7/25/06, Bob Cuilla wrote:
Does anyone know a good way to get the IP address?

Bob Cuilla
Orlando, FL


_______________________________________________
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/bellac%40accesscable.net

This email sent to email@hidden

 _______________________________________________
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

References: 
 >machine IP address (From: Bob Cuilla <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.