• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: machine IP address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: machine IP address


  • Subject: Re: machine IP address
  • From: Adam Bell <email@hidden>
  • Date: Tue, 25 Jul 2006 16:04:17 -0300

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:
>esscable.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:

This email sent to email@hidden

References: 
 >machine IP address (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: machine IP address
  • Next by Date: Re: machine IP address
  • Previous by thread: Re: machine IP address
  • Next by thread: Re: machine IP address
  • Index(es):
    • Date
    • Thread