Error -2003 / QuickTime
Error -2003 / QuickTime
- Subject: Error -2003 / QuickTime
- From: "Miklos L. Ranky" <email@hidden>
- Date: Wed, 13 Mar 2002 21:29:12 +0100
Hi all,
I have a problem which I can't solve:
We have 200+ videos which have to be modified because they take too much
space and they have to fit on 1 cd. So I decided to make an applescript to
automate things, but as it is my first ever applescript I have problems. I
get a -2003 error when I get to the: Set the chosen_smallmov... Part
********************************
property smallmov_pos : {0, 0}
property smallmov_dim : {144, 116}
tell application "QuickTime Player"
launch
activate
stop every movie
try
--Create track with a picture
set the chosen_image to choose file of type {"JPEG", "GIFf", "PICT",
"TIFF"} with prompt "Select Background Image"
make new movie
set the full text of annotation "Full Name" of movie 1 to "Test Mov"
set this_track to make new track at movie 1 with data chosen_image
--Create track with a small mov
set the chosen_smallmov to choose file of type {"mov"} with prompt
"Select Small Movie"
set this_track to make new track at movie 1 with data
chosen_smallmov
tell this_track
set the position to smallmov_pos
set the dimensions to smallmov_dim
end tell
on error error_message
beep
display dialog error_message buttons {"OK"} default button 1
end try
end tell
********************************
Thanks:
Mickey
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.