Stop Guessing ClassNN Names — Scrape Any AHK GUI in Two Clicks
If you’ve ever automated another AutoHotkey script and ended up squinting at Window Spy, copying ClassNN names by hand, and wondering whether Edit3 is really the field you want — WinControlScraper is going to feel like cheating.
Drag a crosshair onto any AHK GUI on your screen. WinControlScraper enumerates every button, edit, list, tab, and label inside it — names, classes, positions, sizes, visible text — and lays it all out in a clean dark-themed table. From there you can highlight a control on the live window, double-click for a ready-to-paste ControlGetText snippet, or copy the whole thing as Markdown for Claude.
What it does
- Crosshair picking — drag the icon onto any AHK GUI and it auto-scrapes. The same workflow you already know from Window Spy, only smarter.
- Dropdown picker — every running AHK GUI listed by title, class, and HWND. Click, scrape, done.
- Visual highlighting — click a row in the table and a colored border flashes around the matching control on the target. Confirm you’re looking at the right thing before you write a line of code.
- Tab-aware — if the target uses
SysTabControl32, every control is labeled with the tab it lives on. - Per-control snippets — double-click any row and a complete
ControlGetTextcall (with the right ClassNN and HWND) lands on your clipboard. - “Copy for Claude” — one button puts the entire scrape on your clipboard as clean Markdown. Paste it into Claude or ChatGPT and ask for a script that fills in the form, scrapes the list, or wires up your own automation.
- Save snapshots — write the scrape out as Markdown for docs or JSON for scripting and version control.
- DPI-aware — coordinates are reported in real pixels at the target’s actual DPI, even on mixed-DPI multi-monitor setups.
Why I built it
Window Spy is great for a single ClassNN. But the moment you want to understand a window — every control, every tab, every label, all at once — it’s a slow trip. And when you want to ask an AI for help, you end up screen-shotting and hand-transcribing things.
WinControlScraper closes that gap. It gives you the full window in one keystroke, in a form a human or a language model can read instantly. The “Copy for Claude” button alone has paid for it five times over in my own workflow — paste, ask “write me an AHK v2 script that fills this form”, and you’re 80% of the way there.
Quick Start
| Action | How |
|---|---|
| Pick | Drag the crosshair onto any AHK GUI. |
| Inspect | Browse the table; click rows to flash the matching control on screen. |
| Snippet | Double-click a row to copy a ControlGetText line. |
| AI | Hit Copy for Claude and paste into your favourite chat. |
Windows 10 (1809+) or Windows 11, AutoHotkey v2.0 or newer.
Get it
Grab it from the product page and start scraping windows in under a minute.
If you’d rather see it in action first, drop a comment below — I’m happy to record a walkthrough.

