Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |

The find command

The find command locates text strings inside movie files that have a text track. If "backwards" is not used, find assumes search is forward.

find: find text in the movie

               find reference -- the movie to search

                    [text string] -- The text to search for

                    [backwards boolean] -- perform the search backwards?

               Result: integer -- the time at which the text is found

For example: 

tell application "QuickTime Player"

               tell first movie

                    find text "growth"

                    find text "growth" with backwards

               end tell

end tell


© 2000 Apple Computer, Inc.

Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |