creating quicktime workflow export audio files

Hi
New to the forum and to the world of applescripting.
I’d like to create a droplet where I can drop some WAV or AIFF sound files and Quicktime will automatically open another document, select all and add this audio to the files that have been dropped on the droplet.

I started out by just doing basic record commands and haven’t gotten much further.
It seems the Quicktime actions aren’t being recorded so can 't tell the proper syntax to do select all, copy and add and then export.

Any assistance would be greatly appreciated.

thanks much,
Andrew

You have to look through the Quicktime dictionary… under the file menu in script editor use the “open dictionary” item and choose quicktime player. All the commands are in there ie. copy/paste/select all etc.

for example. the “select all” command shows this
select all reference : the movie to select

Quickly looking through the dictionary I wrote this. Open 2 song files or movies in quicktime and run it to get an idea about the commands

tell application "QuickTime Player"
	select all movie 1 -- you can use numbers (1 or 2 etc.) to reference a movie. Movie 1 is the front movie.
	copy movie 1
	close movie 1
	
	make new movie
	paste movie "Untitled" -- you can use names to reference movies too. Look in the title bar of the movie to see its name
	
	select all movie 2
	copy movie 2
	close movie 2
	
	set begin_movie to 0
	set end_movie to duration of movie 1
	select movie 1 at end_movie to end_movie
	paste movie 1
	select movie 1 at begin_movie to begin_movie
	rewind movie 1
	save movie 1
end tell

thanks - will give it a shot.

A