Changes between Version 9 and Version 10 of SCRIPTING_ACTIONS_API_R0
- Timestamp:
- 07/16/09 09:50:05 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SCRIPTING_ACTIONS_API_R0
v9 v10 98 98 * Enum {{{org.sophie2.extra.func.scripting.logic.RunScriptLogic}}} implements {{{OperationDef}}} 99 99 * Move RUN_SCRIPT from {{{ScriptLogic}}} 100 * Wrap the script execution in a new {{{AutoChange}}} and register it to the script. 100 101 * ACTION_RUN_SCRIPT 101 102 * Use this when activating a {{{RunScriptLinkAction}}}. … … 113 114 * Class {{{JSApp}}} extends {{{ScriptableObject}}} 114 115 * {{{getClassName}}} returns "App". 115 * Create method {{{JSBook jsFunction_newBook()}}} which 116 * Create method {{{JSBook jsFunction_newBook()}}} which creates a new default book and adds it to the list of open documents. 116 117 * In {{{RunScriptLogic}}}: 117 118 * Use {{{ScriptableObject.defineClass(scope, JSBook.class);}}} to expose a given {{{ScriptableObject}}} to JavaScript.