Frequently Asked Questions for the Office Scripting 枠組み
Questions
Answers
I have 除去するd the examples 供給するd with the Script 枠組み 取り付け・設備 and 任命する/導入するd my own but the script in ExampleSpreadSheet.sxc still 作品. Why?
Both the script and the 重要な bindings are 含む/封じ込めるd in the 文書 itself, at the moment the [割り当てる Script] dialog does not 陳列する,発揮する scripts or bindings 蓄える/店d in 文書s.
How can I 蓄える/店 a script, menu or 重要な bindings for scripting in a 文書?
ーするために save a script event binding to a menu item or 重要な into a 文書 there are two steps which must be followed. Firstly, 始める,決める up the binding in the usual way using the "割り当てる Script To ..." dialog. Then open the 道具s->Configure dialog, and select the "Menu" tab. Click the "Save" button, select the 文書 into which you wish to save the binding, and click "Save". You will be 誘発するd with a dialog that says "The とじ込み/提出する already 存在するs. Overwrite?". It is 承認する to click "Yes" as this will 簡単に 令状 the bindings into the とじ込み/提出する. Saving a binding to an event into a 文書 can be done by clicking the "文書" 無線で通信する button in the "割り当てる Script to Event" dialog.
Why is there a 延期する in starting the first script?
The 延期する is 原因(となる)d by the startup of the inprocess JVM by OpenOffice.
Why do I have to use one dialog to work with StarBasic 大型のs [道具s/ Configure] and another to work with my new Java scripts [割り当てる Script...]?
The StarBasic 大型のs are 完全に separate from and do not use the Scripting 枠組み. As such they use their own configuration and settings dialogs. In the 未来 the Scripting 枠組み and StarBasic dialogs will be 統合するd so 使用者s have one consistnet way of working with 大型のs/ scripts, 関わりなく which language they have been written it.
Last 修正するd: Tue 損なう 12 11:40:28 GMT 2003