cut scenes from a QT movie

Hello everyone!

I’m trying to copy portions of a movie in Quicktime7.

I’ have tried something similar time ago but now I have to use this in another way.

I have a txt file with indicate the frame range to cut:
first line scene 1 start
second line scene 1 end
third line scene 2 start
fourth line scene 2 end

I’d like to copy every scene and paste it in order into a new movie.

is this a good way to start?

tell application "QuickTime Player 7"
	set i to 10
	set o to 100
	copy at i to o
end tell

how can I use frames?

Any suggestion are welcomed!