* Mathias Bauer <[EMAIL PROTECTED]> [070406, 09:33]: > Ennio-Sr wrote: > > > Hi all! > > [OOo-2.0.2-6 on Gnu/Linux - i386] > > > > I have two versions of the same Calc spreadsheet: file.sxc and file.ods. > > A particular keyboard configuration for this file was saved in a file > > named AAA-KbdCfg using the Organize Macros command ; then I saved an > > OO-Basic macro to automatically load 'AAA-KbdCfg': > > > > # rem ################################################################## > > # sub kbd_cfg_macro > > [...] > > rem ##################################################################### > > > > and included a call to this ('Kbd_cfg_macro') in another macro > > started automatically when the file is opened. > > > > Now, if I open file.sxc, the 'Kbd_Cfg_macro' starts regularly and > > the "Customize" menu appears, where from I can hit 'Load' and choose the > > 'AAA-KbdCfg' file, whereas opening the .ods file nothing happens! > > Did you check wether the ods file contains the event binding of your > macro? And are you sure that the bound macro is started when the > document is loaded? >
Hi Mathias, The answer was 'yes' for both your questions. However, by now I've re-obtained the same performance as I had under 1.1.4 after re-building the file containing the keyboard configuration ('AAA-KbdCfg'). Just for the history: Unfortunately, I cannot tell which one was the right move ... Having changed a few times re-assignment of the bound macro (switching between 'start application' and 'open document') in the end it started to work up to a certain point: I was being presented with the Tools -> 'Customize' menu (with the 4 tags: Menus-Keyboard-Toolbars-Events) evidencing the 'Events' menu (i.e. the last one I had used to bind the event): when I realized that (remember, I was expecting the menu with the 'Load' tag!), it was sufficient to click on the 'keyboard' tag, save the file and then, when re-opening it everything was in order ;-). Thanks so much for your help. Best regards, Ennio. -- [Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo. \\?// Fa' qualche cosa di cui non sei capace!" (diceva Henry Miller) ] (°|°) [Why use Win$ozz (I say) if ... "even a fool can do that. )=( Do something you aren't good at!" (as Henry Miller used to say) ] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]