[OS X] Scripting Internet Connect
[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