How zexzeed93/image-recognition-auto-clicker works
This is a Windows desktop image-recognition auto-clicker. The workflow is profile selection and configuration, target-image capture/import, global-hotkey activation, periodic screen capture and template matching, then mouse or key action when the match threshold is met. Profile settings and target images are stored per profile; start and match sounds provide feedback. The excerpts show startup, profile management, recognition, and sound calls, but not the XAML event wiring or all profile-editor behavior, so those relationships are omitted.
Main entry points: MasterWindow.xaml.cs Profile dashboard · Profile.cs Profile management · MainWindow.Runtime.cs Scan coordinator · SoundEffects.cs Sound playback
Components 17
Application control
- Application startup
App.xaml.cs - Profile dashboard
MasterWindow.xaml.cs - Dashboard UI
MasterWindow.xaml
Profiles and setup
- Profile editor
MainWindow.xaml.cs - Editor UI
MainWindow.xaml - Profile management
Profile.cs - Settings and profile files
Profile.cs - Target images
Profile.cs
Recognition runtime
- Runtime profile windows
MainWindow.Runtime.cs - Scan coordinator
MainWindow.Runtime.cs - Screen capture
MainWindow.xaml.cs - Template matching
MainWindow.Runtime.cs
Actions and feedback
- Mouse and key input
MainWindow.Runtime.cs - Sound playback
SoundEffects.cs - Sound assets
assets/sounds
Other components
- User
- Windows input APIs
Connections 19
- Application startup → Profile dashboard: creates and shows
App.xaml.cs - Profile dashboard → Profile management: loads and manages
MasterWindow.xaml.cs - Profile dashboard → Runtime profile windows: creates runtime windows
MasterWindow.xaml.cs - Profile dashboard → Scan coordinator: starts and disposes
MasterWindow.xaml.cs - Profile dashboard → Sound playback: plays start sound
MasterWindow.xaml.cs - Profile editor → Profile management: loads and saves
MainWindow.xaml.cs - Profile editor → Target images: copies and updates
MainWindow.xaml.cs - Profile management → Settings and profile files: reads and writes
Profile.cs - Profile management → Target images: manages image files
Profile.cs - Scan coordinator → Runtime profile windows: schedules scans
MainWindow.Runtime.cs - Scan coordinator → Screen capture: captures screen
MainWindow.Runtime.cs - Scan coordinator → Template matching: dispatches frames
MainWindow.Runtime.cs - Template matching → Mouse and key input: invokes on match
MainWindow.Runtime.cs - Mouse and key input → Windows input APIs: sends mouse and keys
MainWindow.Runtime.cs - Runtime profile windows → Profile management: loads settings
- Runtime profile windows → Sound playback: plays recognition sound
MainWindow.Runtime.cs - Sound playback → Sound assets: finds and plays
SoundEffects.cs - User → Dashboard UI
- User → Editor UI