[Solved] Exiting Error loops

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
Fraz627
Posts: 22
Joined: Sat Jun 17, 2017 8:31 am

[Solved] Exiting Error loops

Post by Fraz627 »

I know this is or should be a simple question.

Some times when writing a Macro I create an error condition, often due to typing mistakes.
Of course the routine crashes, and give an Error messages, which you cannot exit.

Question: is there a way to exit the error loop, without going to Task manager and terminating the program?

thanks
Last edited by Hagar Delest on Sun Apr 08, 2018 9:33 pm, edited 1 time in total.
Reason: tagged [Solved].
Open Office 4.1 on Windows 10
User avatar
RoryOF
Moderator
Posts: 34611
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Exiting Error loops

Post by RoryOF »

Debug your macros by running them (until debugged) in the BASIC IDE.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
Zizi64
Volunteer
Posts: 11358
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Exiting Error loops

Post by Zizi64 »

Try to customize your toolbar: add the "Interrupt macro" and/or the "Stop macro" function.
Attachments
macro control.png
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.
Fraz627
Posts: 22
Joined: Sat Jun 17, 2017 8:31 am

[solved] Re: Exiting Error loops

Post by Fraz627 »

thanks that is what I was looking for...
Open Office 4.1 on Windows 10
Post Reply