Try to save dwg file as a dxf ascii file. In dxf ascii file you will
see all the blocks and it attributes as in a txt file opened in
notepad.
From this file perhaps you can get all you info using excel.
Acad doesn't have a macro recording utility, but has vba.