Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Macro Tool

Macro Tool is a lightweight, high-performance keyboard macro and automation utility for Windows. Built with .NET 8, it enables background key simulation with millisecond precision, allowing you to automate repetitive tasks in specific windows without losing focus.

Macro Tool Preview

Features

  • Keyboard Macro: Record and replay complex key sequences.
  • Background Automation: Send keys to specific windows without bringing them to the front.
  • High Precision: Millisecond-accurate timing for sensitive tasks.
  • Portable EXE: Single standalone executable with zero installation.

Requirements

  • Operating System: Windows 10/11 (x64)
  • Runtime: None required (Release version is self-contained)
  • Development: .NET 8 SDK (only if building from source)

How to Build

1. Prerequisites

Ensure you have the .NET 8 SDK installed.

2. Clone the Repository

git clone https://github.com/FosterG4/macro-tools.git
cd macro-tools

3. Build for Release (Single File)

To create a standalone, optimized executable (approx. 68MB):

cd MacroTool
dotnet publish -c Release

The output file MacroTool.exe will be located in: bin\Release\net8.0-windows\win-x64\publish\

How to Use

  1. Run the Application: Double-click MacroTool.exe.
  2. Select Target:
    • Click the dropdown menu to see a list of open windows.
    • Select the window you want to send keys to.
    • Click the Refresh (↻) button if your window isn't listed.
  3. Define Keys:
    • Click the "Set" button (or the key input box).
    • The button will turn orange, indicating "Recording Mode".
    • Press the keys you want to automate (e.g., F1, Ctrl+A, Space).
    • The recording stops automatically after your input.
  4. Set Interval:
    • Enter the time delay in milliseconds (e.g., 1000 for 1 second).
  5. Add Macro:
    • Click Add to put the task in the list.
  6. Manage Macros:
    • Start/Stop: Check/Uncheck the "Active" box to toggle the macro.
    • Edit Keys: Click the key text in the list to re-record.
    • Edit Interval: Click the interval number to type a new value.
    • Options:
      • Focus: Brings the window to front before sending keys.
      • HW: Uses hardware simulation (use only if standard mode fails).

Support the Project

If this tool helps you automate your workflow and saves you time, consider supporting its development. Your contributions help keep the project updated and free for everyone.

Support me on Ko-fi

Support me on Trakteer

About

Macro Tool is a lightweight, high-performance keyboard macro and automation utility for Windows.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages