2007/5/18, TerryJ <[EMAIL PROTECTED]>:
Siegfried Wolkenstein wrote: > > Hello, > > I wrote a macro with some dialogs. Now I would like to give it to someone > who > needs it. How can I provide him with an easy method of installing my > macros? > Also I don't know how export the macros nor the dialogs. > > Thanks > Hello, If you feel adventurous, you could try the Extensions Packager: http://wiki.services.openoffice.org/wiki/Extensions_Packager Otherwise, the simplest way is probably to copy the files in your user settings folder. On my Linux OS, the path is ~/.openoffice.org2/user/basic/. It would be tidier if you create a separate library. It is possible to export a Basic module to a text file (extension .bas) using the icon at or near the extreme right of the "macro" tool-bar in the Basic editor. There is no similar mechanism for exporting a dialogue. IIRC, there is at least one link to a thread dealing with distribution in the thread http://www.oooforum.org/forum/viewtopic.phtml?t=50952 -- View this message in context: http://www.nabble.com/copying%2C-installing%2C-importing%2C-exporting-macros-and-dialogs-tf3772342.html#a10675421 Sent from the openoffice - users mailing list archive at Nabble.com.
Hello Siegfried I thought the easier way to 'ship' your macros would be to use and thus link it to a file and send the file to your friend... -- Guy
