Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internet Connect & Airport



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.

References: 
 >Re: Internet Connect & Airport (From: Martin Orpen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.