How can I receive a notification that a tableview row has been clicked, I understand the selectedRow command but not how to use this on a click. Thanks
Make your script the delegate of the table, and implement one of the methods like tableView:shouldSelectRow:.