I’ve been looking for a way to insert my files in between two other files in a Toast project.
Could anyone give me some pointers how to do this please?
Here’s what I’ve tried - without luck so far:
tell application "Finder" to set files_to_add to every file of sourceFolder as alias list
set mov1 to "mov1"
set mov2 to "mov2"
tell application "Toast 10 Titanium"
open thefile
set toast_project to current disc
add to toast_project items files_to_add
set insertion point of files_to_add to {"mov1", "mov2"}
delay 3
write toast_project with asynchronous completion without asking
delay 3
tell application "System Events"
keystroke return
try
tell application "Toast 10 Titanium" to quit without saving
end try
end tell
end tell
I’ve tried searching these forums for “Insertion Point” but can’t really put together anything I’ve found yet, so any help would be very much appreciated.
Thanks in advance