QuickTime.SetFullScreen

boolean QuickTime.SetFullScreen ( 

string  ObjectName,

boolean FullScreen,

boolean HideCursor = false,

number  Sizing = 2,

number  Monitor = 0 )

Description

Controls whether a QuickTime object will play in full screen mode or at its normal size.

Parameters

ObjectName

(string) The name of the QuickTime object.

FullScreen

(boolean) Whether to make the QuickTime object play in full screen mode:

VALUE

DESCRIPTION

true

Full screen playback.

false

Normal playback.

HideCursor

(boolean) Whether or not to hide the cursor:

VALUE

DESCRIPTION

true

Hide the cursor.

false

Don't hide the cursor. (Default)

Sizing

(number) How the media will be sized in full screen mode:

CONSTANT

VALUE

DESCRIPTION

qtFullScreenMovieFitsMonitor

1

The media will be sized to fit the monitor. This setting ignores the media's aspect ratio.

qtFullScreenMovieFitsMonitorMaintainAspectRatio

2

Fit the media within the monitor while maintaining the original aspect ratio for the file.

qtFullScreenMovieCenteredInMonitor

3

Center the media within the monitor. The media will not be resized in any way.

Monitor

(number) The index (zero-based) of the monitor where the media will be played in full screen mode.

Returns

(boolean) True if full screen mode was successful, false if it wasn't. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions