Created attachment 108393 [details] Record Macro Output I was trying to create a Macro for putting character boarder, with the help of record. I am able to create a working code for all most all other function except for character boarder Attaching the generated code as text file.
please describe step by step which buttons or menus do you click while the macro recorder is activated. please also remember that the power of the macro recorder is limited and there are some situations where it cannot always replicate 100% of the user activity and translate it in a working code, so you should start learning the LibO BASIC language and manually code your macro
(In reply to tommy27 from comment #1) > please describe step by step which buttons or menus do you click while the > macro recorder is activated. Selected the charecters first. Then, Tools->Record Macro, then Method 1 (Using Keyboard) Alt+o -> Down Arrow(To select Charecter)-> Entre Key -> Tab button(to get control on tabs) ->Side Arrow(to get border sub window) -> ctrl+u -> Down Arrow(to select Border) -> Space Bar(To activate) -> Enter Key Stop recording and save Method 2(Using Mouse) Selected the charecters first. Then, Tools->Record Macro, then Right Click -> select charecter -> select boeder tab -> select the border type -> ok Stop recording and save ---------------- Both method gave same result.
are you trying to record this macro in Writer or Calc?
(In reply to tommy27 from comment #3) > are you trying to record this macro in Writer or Calc? Writer.
(In reply to tommy27 from comment #3) @tommy27 can you confirm the bug? A code some what related the following is suppose to generate, instead of the generated one. <https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=73137&p=329616#p329616> <api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1style_1_1CharacterProperties.html>
the macro recorder is a very old feature which is inherited by StarOffice (the ancestor of OpenOffice). so it's no surprise that new features of LibO like character borders (which do not exist in OOo) cannot be recognized and recorded by the macro recorder. as said before, the power of that macro recorder is limited which means that it cannot exactly record everything you want. from talks I had with developers I know there's no plan to rewrite the recorder which means that this feature will not be improved. so you should accept it's limitations and if the generated code is not functional there's no other way to start learning LibO BASIC (download this very interesting e-book from Pytoniak http://www.pitonyak.org/OOME_3_0.pdf ) and asking for help in OOo/LibO forums which always have sections dedicated to macro coding. I started using the macro recorder years ago (and I still use if for some easy tasks) and it helped me to get familiar with OOo/LibO basic and start learning how to manually code my own macros. you should do the same: it may seem hard at the beginning but you will enjoy it at the end. Handmade pasta always tastes better than precooked meals :-) so I'm closing this report as RESOLVED WONTFIX