OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Distributing macros

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
haraldv
General User
General User


Joined: 20 Dec 2005
Posts: 45
Location: Bergen, Norway

PostPosted: Sat May 09, 2009 5:50 am    Post subject: Distributing macros Reply with quote

Some time ago I wrote some simple macros written in basic for ooo windows. I exported them from the Macro Organizer as Basic-library and ziped them by using Bernhard Marcellys document "Howto distribute your macros with an Addon" . It still works under ooo 3.x but now I get an error after i hav imported them with the Extension Managar: "Error: The status of the extension is unknown". What ever the macros seems to work all right. Do anyone know what this error meen, and what shall I do to correct this?

Perhaps it would be a idea to use some other tool than Marcelly's which was written for ooo 1.x. Perhaps some can help me to find a tool or some litterature about how to write an addon?

Thanks.

Harald
Back to top
View user's profile Send private message
B Marcelly
Super User
Super User


Joined: 12 May 2004
Posts: 1145
Location: France

PostPosted: Sat May 09, 2009 9:32 pm    Post subject: Reply with quote

Hi,
The addon mechanism is obsolete, that's why you get the message.
Create a real extension, instead of an addon.
For a simple extension like yours, use BasicAddonBuilder.
http://wiki.services.openoffice.org/wiki/Extensions_Packager

If you want to use the sophisticated features of extensions, use the more complex tool Extension Compiler (described on the same wiki page).
______
Bernard
Back to top
View user's profile Send private message Visit poster's website
haraldv
General User
General User


Joined: 20 Dec 2005
Posts: 45
Location: Bergen, Norway

PostPosted: Sat May 09, 2009 10:10 pm    Post subject: Reply with quote

Ok. Thanks agian! Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group