• 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: NTS EnterNet Connection Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NTS EnterNet Connection Script


  • Subject: Re: NTS EnterNet Connection Script
  • From: Cornwall <email@hidden>
  • Date: Mon, 17 Dec 2001 16:56:04 -0800

On Monday, December 17, 2001, at 08:31 AM, George Reiff wrote:

Im pretty new to Apple Script and having some trouble. Can anyone help me with writing a script re: my EnterNet DSL connection app connecting to my isp. I can write the script to open EnterNet app but can't seem to write the proper connection commands. It connects via PPP, thru ethernet as it is for DSL. Any help would be appreciated.


Here is one I once used to check email.

tell application "EnterNet 300"
activate
set isItConnected to ConnectState
end tell

if isItConnected is 0 then
tell application "EnterNet 300" to Connect
else
tell application "EnterNet 300" to quit
try
tell application "Eudora"
activate
connect
end tell
end try
quit
end if

repeat 20 times
tell application "EnterNet 300"
ConnectState returning isConnected
end tell
if isConnected is 2 then
tell application "EnterNet 300" to quit
try
tell application "Eudora"
activate
connect
end tell
on error
error number -128
end try
exit repeat
quit
else
delay 2
end if
end repeat

Corny


References: 
 >NTS EnterNet Connection Script (From: George Reiff <email@hidden>)

  • Prev by Date: Re: [OSX]Getting selected items in the Finder from a MenuScript?
  • Next by Date: Help me
  • Previous by thread: NTS EnterNet Connection Script
  • Next by thread: NSS RA status first-run error
  • Index(es):
    • Date
    • Thread