Re: Get IP Address
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.