Customer macro similiar to page properties report

I want to create a pair of user macro (similiar to Page property / page property Report) to achieve the following:
We use Commandcontrol structure in our projects. It is like Hayes AT Commands

First Macro shall provide an Menu to enter command, parameterlist, etc. and print based on this information a well formatted command definition.
=> this part I can easily do with User Macro :slightly_smiling_face:

Second Macro shall collect macro variables from all child pages and put them in a table.
The overall behaviour is very similiar to Page Properties / Page Properties Report Macros, except data shall not be entered as table data.

Currently I don’t know how I can collect any data from child pages from within customer macro.
Does anybody can help me please?

Does anyone have an idea what I can do?