| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
| <HTML> |
| <head> |
| <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252"> |
| <TITLE>FAQ</TITLE> |
| <META NAME="GENERATOR" CONTENT="StarOffice 6.0 (Win32)"> |
| <META NAME="CREATED" CONTENT="20021203;15313500"> |
| <META NAME="CHANGED" CONTENT="20030318;19405289"> |
| </head> |
| <body LANG="en-US"> |
| <H1><A NAME="top"></A>Frequently Asked Questions for the Office |
| Scripting Framework</H1> |
| <H2>Questions</H2> |
| <OL> |
| <P STYLE="margin-bottom: 0cm"></P> |
| <LI><P STYLE="margin-bottom: 0cm"><A HREF="#3">I have removed the |
| examples provided with the Script Framework installation and |
| installed my own but the script in ExampleSpreadSheet.sxc still |
| works. Why?</A> |
| </P> |
| <LI><P STYLE="margin-bottom: 0cm"><A HREF="#4">How can I store menu |
| or key bindings for scripting in a document?</A> |
| </P> |
| <LI><P STYLE="margin-bottom: 0cm"><A HREF="#5">Why is there a delay |
| in starting the first script?</A> |
| </P> |
| <LI><P><A HREF="#6">Why do I have to use one dialog to work with |
| StarBasic macros [Tools/ Configure] and another to work with my new |
| Java scripts [Assign Script...]?</A> |
| </P> |
| </OL> |
| <H2>Answers</H2> |
| <OL> |
| <LI><P><A NAME="3"></A>I have removed the examples provided with the |
| Script Framework installation and installed my own but the script in |
| ExampleSpreadSheet.sxc still works. Why? |
| </P> |
| <P>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. |
| </P> |
| <P STYLE="margin-bottom: 0cm"><A HREF="#top">Top</A> |
| </P> |
| <LI><P><A NAME="4"></A>How can I store a script, menu or key |
| bindings for scripting in a document? |
| </P> |
| </OL> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0cm"><FONT COLOR="#000000">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.</FONT></P> |
| </UL> |
| <OL START=0> |
| <P STYLE="margin-bottom: 0cm"><A HREF="#top">Top</A> |
| </P> |
| <LI><P><A NAME="5"></A>Why is there a delay in starting the first |
| script? |
| </P> |
| <P>The delay is caused by the startup of the inprocess JVM by |
| OpenOffice. |
| </P> |
| <P STYLE="margin-bottom: 0cm"><A HREF="#top">Top</A> |
| </P> |
| <LI><P><A NAME="6"></A>Why do I have to use one dialog to work with |
| StarBasic macros [Tools/ Configure] and another to work with my new |
| Java scripts [Assign Script...]? |
| </P> |
| <P>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. |
| </P> |
| <P><A HREF="#top">Top</A> |
| </P> |
| </OL> |
| <HR> |
| <P>Last Modified: Tue Mar 12 11:40:28 GMT 2003 |
| </P> |
| </body> |
| </HTML> |