Drag and drop files as object

Look what i have


tell table view "table_video" of scroll view "scroll_video" of window current_window
		set selected_rows to selected data rows
end tell
	set numselect to count selected_rows
	if numselect > 0 then
		tell window current_window
			repeat with this_row in selected_rows
				display dialog this_row as string ?????
				delete this_row
				set myVideoList to items 1 thru (row_index - 1) of myVideoList & items (row_index + 1) thru -1 of myVideoList
			end repeat
		end tell
	end if

how can i get the row_index?

sorry, I’m not very familiar with table view.
Maybe you can find a solution in the sample projects in /Developer/Examples/AppleScript Studio/
There are some containing tables

I was confused between data rows and rows


	tell table view "table_video" of scroll view "scroll_video" of window current_window
		set selected_data_rows to selected data rows
		set selected_rows to selected rows
	end tell
	set numselect to count selected_data_rows
	if numselect > 0 then
		tell window current_window
			repeat with this_row in selected_rows
				set this_row to this_row as integer
				if this_row = 1 then
					set myVideoList to items 2 thru -1 of myVideoList
				else if this_row = (count of myVideoList) then
					set myVideoList to items 1 thru (this_row - 1) of myVideoList
				else
					set myVideoList to items 1 thru (this_row - 1) of myVideoList & items (this_row + 1) thru -1 of myVideoList
				end if
			end repeat
			repeat with this_row in selected_data_rows
				delete this_row
			end repeat
		end tell
	end if