• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
QuickTime Player records this but won't play it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuickTime Player records this but won't play it


  • Subject: QuickTime Player records this but won't play it
  • From: Kevin Carter <email@hidden>
  • Date: Sun, 8 Jun 2003 09:59:51 -0400

The AppleScript needs to set the mask for a video track.
The format to do so is supposed to be:

set mask of track "Video Track" of movie 1 to file "HD_0:foo.mov"

I can do this within the QuickTime Player GUI and record the outcome in Script Editor, but executing the script always produces the following error:
(*error number -10006: QuickTime Player got an error: Can't set mask of track "Video Track" of movie 1 to file "HD_0:Users:kcarter:Desktop:QTbitmask2.pct".*)

Any suggestions will be welcomed, but it looks like a BUG in QuickTime to me.

Quicktime Player 6.2, QuickTime 6.2 on MacOS X 10.2.6.



tell application "QuickTime Player"
open file ((choose file with prompt "the movie file?") as string)
activate
try
set mask of track "Video Track" of movie 1 to file ((choose file with prompt "the mask file?") as string)
on error err_msg number err_num
log "error number " & err_num & ": " & err_msg -->
end try
end tell
_______________________________________________
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.
  • Prev by Date: Re: Remove extra spaces from a string
  • Next by Date: 'vCard' exporting with 'Palm Desktop' Version 4.1
  • Previous by thread: Re: Delete me...
  • Next by thread: 'vCard' exporting with 'Palm Desktop' Version 4.1
  • Index(es):
    • Date
    • Thread