Both the script and the Key bindings are contained in the document itself, at the moment the [Assign Script] dialog does not display scripts or bindings stored in documents.
In order to save a script event binding to a menu item or key into a document there are two steps which must be followed. Firstly, set up the binding in the usual way using the "Assign Script To ..." dialog. Then open the Tools->Configure dialog, and select the "Menu" tab. Click the "Save" button, select the document into which you wish to save the binding, and click "Save". You will be prompted with a dialog that says "The file already exists. Overwrite?". It is OK to click "Yes" as this will simply write the bindings into the file. Saving a binding to an event into a document can be done by clicking the "Document" radio button in the "Assign Script to Event" dialog.
The delay is caused by the startup of the inprocess JVM by OpenOffice.
The StarBasic macros are completely separate from and do not use the Scripting Framework. As such they use their own configuration and settings dialogs. In the future the Scripting Framework and StarBasic dialogs will be integrated so users have one consistnet way of working with macros/ scripts, regardless of which language they have been written it.
Last Modified: Tue Mar 12 11:40:28 GMT 2003