• 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
[OS X] Scripting Internet Connect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OS X] Scripting Internet Connect


  • Subject: [OS X] Scripting Internet Connect
  • From: Donald Hall <email@hidden>
  • Date: Mon, 21 Jan 2002 00:36:08 -0700

Hi all,

"Internet Connect" seems to have a full dictionary, but I don't seem to
have much success with any attempts to script it. The following script
gives an error, "--> The variable s is not defined."

tell application "Internet Connect"
set s to status of current configuration
s
end tell

However, 'set s to name of current configuration' gives the correct
result ("Internal Modem"). It looks like 'status' is not implemented.

I simply want to see if there is a live connection, which I could easily
do in OS 9 by scripting Remote Access. Has anyone done this?

Thanks for any advice,

Don


  • Follow-Ups:
    • Re: [OS X] Scripting Internet Connect
      • From: "J.B. Stewart" <email@hidden>
  • Prev by Date: offsets of (GTQ)
  • Next by Date: width of Dialog?
  • Previous by thread: offsets of (GTQ)
  • Next by thread: Re: [OS X] Scripting Internet Connect
  • Index(es):
    • Date
    • Thread