• 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: Scripting in vain - please help :(
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting in vain - please help :(


  • Subject: Re: Scripting in vain - please help :(
  • From: Bryan Harris <email@hidden>
  • Date: Sat, 03 Mar 2001 20:55:34 -0600

> * A script that starts to run ONLY once the computer has automatically
> reconnected onto the internet. The script then sends a copy of the
computers
> new IP address to an email address, which will be my WAP email (ie. my
mobile
> phone)

Are you using Entourage?

Not sure how to make it run once the computer has reconnected, but here's
the script to insert the IP address into the current message... Let me know
if you need help building and sending a message via Entourage or OE. Sorry,
can't help you with any others..

(I didn9t write this, so I can9t take credit. Can9t remember where I got
it...)

- B



with timeout of 2 seconds
tell application "Network Setup Scripting"
try
open database
set tcpConfig to name of item 1 of every TCPIP v4 configuration
whose active is true
set ipAdd to IP address of TCPIP v4 configuration tcpConfig
end try
close database
end tell
end timeout

tell application "Microsoft Entourage"

try
set selection to ipAdd
end try

end tell


References: 
 >Scripting in vain - please help :( (From: Diego C De La Vega <email@hidden>)

  • Prev by Date: Re: Where is the Searchable Applescript-users Archive?
  • Next by Date: Re: Scripting in vain - please help :(
  • Previous by thread: Scripting in vain - please help :(
  • Next by thread: Re: Scripting in vain - please help :(
  • Index(es):
    • Date
    • Thread