Assistance with Toast 8 Export Applescript

Hi Everyone,
This is my first attempt at writing an applescript (please see below). I would like the applescript to do the following:

    • open Toast Titanium to a DVD-Video format
    • add all files from a folder on my desktop (entitled “new folder”)
    • export these files into the iPhone format (that is preset in Toast 8) to a second folder on my desktop (entitled “new folder 2”)
  1. “ [optional] remove files from “new folder” and place in Trash

Any help on making this applescript a reality would be greatly appreciated, as I am tired of manually doing these actions on Toast 8.

My attempt at the script:
tell application “Toast Titanium”
launch
set Folder to folder “HD:Users:mike:desktop:new folder:”
add Folder to video disc
set Folder2 to folder “HD:Users:mike:desktop:new folder:”
export Folder to “HD:Users:mike:desktop:new folder2:”
as iPhone
end tell

Using Toast 9 (sorry I don’t have 8 around here anymore) this works… notice that there is no need to actually make a video DVD disc to do the export.

set deskPath to path to desktop as Unicode text
set vidPath to (deskPath & "new folder") as alias
set expPath to (deskPath & "new folder2") as alias

tell application "Finder"
	try
		set vidList to every file of entire contents of vidPath as alias list
	on error
		set vidList to every file of entire contents of vidPath as alias as list
	end try
end tell

tell application "Toast Titanium"
	export vidList as iPhone to expPath
end tell