Version 0.17 · Windows automation

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.

  • Windows 10 and 11
  • No installer
  • 2.9 MB ZIP
Commands·DailyLoginBotRunning
  1. // Logs in and claims the daily bonus.
  2. Set LoginDone = false
  3. Set RetryCount = 0
  4. Launch MyGame.exe
  5. Log: Game launched. Waiting for the login screen...
  6. Wait 5000 ms (+ up to 1000 ms random)
  7. Wait for window "MyGame" (up to 30000 ms)
  8. Bring "MyGame" to front
  9. Loop while LoginDone == false
  10. Find image login_button.png -> BX, BY
  11. If LoginDone == false
  12. Add 1 to RetryCount
  13. Log: Login not found. Retry {RetryCount} of 5
  14. Wait 2000 ms (+ up to 500 ms random)
  15. If RetryCount >= 5
  16. Notify "Could not find the login screen."
  17. Return
17 of 38 linesRun line highlightedF9 stops everything
The MacroFoundry main window showing the DailyLoginBot routine
50+commands built in
2monitor types: pixel and memory
4variable types, shared by every routine
.mforgereadable, plain-text projects

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.

Available

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.

Available

Customizable routines

Groups, reusable routines you Call or Start, loops, conditions, labels, and variables with maths. Every command has optional delays before and after.

Available

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.

Available

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.

Available

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.

Available

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 .mforge files. 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.
The Global Variables tab
Variables are shared by every routine and monitor.
A pixel monitor in the monitor list
A pixel monitor: true when the green is missing, writes LowHealth, starts HealWatcher.
Memory monitors in the monitor list
Memory monitors read values from a program and write them to variables.

See it

The real application

These are screenshots of MacroFoundry itself. Click one to enlarge it.

The MacroFoundry editor showing a login routine
Routines on the left, commands in the middle, settings on the right, variables and monitors below. The line that is running is highlighted.

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.

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.

Read the full getting started guide

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.

See all questions

Start automating in a few minutes

Unzip, run, press F5 on the demo routine. There is nothing to install.

  • Version 0.17
  • Windows 10 and 11
  • 2.9 MB ZIP