Re: Finding Remote Machine's IP
Re: Finding Remote Machine's IP
- Subject: Re: Finding Remote Machine's IP
- From: Jon Pugh <email@hidden>
- Date: Thu, 15 May 2003 20:37:22 -0700
At 8:56 PM -0400 5/15/03, Jason Bourque wrote:
>
How can I get or find another machine's IP on the network? I want the use
>
remote applescript events to control the applications. I have the syntax
>
right but with DHCP the ips are constantly changing.
If you are on the same subnet, i.e. generally the same floor, you can probably use your Rendezvous name. You can edit the Rendezvous name in the Sharing panel of System Preferences.
tell app "Whatever" of machine "eppc://Rendezvous-Name.local"
-- whatever
end tell
I've seen system crashes using this technique in early systems. Make sure you are up to date, although I don't know if stability has improved any with recent releases.
If anyone has found this technique reliable, please speak up.
If you are not on a local subnet, you'll need to resort to emailing the IP address from the machine that keeps changing it to some reliable server that can post it for you to fetch as needed. There are probably software packages to do this part for you, but I haven't investigated that realm.
Jon
_______________________________________________
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.