Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |

The open command

The open command opens a file or list of files. 

open: Open the specified file(s)

               open reference -- list of files to open

For example: 

tell application "QuickTime Player"

               open file "Macintosh HD:QuickTimeTM Folder:Sample Movie

end tell

Note:   If you specify a single file to open, it replaces the current movie within the window. In special cases, if you open multiple movies, the first movie respects that setting; all successive movies will open up in their own window.


© 2000 Apple Computer, Inc.

Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |