Almost there with bindings
Almost there with bindings
- Subject: Almost there with bindings
- From: "John C. Welch" <email@hidden>
- Date: Wed, 26 May 2010 17:52:38 -0400
- Thread-topic: Almost there with bindings
Title: Almost there with bindings
Okay, so going back to bindings:
I've got things to where the value is set everywhere but in the UI. The property I'm binding to is:
property currentSSID : "" --the SSID you're currently connected to
I’m setting the value in a seemingly correct manner:
set currentSSID to theCurrentInterface's ssid() --you have to do it this way with bindings
log "the currentInterface's ssid(): " & theCurrentInterface's ssid()
log "currentSSID: " & currentSSID
Which gives me the correct log messages:
2010-05-26 16:43:47.651 WiFi Analyzer[3644:a0f] the currentInterface's ssid(): zimmerman.com
2010-05-26 16:43:47.652 WiFi Analyzer[3644:a0f] currentSSID: zimmerman.com
When I run the code that saves things to a tab-delimited file, the ssid is saved there correctly too. So it’s just displaying it in the UI that’s buggered.
Bindings settings for the field: <http://homepage.mac.com/jcwelch/bindingstab.png>
Connection settings for the field: <http://homepage.mac.com/jcwelch/connectionstab.png>
Text field settings: <http://homepage.mac.com/jcwelch/textfieldstats.png>
I can’t see a reason why it’s not showing up in the field in the UI at all.
--
"It is generally inadvisable to eject directly over the area you just bombed."
U.S. Air Force Manual.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden