How would I go about returning the value of a selected cell on a button press?
I have a table view with a list of times in it.
I would like to select one of the values and then on a button press make quicktime go to that value
I know how to do the Quicktime scripting I just need to get the value from the table view
I am currently trying this
with time being the table column containing the values I need to select
property ThisEntry : time's representedObject
on GoTo_(sender)
tell application "QuickTime Player"
set ToTal to get current time of document 1
if document 1 is playing then
step backward document 1 by ToTal * 4
step forward document 1 by ThisEntry * 4
play document 1
else
step backward document 1 by ToTal * 4
step forward document 1 by ThisEntry * 4
end if
end tell
end GoTo
I have also tried
time's takeStringValueFrom
any suggestions?
Thanks
B