Stop Writing Automation Scripts From Scratch — Let AutomateMyTask Do the Hard Part
Updated on 2026/06/20 to Version: 0.10.1
Ever spent hours trying to automate a repetitive task on your computer, only to get stuck figuring out window handles, pixel coordinates, and timing issues? AutomateMyTask (AmT) is a visual automation tool for AutoHotkey v2 that lets you point, capture, and go — no memorizing functions or pixel math required.
🚀 AutoHotkey V2 Tool That Writes Code FOR YOU! (Game Changer)
What Is AutomateMyTask?
AutomateMyTask is a pixel-pattern automation builder. Instead of manually coding coordinates and color checks, you use a visual grid to capture what’s on your screen, tell it what to do when it finds that pattern, and then export a clean, standalone AutoHotkey v2 script — ready to run anywhere.
Think of it like a macro recorder, but smarter. It doesn’t just replay mouse movements blindly. It searches your screen for a specific visual pattern and only acts when it finds a match. That means your automations work even if windows move, resize, or open in a different spot.
How It Works (In 60 Seconds)
- Hover over what you want to click and press F1. AmT captures the pixels under your cursor into an interactive grid.
- Fine-tune your capture — drag to select a sub-region, adjust the threshold slider for color sensitivity, or use F4 to target a specific window.
- Hit “Test” to try it live. AmT searches for your pattern and performs the action in real time.
- Click “Export” to copy a complete, standalone AHK v2 script to your clipboard. Paste it, save it, run it. Done.
See it in action — capturing and clicking a button in under a minute:
AutomateMyTask Tutorial #1 — Performing Mouse Actions
Why Pixel Pattern Matching?
Most automation tools rely on window controls, accessibility APIs, or exact coordinates. These break the moment an app updates its UI, a window moves, or your screen resolution changes.
Pixel pattern matching is different. It looks for what things look like, not where they are. A button that says “Submit” looks the same whether the window is at the top-left of your screen or the bottom-right. AmT finds it either way.
And thanks to the built-in DPI awareness, your automations work correctly across different monitor scaling levels — even on multi-monitor setups where each display has a different DPI.
Built for Real-World Reliability
Automations that work in a demo but fail in production are useless. AmT is built for the messy real world:
- Window Targeting — Limit searches to a specific window by title, class, or both. Supports full and partial title matching so you don’t have to match every character. (Watch Tutorial #8)
- Window Wait Timeout — If the target window isn’t open yet, AmT waits (up to your configured timeout) before giving up. No more race conditions. (Watch Tutorial #6)
- Edge Detection Fallback — If the standard color threshold doesn’t find a match, exported scripts automatically retry using edge detection. This handles subtle color shifts from themes, night mode, or display differences.
- Multi-Window Search — If multiple instances of your target app are open, AmT searches across all of them.
- Configurable Error Handling — Choose between error dialogs, silent failures, or audio alerts (success and failure sounds) per step.
- Logging — Enable timestamped logs that record every action, whether it succeeded or failed, and how long it took. Invaluable for debugging automations that run unattended. (Watch Tutorial #7)
Three Action Types Cover Most Automation Needs
| Action | What It Does | Use Case |
|---|---|---|
| Tutorial #1 Mouse Click | Left, middle, or right click (or just move) at the matched pattern. Configurable click count, offset positioning, and option to restore cursor position after clicking. | Clicking buttons, menus, links, checkboxes — anything visual. |
| Tutorial #2 Insert Text | Finds a pattern, clicks the location, and pastes text. Optional “Select All” to replace existing content. | Filling in forms, entering data into fields, updating text boxes. |
| Tutorial #8 Window Wait | Waits for a specific window to appear before continuing. No pixel pattern needed. | Pausing your automation until an app finishes loading or a dialog appears. |
The Export Is Where the Magic Happens
The GUI is great for building and testing your automation. But the real power is the one-click export.
When you click Export, AmT generates a complete, standalone AutoHotkey v2 script. Not pseudo-code. Not a config file. A real script you can run immediately. It includes:
- All your captured patterns encoded as compact base64 strings
- Every parameter — thresholds, offsets, wait times, window targets
- The full action execution engine with DPI compensation, fallback matching, and error handling
- Your step comments preserved as code comments for readability
The exported script has zero dependencies on AmT itself. Share it with a colleague, drop it on another machine, schedule it with Task Scheduler — it just works.
And the exported scripts are actually more capable than the GUI test mode. They include automatic DPI zoom compensation, edge detection fallback, background window searching, and smart retry logic. Your exported automations are production-grade out of the box.
AutomateMyTask Tutorial #10 — Exporting Functions, Include and FunctionCall
You can even import exported code back into the GUI with F7 to tweak and re-export — no need to recapture from scratch. (Watch Tutorial #11)
A Visual Workflow That Anyone Can Follow
You don’t need to be a programmer to use AmT. The entire workflow is visual:
- F1 — Capture a mouse-click pattern (Tutorial #1)
- F2 — Capture a text-insertion pattern (Tutorial #2)
- F3 — Re-capture pixels if the target changed appearance (Tutorial #3)
- F4 — Auto-fill window title and class — just hover and press (Tutorial #8)
- F5 / F6 — Set and preview click offsets visually (Tutorial #9)
- F7 — Import exported code back into the GUI for editing (Tutorial #11)
- Display Matches — See blue overlay boxes on every match, right on your screen
- Test — Run a single step live to verify it works
The dark-themed GUI color-codes controls by function — steel blue for mouse settings, cyan for text insertion, pink for window targeting — so you always know what you’re looking at.
Built-In Safeguards
Automation gone wrong can be worse than no automation at all. AmT gives you guardrails:
- Match Index — Target the 1st, 2nd, or Nth occurrence if multiple matches exist. No accidental clicks on the wrong button. (Watch Tutorial #5)
- Search Region — Restrict the search to a specific area of the screen or window. Faster and more precise.
- Fail Silent Mode — Suppress error popups for non-critical steps so your automation continues even if one step doesn’t find a match.
- Audio Alerts — Hear a sound when a step succeeds or fails, even if you’re not watching the screen.
- Restore Cursor Position — Return the mouse to where it was before the action, so your automation doesn’t hijack your cursor.
- Comments and Tooltips — Label every step and toggle detailed tooltips on any control. (Watch Tutorial #4)
Who Is This For?
- AutoHotkey users who are tired of manually coding pixel searches and want a visual builder that exports clean AHK v2 code.
- IT professionals who need to automate legacy apps that don’t have APIs or accessibility hooks.
- Data entry teams who repeat the same clicks and keystrokes hundreds of times a day.
- QA testers who need to verify that UI elements appear correctly and respond to interaction.
- Anyone who’s ever thought “I wish my computer would just do this for me.”
Watch the Full Tutorial Series
We’ve put together a step-by-step video series that walks you through every feature. Start with Tutorial #1 and you’ll be exporting production-ready scripts by the end of the playlist.
- Tutorial #1 — Performing Mouse Actions
- Tutorial #2 — SendText and Using the Offset
- Tutorial #3 — Changing Capture Size and Color Threshold
- Tutorial #4 — Adding Comments and Enabling/Disabling Tooltips
- Tutorial #5 — Choosing Your Match Index
- Tutorial #6 — Waiting to Find the Image
- Tutorial #7 — Generating Log Files
- Tutorial #8 — Window Title and Class Matching
- Tutorial #9 — Setting and Using Offsets
- Tutorial #10 — Exporting Functions, Include and FunctionCall
- Tutorial #11 — Importing and Exporting
Get AutomateMyTask — Just $11.99
Includes the standalone .exe (no AutoHotkey installation needed) plus all future updates.
Already have AutoHotkey v2? You can run the .ahk source directly.
Want to learn AutoHotkey from the ground up? Check out our structured AutoHotkey courses — they come with a 200% money-back guarantee.




