Automate Windows.
No coding needed.
MacroFoundry runs routines of simple commands: keys, mouse, windows, files and spreadsheets. It reacts to what appears on your screen or changes in a program, and starts from a hotkey or a schedule.
- // Logs in and claims the daily bonus.
- Set LoginDone = false
- Set RetryCount = 0
- Launch MyGame.exe
- Log: Game launched. Waiting for the login screen...
- Wait 5000 ms (+ up to 1000 ms random)
- Wait for window "MyGame" (up to 30000 ms)
- Bring "MyGame" to front
- Loop while LoginDone == false
- Find image login_button.png -> BX, BY
- If LoginDone == false
- Add 1 to RetryCount
- Log: Login not found. Retry {RetryCount} of 5
- Wait 2000 ms (+ up to 500 ms random)
- If RetryCount >= 5
- Notify "Could not find the login screen."
- Return

What it does
Everything a macro tool should do, none of the clutter
These are the features in the current release. Anything not yet built is marked as planned on the features page.
Build routines from commands
Over 50 commands for keys, mouse, typing, windows, programs, files and CSV data. Run several routines at once; the window never freezes.
Customizable routines
Groups, reusable routines you Call or Start, loops, conditions, labels, and variables with maths. Every command has optional delays before and after.
Screen and image detection
Find a colour or a picture on screen, or let a pixel monitor watch an area and start routines when it changes.
Read-only memory monitors
Read a value from a program's memory, such as a health number, and react when it crosses a threshold. It only ever reads.
Hotkeys and schedules
Start routines from any key, at a set time, or on a repeating interval. Press F9 or Pause to stop everything instantly.
Plugins and extensions
Add your own commands with a small C# file. Plugins appear in the Add command menu and get the same settings panel as built-in commands.
Why MacroFoundry
Powerful where it counts, simple everywhere else
Built for people who want results, not a programming course.
- No coding needed. Build routines by picking commands and filling in settings. A built-in manual (F1) and a safe demo project get you started.
- Safe by design. The demo sends no keys, F9 or Pause stops everything, held keys are released when a routine ends, and memory monitors only read.
- Yours to read and keep. Projects are plain, readable XML
.mforgefiles. No account and no cloud: everything stays on your PC. - Nothing to install. Unzip and run. It uses .NET Framework 4.8, which Windows already includes.



See it
The real application
These are screenshots of MacroFoundry itself. Click one to enlarge it.

One window for everything
Pick a routine, read its commands as plain lines and change any command's settings on the right. While a routine runs, the current line is highlighted so you always see what it is doing.

Commands, not code
Click + Add command and choose from keyboard, mouse, timing, logic and loops, routines, variables, alerts, windows, screen, monitors, programs and more.

React to what is on screen
Find a colour or capture a picture of a button, then click it wherever it turns up. Pixel monitors keep watching an area and start routines when it changes.

Start anything from a key
Give every routine its own hotkey with a mode: start or stop, start only, or restart. Monitors can have hotkeys too.

Run it while you are away
Start a routine at a set time on chosen days and repeat it every few minutes. Minimize to the tray and it keeps working.

See exactly what happened
Step through a routine one line at a time, set breakpoints, and read the Execution Log, which is also saved to a daily file.
Getting started
From download to first run in minutes
Download
Get the ZIP and unzip it anywhere. Do not run it from inside the zip.
Run
Double-click MacroFoundry.exe. A safe demo project opens.
Press F5
Select Main and press F5. Watch the yellow line move.
Make your own
Click New, add a Delay and a Log Message, and run it.
FAQ
Quick answers
What is MacroFoundry?
MacroFoundry is a Windows program that automates things you would otherwise do by hand: pressing keys, clicking, typing, waiting for something to appear, reacting to what is on screen, starting or closing programs, working with files and reading CSV spreadsheets. You build routines, lists of simple commands that run from top to bottom.
Do I need to know how to code?
No. You build routines by choosing commands from a menu and filling in their settings. Coding is only needed if you want to write your own plugin commands, and that is optional.
Does it need to be installed?
No. Unzip the download anywhere and run MacroFoundry.exe. It needs Windows 10 or 11 and uses .NET Framework 4.8, which is already part of Windows.
Is it safe to try?
Yes. The demo project that opens on first launch sends no keys. Press F9 or Pause at any time to stop every routine and monitor at once, from anywhere. Keys and mouse buttons a routine was holding down are released automatically when it ends.
Why does Windows say "Windows protected your PC"?
MacroFoundry is not code-signed yet, so Windows SmartScreen may warn you the first time. Click More info, then Run anyway. Some antivirus programs are also wary of tools that send keystrokes; you may need to allow MacroFoundry.
Will it work with my game or program?
The normal keyboard and mouse commands work with most programs once the program is in front. Send Keys to Window and Click in Window work with most normal programs but are ignored by many games. If the program runs as administrator, run MacroFoundry as administrator too, because Windows blocks input from normal programs to elevated ones.
Start automating in a few minutes
Unzip, run, press F5 on the demo routine. There is nothing to install.