Call method iDVD

I d like to use a call method instead tell application “iDVD”

Does anyone know how i could do it and where i could find informations?

Here is the code i d like to substitue:


tell application "iDVD"
launch
activate
new project name (nom_projet as text) path the POSIX path of ((new_file_folder as text) & (nom_projet as text)) save current "NO"
set the assigned theme of current menu to theme_idvd & " Main"
set title of current menu to (nom_projet as text)
set the_movie to the POSIX path of (new_file as text)
set this_movie to make new movie at end of movies of current menu with properties {path:the_movie}
automatically fill drop zones in current menu
save project
quit
end tell

Hi,

if you want to create a video DVD with themes without iDVD.app
you have probably implement all the DVD authoring frameworks from inside iDVD.app
into your project and write a bunch of code directly in Obj-C.

If you want to involve iDVD.app in creating the video DVD, why do you want to use call method?
AppleScript can do it the same way

Cause when a user who does not have idvd app wants to use my software he has to choose idvd app at the launch of the application as it s called by the applescript.

Maybe you know a way to prevent this.