Documentation
Memory monitors
What a memory monitor does#
A memory monitor reads a number (or text) from a program's memory, such as a health value. It can copy the value into a variable, or check a condition and start or stop routines when it changes.
MacroFoundry only ever reads memory. It never changes another program, and it does not get around anti-cheat or other protection. If Windows refuses access to a program, the monitor reports it.
Setting one up#
On the Memory Monitors tab, click New, then:
- Process: the program to read, such as game.exe (the list shows running programs). Leave it empty to use the simulated test process.
- Module: the address counts from the start of this module (often the .exe itself). Leave it empty to use an absolute address.
- Address (hex): for example 0x100.
- Pointer offsets: optional, hex, separated by commas. Each offset first follows the pointer, then adds the offset.
- Data type: Int32, Int64, Float, Double, Byte, Boolean or String.
- Mode: Copy value puts the value into the variable. Condition makes the variable true or false (for example < 300).
- Check every (ms) and Write to variable (optional).
Click Save changes to keep your edits. Like pixel monitors, a memory monitor runs only when turned on with Memory Monitor On/Off or a hotkey.


If true and If false actions#
In Condition mode, the If true and If false lists work the same as for pixel monitors: they run when the condition changes, and once when the monitor is turned on. They do nothing in Copy value mode.
Practising safely#
- Simulated process: the panel on the right of the Memory Monitors tab is a pretend game inside MacroFoundry. Change a value and click Write to see monitors react. "Health drains by itself" makes it change on its own while at least one memory monitor is on.

- MemoryTarget test program: Help > Start the MemoryTarget test program opens a small real program with Health, Mana and Gold. It shows the addresses to use (Process = MemoryTarget.exe, Module empty). Its buttons and text box are also handy for testing clicks and typing.