Can't figure out NSMatrix

I have looked everywhere, ADC, XCode dictionary, google searches, but I can’t figure out how to code NSMatrices. All I want to do is get the name of the currently selected cell. Any help?

Try something like this:

name of current cell of matrix 1 of window 1

Thanks, but now I have a new problem. I am trying to get the name of a cell, so when I say

set x to name of current cell of matrix "thematrix" of window "main"
	display dialog byteType

, it says that the variable “x” is not defined.

try title instead of name

name is what applescript reffers to it as, title is what the user will see.

Model: iMac Intel
Browser: Camino
Operating System: Mac OS X (10.4)