pendingMessages

returns a list of messages that have been scheduled with the send command, but not yet delivered.

# Metadata

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

# Syntax

the pendingMessages

# Examples

the pendingMessages

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

# Description

Use the pendingMessages function to check whether a message has been sent yet, or to perform some action on each pending message.

The time the message is scheduled for is in the same format as the long seconds form of the seconds function.

Once scheduled, a message cannot be changed. You can cancel a pending message with the cancel command, and re-send it with the send command.

# Tags

# See

- **keyword:** items - **command:** cancel, send - **glossary:** property, message, command, return, object - **control structure:** function