applescript - airport - internet connect
applescript - airport - internet connect
- Subject: applescript - airport - internet connect
- From: Brian <email@hidden>
- Date: Tue, 25 Mar 2003 07:53:11 -0700
Hi. I'm sure this is an easy question and I am simply not using the
right keywords in my search for the answer. If someone could steer
me in the right direction, I'd be a happy camper.
I have a G4 desktop with an Airport card that connects to an Airport
base station which dials into my ISP.
If the base station is not dialed into the ISP and I run this script:
tell application "Internet Connect"
properties of configuration "AirPort"
end tell
I get:
{name:"AirPort", status:{state:0, bytes sent:0, bytes received:0,
speed:0, seconds connected:0, seconds remaining:-1, protocol:0,
message:"", class:status record}, class:configuration}
but if I use Internet connect to tell the base station to connect and
then I run the same script I get:
{name:"AirPort", status:{state:0, bytes sent:0, bytes received:0,
speed:0, seconds connected:0, seconds remaining:-1, protocol:0,
message:"", class:status record}, class:configuration}
my question is: Why is the output of the two script runs the same?
For example, shouldn't the states be different?
The reason I am concerned about all of this is I want to be sure that
the base station is connected to the ISP before the rest of my script
(not shown here) begins transferring files through Fetch. Perhaps
there is a much simpler way that I am missing entirely.
Thanks for your help.
-Brian
--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.