Hi, according to
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSTableViewDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intfm/NSTableViewDelegate/tableViewSelectionDidChange:
I added a delegate method to my script:
script Test
on tableViewSelectionDidChange_(aTableView)
log "selection changed"
end tableViewSelectionDidChange_
end script
I tried with/without parameters, but this method is never called. I am grateful for any hints!
Thanks
Lars
StefanK
#2
Hi,
have you set the script as the delegate of the table view in Interface builder ?
Dear Stefan,
I didn’t know that. Thank you very much for pointing me there! Now the method is being called as expected.
Regards
Lars