selectedObject

returns the name of the selected object or objects.

# Metadata

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

# Syntax

the selectedObject

# Examples

the selectedObject

set the lockText of the selectedObject to true

repeat with x = 1 to the number of lines of the selectedObjects

# Description

Use the selectedObject function to perform an action on all the selected objects.

# Tags

# See

- **property:** ID, selectGroupedControls, selected - **command:** group - **function:** target - **control structure:** function - **glossary:** property, return, object