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

how to wirte macro with python

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


Joined: 26 Nov 2006
Posts: 15

PostPosted: Thu Nov 30, 2006 7:31 am    Post subject: how to wirte macro with python Reply with quote

now I have starbasic, but actually it's much difference between starbasic ans vba.

I try to use python, but the new macro button is disable.

the uno directory has been at OOo directory.

what i need to do?
Back to top
View user's profile Send private message
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Thu Nov 30, 2006 8:25 am    Post subject: Reply with quote

see :
********** Python
a good documentation on Python can be found here : http://wiki.services.openoffice.org/wiki/Python
_________________
Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide
Back to top
View user's profile Send private message Visit poster's website
ztkx
General User
General User


Joined: 26 Nov 2006
Posts: 15

PostPosted: Fri Dec 01, 2006 6:46 am    Post subject: Reply with quote

sorry, I could not express my means correctly.
it's how to write a python in wiki, but my problem is I could not begin to write.
In my OOo 2.0.4, those buttons new,edit is all disable when I try to write a python macro.
but it's normal in other language like basic , BeanShell, js
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Fri Dec 01, 2006 8:07 am    Post subject: Reply with quote

Use any text-editor of your choice and save in <userprofile>/user/Scripts/python/ with *.py extension. Under Linux a link will do.
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
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