Apache OpenOffice (AOO) Bugzilla – Issue 20943
Macro recorder bug
Last modified: 2004-06-16 09:50:50 UTC
If I want to set a macro with the recorder, it produces a wrong script. Example for setting back the text format: xxxxxxxxxxxxxxx sub Standard_setzen rem ---------------------------------------------------------------------- rem define variables dim document as object dim dispatcher as object rem ---------------------------------------------------------------------- rem get access to the document document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") rem ---------------------------------------------------------------------- rem dispatcher.executeDispatch(document, ".uno:ResetAttributes", "", 0, Array()) end sub xxxxxxxxxxxxxxx It somehow forgets to change lines before the last dispatcher.exec.... If I change it manually, the script works fine. OOo 1.1.0 German
Mathias, Think this is for you
Sorry, I can't understand what this issue is about. Please write down: What did you do while the recoder was running What did the recorder record And what did you expect him to record (or: what is missing)
1. marked a paragraph, klicked on the MacroRecorder-Dot, klicked on Standard in the ContextMenu, stopped the Recorder 2. Exactly the thing I pasted 3. rem <HERE IS A LINE CHANGE MISSING THUS IS THE FOLLOWING ONLY INTERPRETED AS A COMMENT!!!> dispatcher.executeDispatch (document, ".uno:ResetAttributes", "", 0, Array()) Hope I could help Fabian
Thank you, that helped!
.
Hi, I have an additional macro recorder bug. Recording works fine when it keeps at formatting text, but as soon as I try to format a graphic the recording does not work at all. Here my example: I need to insert several graphics into my document and want to rezize them all. Since the "repeat last action"-button isn´t active after rezizing one of the graphics (and I really don´t understand why this is so) I tried to record a macro. Normally you are asked where to save the macro when you press "quit recording", but now the button just disappeared without saving any actions. I tried to do the rezizing over the context-menu as well as over the toolbar. None of it worked. It would be great to know what I did wrong, it is really boring to rezize everything manually.
This is a completely different problem. Please file a separate issue.
Writer didn't confirm successful execution, so the command was just recorded as a comment.
Please verify
sorry for asking: is it my turn to do anything? I am not yet totally familiar with the issue system... Fabian
Hi Fabian, right now you have to do nothing. The developer who fixed the issue will hand the task over to e.g. me. I will then check if the issues is indeed fixed. If this is the case, a new developer release of OOo will be build which contains the fixed issue. However, this will take some time.
the line is no longer rem'ed out.
verified
verified on master src680m42-4, linux. Closing