Inline Script response type
Event handlers with an Inline Script response type allow you to place the text of a short script into the Parms field on the Event Handler Properties properties sheet.
Note: You can use the Inline
Script response type only if the entered script (including parameters) is
less than 1,500 characters. If your script has more than 1,500 characters, use the
Run Script response type that accesses
application objects and data through the scripting API.
A return value of zero (0) from the script indicates it was successful. A return of a non-zero value indicates failure.