Error getting tags :
error 404Error getting tags :
error 404 editScript | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
editScript
Basics
Expander triangle
Type
Message
Syntax
editScript objectID
See Also
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to the current card when the object's script is opened with the edit command.
Examples

on editScript theObject -- save current script before editing
set the oldScript of theObject to the script of theObject
pass editScript
end editScript

Additional Comments
Expander triangle

Handle the editScript message if you want to intercept attempts to edit a script via the message box or a handler.

Parameters:

The objectID is the long ID property of the object whose script is about to be opened.

Comments:

The editScript message is sent when you use the edit command in a handler. However, it is not sent when the development environment is active.

User Comments
Expander triangle