Hi,
I've created a sample document with some macros.
The document is available here:
http://drop.io/OOoTestDocuments
The document contains a custom toolbar with two buttons:
Start Accessibility
Launch a macro that register a listener on all menu / menu items
the event handler routine intercept the event FOCUSED and stores
the menuitem caption into an array
Stop Accessibility
unregister all the listeners and creates a logfile with the
content of the array previously created.
In practice the log file contains the "history" of all the menu
items selected by the user.
Before to run the code you have to adapt the logfile path to your system
This is defined in the beginning of the starbasic module containig the
macros:
Const LOGFILE = ....
The code runs without any errors but is extremely unstable and crashes
very often when you're playing with menus.
I have been unable to find any reasons for that behaviour, so I'm asking
here for your suggestions
I'm runnig OOo 3.0.1 (300m15 build:9379), SO:Linux/Ubuntu 8.10
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Thanks
Paolo Mantovani
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org