Macro= automate page number in footer

Hi everyone.
I’d like to create macros instead of repeating the same actions in Writer.
What I’d like to do is

  • automate the page number out of the page count in the footer
  • automate the title of the document, copied on the name of the file.

Do I make myself clear?
And above all, can anyone help?
Cheers
Etienne

Would this be a ready made solution built in LibO?

For Writer, click inside your footer > Menu Insert > Fields > Page Number. And if you like you thereafer can even implement the field Page Count.

For Draw, Calc, and Impress it is slightly different but follow the same basic pattern.