Need help to fix script: Automator - filter and merge qt movies


I need some help to fix an applescript that I’m using inside an automator workflow.

I have a folder filled with quicktime movies. Each movie is a shot in a sequence / scene. I want to filter and merge all
movies together and make a new movie.

I have found a script that can merge moves together but it generates an error inside automator.

  • Expected end of line but found number -

Applescript found here:

My automator workflow here:

It would be nice if chapter markes was added to the new file. Each chapter has the name of the original file.

Any help appreciated