Documentation
Routines
Create, rename, copy and delete#
Use the buttons in the Routines box: New, Rename, Copy (makes a copy of the selected routine) and Delete.
When you rename a routine, MacroFoundry also updates everything that refers to it: Call Routine, Start Routine and End Routine commands, and the If true / If false actions of monitors.
Groups#
Groups keep a long list of routines tidy.
- Select a routine and click Group. Pick an existing group or type a new name. Leave it empty to take the routine out of its group.

- Click a group's header in the Routines box to hide or show its routines.
- Right-click a group's header for New routine in this group, Rename group and Ungroup (keep the routines).

Scheduling a routine#
Select a routine and click Schedule.
- Tick Start this routine automatically.
- At: the start time, as 24-hour time such as 14:30, or as 2:30 PM.
- On: Every day, Weekdays, Weekends, or Chosen days (then tick the days).
- Then repeat every (min): 0 means once a day. For example, 30 starts it again every 30 minutes after the start time, until midnight.

Schedules only run while MacroFoundry is open. If the routine is still running from before when its time comes, that start is skipped and a warning is logged.
Tip: Turn on View > Minimize to tray to keep MacroFoundry running out of the way.
Routines that use other routines#
- Call Routine runs another routine and waits for it to finish, then carries on. Use it to reuse a set of steps, like a function.
- Start Routine starts another routine running alongside this one, without waiting.
- End Routine stops another running routine.
- Return ends this routine. If another routine called it, that routine carries on.
- Stop Completely stops this routine, and also any routine that called it.