How to create a Macro that when running appears a window with information of the surface area?

How to create a Macro that when running appears a window with information of the surface area?

Example

SolidworksApi/macros