On Saturday 24 July 2010 06:09, Andrew Douglas Pitonyak wrote: > Question: What is the starting point? I mean, how does the user > obtain the code? Is this a copy and paste thing
Yes, it's just some Basic, which has to be copypasted from http://wiki.services.openoffice.org/wiki/User:TJFrazier/WikiBasic > If desired, this could easily turned > into an extension with a menu. This would be rather fine, I think, as it would reduce the amount of technical overhead needed to do a - completely different - job for an author. Could you and TJ be so kind and take this job to put the Code into an extension? > You must choose where to store the macros. If the macros are > frequently used, perhaps they can be stored in the Standard Library. > My recommendation, however, is that they be stored in a specific > library. Perhaps I will name the library TJLib. > > 1. Use Tools > Macros > Organize Macros > OpenOffice.org Basic to > open the OOo Basic Macros dialog. > 2. Click the organizer button to open the macro organizer. > 3. Click on the Libraries tab. > 4. Make certain that the Location drop-down displays "My Macros & > Dialogs". 5. Click the New button. For the library name, use TJLib > (or pick a more appropriate name). > 6. Click the Modules tab. > 7. Select TJLib and expand the entries. There should be a module > shown as "Module1". In the unlikely event that it does not exist, > Select TJLib and click on New and create Module1. > 8. Select Module1 in the TJLib and click Edit to open the Basic IDE. > 9. In the Basic IDE, copy all of TJ's code and replace what ever is > already in the IDE. > 10. There is more than one way to run the macro. Press F5 to run the > macro. You can also click on the "Run Basic" button in the toolbar. Thank you for detailed desciption, I added it to the usage instructions on TJ's wiki page. Nino --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
