Roxio Community: Scripting - Roxio Community

Jump to content

Roxio Community
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Scripting Is it even supported?

#1 User is offline   Ahoffner 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 13-August 07

Post icon  Posted 13 August 2007 - 08:20 PM

I was trying to mess with applescript to automate dvd burning via Popcorn 2, i patched together a quick trial for burning a video_ts folder to a disk, but I get errors.

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

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users