Scripting Additions Guide
Table Of Contents
CHAPTER 2
Scripting Addition Commands
Command Definitions 55
display dialog "round -3.67 toward zero: " & ¬
(round -3.67 rounding toward zero) & return & ¬
"round 3.67 toward zero: " & ¬
(round 3.67 rounding toward zero)
display dialog "round -3.67 to nearest: " & ¬
(round -3.67 rounding to nearest) & return & ¬
"round 3.67 to nearest: " & ¬
(round 3.67 rounding to nearest)
ERRORS
Run Script 2
The Run Script command runs a specified script or script file. It is the only
command provided by the Run Script scripting addition.
SYNTAX
run script referenceOrString ¬
[ with parameters listOfParameters ] ¬
[ in scriptingComponent ]
Error
number Error message
–50 Parameter error.
–108 Out of memory.
–1700 Can't make some data into the expected type.
–1701 Some parameter is missing for <commandName>.
–1704 Some parameter was invalid.
–1705 Operation involving a list item failed.
–1708 <reference> doesn't understand the <commandName> message.
–1718 Reply has not yet arrived.