Title: Re: Script for IP address into email
I had the same problem in the past.  Instead of using an AppleScript (forces me to leave Entourage open on my home machine), I used a shareware product called IP Reporter.  It automatically displays, emails, or posts the current IP Address to a website.  Take a look at it.  It might solve your need.

-Anil




On 2/6/01 11:10 AM, "Domenico Bettinelli, Jr." <[EMAIL PROTECTED]> wrote:

The latest issue of MacAddict has an article on using rules and Applescripts to get your computer to perform commands remotely via an email you send to it. What I'd like to do is set up a rule that responds to an email with a specific subject to get the IP address of my home machine (I'm on DSL and the number changes every reboot) and then return it via mail so that I can then access the computer using Netopia's Housecall.

My problem is that my knowledge of Applescript is too rudimentary. Here's the framework for the Applescript:

tell application "Microsoft Entourage"
    make new outgoing message with properties ¬
        {subject:"IP address", recipient:"[EMAIL PROTECTED]", content:IPadd} ¬
            at folder "Outbox"
    send
end tell

What I need is the scripting stuff to get the IP address. The scripting addition "Network Setup Scripting" appears to be able to find the IP address. Can anyone tell me how to get that into the variable IPadd? TIA

Reply via email to