Looking closer at the applescript Dictionary entry for Popcorn, actions needed to do this (like 'add to') are listed under "Toast Suite". Does this mean they are simply inherited from Toast or that they only work in Toast?
I saw in the process of searching Google for help that one of the updates to this software lists "Can now correctly pass a VIDEO_TS folder directly to Popcorn via AppleScript" as a new feature, suggesting this should be somehow possible. Does anyone know how?
Thanks in advance.
CODE
set VTSpath to (choose folder with prompt "Choose a VIDEO_TS folder:")
tell application "Finder"
set fls to entire contents of VTSpath as alias list -- file list
set fn to name of container of VTSpath -- name of parent folder
end tell
tell application "Popcorn"
set myDisk to make new Video disc with properties {disc format:DVD, name:fn}
add to myDisk items fls
end tell
tell application "Finder"
set fls to entire contents of VTSpath as alias list -- file list
set fn to name of container of VTSpath -- name of parent folder
end tell
tell application "Popcorn"
set myDisk to make new Video disc with properties {disc format:DVD, name:fn}
add to myDisk items fls
end tell

Help
Roxio Community



