• 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: Get IP Address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get IP Address


  • Subject: Re: Get IP Address
  • From: kai <email@hidden>
  • Date: Wed, 22 Oct 2003 22:17:11 +0100

on Wed, 22 Oct 2003 15:28:53 -0400, Arthur Knapp wrote:

>
>>> Date: Wed, 22 Oct 2003 14:43:23 -0400
>> Subject: Re: Get IP Address
>
> Sorry, I just noticed this thread.

What...? Oh...! ;-)

> Did anyone suggest this? :
>
> on IPAddress(sUrl)
> return (sUrl as URL)'s host's dotted decimal form
> end IPAddress
>
> IPAddress("http://www.apple.com/";;) --> "17.112.152.32"
>
>
> I think it's good under both OS9 and OSX.

Good stuff, Arthur. Confirmed good here (sans semicolon) in OS 9.

---
kai
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Simple question - how2 launch apps in OS X via a script
  • Next by Date: Re: Get IP Address
  • Previous by thread: Re: Get IP Address
  • Next by thread: do shell script
  • Index(es):
    • Date
    • Thread