Re: Internet Connect & Airport
Re: Internet Connect & Airport
- Subject: Re: Internet Connect & Airport
- From: Gary Lists <email@hidden>
- Date: Sun, 30 Nov 2003 15:06:06 -0500
- Http: //bau2.uibk.ac.at/sg/python/Sounds/HolyGrail.wav/taunt.wav
On or about 11-30-03 5:28 AM, Martin Orpen wrote:
>
tell application "Internet Connect"
>
properties of AirPort configuration "Airport"
>
end tell
>
>
--> {status:status of AirPort configuration "AirPort" of application
>
"Internet Connect", network type:1, AirPort power:true, class:AirPort
>
configuration, name:"AirPort", base station ID:"00:0A:95:F2:D1:D0", network
>
name:"daymer", signal level:90}
>
>
I can see the status, connection speed, time connected and time remaining in
>
the Internet Connect window - but can't retrieve the information.
>
>
The stuff is all in the dictionary under "status record" but every time I
>
try and get to it I get "NSCannotCreateScriptCommandError" :(
I don't have Internet Connect, but I looked at the published dictionary
(thanks to Ben Waldie's work, I got the dictionary as a PDF from
MacScripter.net), and 'state' and 'speed' are properties in the 'status
record', so I don't think you've drilled down far enough.
Admittedly, I am not the most proficient decipherer of AS dictionaries, but
did you try constructions like:
state of status of AirPort configuraion "Airport"
or
speed of status of AirPort configuration "Airport"
--
Gary
MacOS 9.1 / "9 is Fine"
_______________________________________________
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.