playSelection

Specifies whether a player plays back its entire movie or sound, or only the selected portion.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

set the playSelection of player to {true | false}

# Examples

set the playSelection of player "Scan" to true

# Description

Use the playSelection property to play a selected portion of a movie or sound.

If the playSelection property is set to true, the play command only plays the section between the startTime and endTime.

If the playSelection is false, the play command plays the entire movie or sound, even if a smaller portion has been selected.

# Tags

# See

- **keyword:** player - **property:** endTime, showSelection, startTime, selected - **command:** play - **glossary:** property, command