-- this applescript is intended to be called from MP after various substitutions -- are done. set the_movie_path to "movie_path_string" set the_movie_title to "movie_title_string" set send_images to send_images_0_or_1 set image_count to image_count_sub set image_file_list to { image_file_list_string } set posix_file_images to {} -- convert paths to posix files repeat with image_path in image_file_list copy POSIX file image_path to the end of posix_file_images end repeat set the_movie to "" if the_movie_path ­ "" then set the_movie to POSIX file the_movie_path end if if the_movie_title = "" then set the_movie_title to " " end if tell application "%@" activate set the_disc to make new Video disc tell the_disc set disc format to DVD set create menu to true set name to the_movie_title if the_movie ­ "" add to it items the_movie set track_num to number of tracks -- we modify the first menu text line and set the third line to an empty string set description1 of video track track_num to the_movie_title set description3 of video track track_num to " " -- the first frame of the movie is going to be our menu thumbnail set preview picture of video track track_num to 3 end if if send_images = 1 then if (count of posix_file_images) > 0 then add to it items posix_file_images set track_num to number of tracks -- we modify the first menu text line and set the third line to an empty string set description1 of video track track_num to the_movie_title set description3 of video track track_num to " " -- the first frame of the movie is going to be our menu thumbnail set preview picture of video track track_num to 1 end if end if end tell end tell