Macro Writing Help Wanted - OOo 3.3 Writer

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Macro Writing Help Wanted - OOo 3.3 Writer

Post by John_Ha »

Mohawk wrote:Great, so is somebody willing to help me work it out that way?
Writing a macro is the wrong way to do what you want.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
Mohawk
Posts: 83
Joined: Tue May 31, 2011 8:16 pm

Re: Macro Writing Help Wanted - OOo 3.3 Writer

Post by Mohawk »

JohnSUN-Pensioner wrote: Sat Aug 14, 2021 12:30 pm Please reread these two messages from Villeroy, point by point. And just do it. Try it at least. These thirty clicks will not take you much time (actually less, but at first you will make mistakes and make extra clicks). Just try it. Please!
Don't you guys realise this thread was started in 2013??? Whatever it was I was trying to do then is long forgotten and long gone!

A few passing remarks:
  • I have since sort-of worked out how to first record a macro and then edit it to work properly (in some very simple cases).
  • I have learned not to bother in the main, unlike how I used to use M$ Word.
  • I will not agree that one should need to be adept/comfortable with programming to be able to use macros. Recording macros "just works" in M$ Word, and many other programs with macro recording facilities. I have no problem with there being an API, just don't call it a macro system 'cos it isn't.
OpenOffice 4.1.2 on Win7/64, 4.1.10 Linux Mint 20.3
User avatar
Zizi64
Volunteer
Posts: 11359
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Macro Writing Help Wanted - OOo 3.3 Writer

Post by Zizi64 »

I have no problem with there being an API, just don't call it a macro system 'cos it isn't.
Yes, the Application Programming is more than a simple macro system.

(API = Application Programming Interface)
Last edited by Zizi64 on Sun Jul 03, 2022 11:00 pm, edited 1 time in total.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Hagar Delest
Moderator
Posts: 32655
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Macro Writing Help Wanted - OOo 3.3 Writer

Post by Hagar Delest »

Mohawk wrote: Sun Jul 03, 2022 8:24 pm Don't you guys realise this thread was started in 2013??? Whatever it was I was trying to do then is long forgotten and long gone!
Well, you were the one to revive this topic 3 times: one in 2015, almost 2 years after the last reply and in 2021, 6 years after the last reply in 2015, and now almost one year after the last reply in 2021.
:shock:
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
User avatar
Mohawk
Posts: 83
Joined: Tue May 31, 2011 8:16 pm

Re: Macro Writing Help Wanted - OOo 3.3 Writer

Post by Mohawk »

That's about how often I re-visit, sorry! I could do with more tuits.
OpenOffice 4.1.2 on Win7/64, 4.1.10 Linux Mint 20.3
Locked