Sample Macro

Display CPU Information

Written by Kevin Heaton, Insight Software Solutions

What it does

Displays the information from the Windows Registry about your computer’s CPU(s).

To install

Download the macro file umdisplaycpuinformation.mxe and save it to your hard drive where you store your macro file(s). If desired, import the macro into your existing macro file by clicking File, Import, Import Macros.

To use

If you imported it into your macro file, then you can run it from within Macro Express. Or, you can double-click on umdisplaycpuinformation.mxe.

How it works

This macro reads information about CPU 0, 1, 2 and 3 from the registry and displays the result in a Text Box.

Limitations

This macro will display information for up to 4 CPU’s. It could easily be modified to display information for more CPU’s.

Requirements

– Macro Express 3.5 or later