NSMatrix
I have been trying to preselect a radio button, and cannot figure out a way to do it in AppleScriptObjC.
I also tried to get the value of the selected radio button instead of the index, but could not make that work.
I can get the selectedIndex, but not the text value ?
I just tried this, but pretty much knew it was not going to work…
set whichPriority to get current row of matrix “aArrangePriority”
This does not seem to work in AppleScriptObjC, what am I missing ?
http://macscripter.net/viewtopic.php?id=13131
set current row of matrix “MatrixName” of window “WindowName” to 1
get current row of matrix “MatrixName” of window “WindowName”
get name of current cell of matrix “MatrixName” of window “WindowName”
set enabled of cell “CellName” of matrix “MatrixName” of window “WindowName” to false
Here’s a message I left Craig
AppleScriptObjC in Xcode Part 4 - Saving, Updating & Deleting
http://macscripter.net/viewtopic.php?id=30359
Craig,
You refer to setTheStatus_ , and I tried to find :
On setTheStatus_(thisBook’s valueForKey_(“theStatus”))
But could not find the handler in any of the five documents.
I have been trying to preselect a radio button, and cannot figure out a way to do it.
I created a binding on the elementIndex to a variable. If I change the selected radio button manually I can get the selectedIndex and display it, but I can’t for example select the 3rd radio button while it loads the page.
I also tried to get the value of the selected radio button instead of the index, but could not make that work
I would like to save the selected radio button to a plist, then reload it the next time I launch.
I would like to trigger a script when a different radio button is selected. I am not sure if I will have to select each radio button individually and control drag to the app delegate, or whether you can select all three and do the control drag.
Thanks for any help you can provide…
Bill Hernandez
Plano, Texas