newEPS

Sent to a new EPS right after it's created.

# Metadata

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

# Syntax

newEPS

# Examples

on newEPS -- warn the user if not supported if the platform is "MacOS" or the platform is "Win32" then answer "EPS objects are not supported on this system." with "Sorry" end if end newEPS

# Description

Handle the newEPS message if you want to create additional objects, switch tools, or do other tasks when a new EPS is created.

Normally, the newEPS message is handled at a higher level of the message path, since the newly-created EPS does not yet have a script unless the templateEPS contains one.

The actual creation is not triggered by the newEPS message, so trap the message and not allowing it to pass does not prevent the EPS from being created.

# Tags

# See

- **property:** script - **command:** copy, clone, paste - **glossary:** object, trap, EPS, message, tool, message path - **control structure:** pass