What's New in QuickTime 4.1

| Previous | Chapter Contents | Chapter Top | Next |

The exists command

The exists command verifies that an object exists.

exists: Verify if an object exists

exists reference -- the object in question

Result: boolean -- true if it exists, false if not

For example:

tell application "QuickTime Player"

tell movie 1

if exists track "Video Track" then export to file¬ Macintosh HD:Desktop Folder:Sample Movie.pict" as¬

picture

end tell

end tell


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |