How can I store a script, menu or key bindings for scripting in a document?
• Use the IDE deploy the Script to the user area as well as to the document. • Create the binding (key or menu) as normal using the [Assign Script] dialog to the user script which matches that in the document. • Restart office. • Select [Configure] from the [Tools] menu, select the appropriate tab (Keyboard or Menu). Click on the save button and select the document you wish to save the bindings to. • Due to an issue with deploying to document from an ide a couple of extra manual steps are needed. • You need to extract the parcel-descriptor file from the document you deployed to. • On Solaris/Linux the command is: unzip