Dear all,
I am very new to AppleScript, this might be stupid problem but I am trying since hours and don’t know what the problem is. I want to add some movies to a magic DVD menu. This is my code - it opens iDVD and even creates a new “magic DVD” with the right title and theme but no movies are added:
tell application "iDVD"
activate
create magic iDVD
start magic iDVD theme "Portfolio" title "MyTest"
add movie for magic iDVD with path ":Users:MEL:Movies:00005.mov"
end tell
the event log shows:
tell application "iDVD"
activate
create magic iDVD current application
missing value
start magic iDVD current application theme "Portfolio" title "MyTest"
missing value
add movie for magic iDVD current application with path ":Users:MEL:Movies:00005.mov"
missing value
end tell
I don’t know what all the “missing value” does in there? this is the description from the lib:
add movie for magic iDVD‚v : Add a movie to the list of assets used for the Magic iDVD project
add movie for magic iDVD specifier : the object for the command
with path text : full path to the movie
→ integer
How do I use the “v” parameter?
Any suggestion is welcome
Markus
Browser: Safari 533.18.5
Operating System: Mac OS X (10.5)