home *** CD-ROM | disk | FTP | other *** search
/ QuickTime for the Web (2nd Edition) / QuickTime for the Web (2nd Edition).iso / pc / AppleScript / QUICKTIME 5.0.2 SCRIPTS / Example Files / Track Syntax Examples / add frame to end of text trac < prev    next >
Encoding:
Text File  |  2001-06-04  |  314 b   |  10 lines

  1. tell application "QuickTime Player"
  2.     launch
  3.     activate
  4.     stop every movie
  5.     -- make an example text track
  6.     make new movie
  7.     set this_track to make new track at movie 1 with data "Hello World!"
  8.     -- add frame to end of text track
  9.     set this_frame to make new frame at end of this_track with data "Goodbye World!"
  10. end tell