NAME
quicktimetcl - namespace and variables
SYNOPSIS
package require QuickTimeTcl ?version?
DESCRIPTION
COMMANDS
quicktimetcl::canopen
quicktimetcl::debuglevel
quicktimetcl::systemui
VARIABLES
quicktimetcl::debuglog
quicktimetcl::effectfinished
quicktimetcl::patchlevel
quicktimetcl::version
SEE ALSO
KEYWORDS

NAME

quicktimetcl - namespace that contains commands and variables specific for the QuickTimeTcl package.

SYNOPSIS

package require QuickTimeTcl ?version?

DESCRIPTION

The QuickTimeTcl package creates the ::quicktimetcl:: namespace with commands and variables. See specific documentation for the commands.

COMMANDS

quicktimetcl::canopen fileName ?-allowall 0|1 -allownewfile 0|1 -type graphics|movie?
Returns a boolean telling if QuickTime is capable of open this file as anything useful. Note that this call can be slow since QuickTime needs to loop through all its import components to see if anyone fits.

-allowall boolean
(Default 0) If 1 it also includes files that are not normally considered to be QuickTime files, such as text files.

-allownewfile boolean
(Default 0) If 1 it also includes importers that may create a new file. Else only importers that import "in place" are considered.

-type graphics|movie
Restricts the search to only graphics importers or movie importers respecively. This usually speeds up the search.

quicktimetcl::debuglevel ?debugLevel?
Gets or sets the level of debug printouts. With the optional argument it returns the current debug level (defaults to 0). Hardcoded printouts start with debug level 2. Debug level 1 is reserved for your personal debugging session.

quicktimetcl::systemui ?( normal | contentsuppressed | contenthidden | allhidden )? ?switches?
Mac OS X only. Sets or gets the systems UI mode. Without any arguments it returns the current state. Note that the system UI mode is a per-process state. Switching from a process that is suppressing system UI to another process that is not will cause system UI elements to become visible automatically. Switching back to the first process will suppress system UI elements again. The modes are:

normal
In this mode, all standard system UI elements are visible.

contentsuppressed
In this mode, system UI elements which cover the "content area" of the screen (the area other than the menubar) are hidden. However, these elements may automatically show themselves in response to mouse movements or other user activity; specifically, the Dock will still show itself automatically when the mouse moves into the Dock's auto-show region.

contenthidden
In this mode, system UI elements which cover the "content area" of the screen (the area other than the menubar) are hidden. Unlike contentsuppressed, most UI elements will not automatically show themselves in this mode.

allhidden
In this mode, all system UI elements, including the menubar, are hidden. Most system UI elements will not automatically show themselves in this mode.
The switches. Note that you only supply the switches, and no values.

-autoshowmenubar
Requests that the menubar automatically show itself when the user moves the mouse into the screen area that would ordinarily be occupied by the menubar. Only valid with allhidden mode.

-disableapplemenu
Disables all items in the Apple menu. Valid for all modes.

-disableprocessswitch
The active application may not be changed while this process is active. Currently disables the Command-Tab and Command-Shift-Tab key sequences to switch the active process, and the global window rotation key sequence selected by the user in the Keyboard preference pane. Only valid with modes other than normal.

-disableforcequit
The Force Quit window may not be displayed while this process is active. Currently disables the Command-Option-Escape key sequence to open the Force Quit window and the Force Quit menu item in the Apple menu. Only valid with modes other than normal.

-disablesessionterminate
The current login session may not be terminated while this process is active. Currently disables the Power key and the Restart, Shut Down, and Log Out menu items in the Apple menu. Only valid with modes other than normal.

VARIABLES

quicktimetcl::debuglog
Boolean variable used to control if any debug output should also be written to a logfile. If true debug data is written to _QTTclDebug.txt in the current directory.

quicktimetcl::effectfinished
Variable used in the effect dialog. It is set -1 when the effect command returns, and is 0 if user cancelled, 1 if user pressed the OK.

quicktimetcl::patchlevel
Variable containing the QuickTimeTcl patchlevel. This may be a combination of the version number, and a sequence of digits and letters.

quicktimetcl::version
Variable containing the QuickTimeTcl version number in the form major.minor.

SEE ALSO

movie, seqgrabber, and tk_getOpenFilePreview

KEYWORDS

movie, and QuickTime
Copyright © 1998-1999 Bruce O'Neel 
Copyright © 2000-2004 Mats Bengtsson