Im trying to get it so, when a buttoncell is click that row is removed from the table. Can somebody help me out with this or tell me if I need to post more detail about my applescript
global theTable
on awake from nib theObject
set theTable to table view "tv" of scroll view "sv" of window "main"
set content of theTable to {{"file0", 0}, {"file1", 0}, {"file2", 0}, {"file3", 0}, {"file4", 0}, {"file5", 0}}
end awake from nib
on cell value changed theObject row theRow table column tableColumn value theValue
if name of tableColumn is "buttons" then
delete data row theRow of the data source of theTable
end if
end cell value changed
the button cell column’s applescript name is ‘buttons’ of course …