Repository navigation
Releases
Releases · Plesnamdwa/UniClick
UniClick v1.2.0
What's Changed in UniClick v1.2.0 — "The Color-Trigger Update"
🎨 Color-Triggered Pixel Detection
- Sub-Microsecond Screen Sampling: Built directly on native Win32 GDI (
GetDC/GetPixel) with microsecond sampling latency (~1.46 µs) and zero heavy third-party dependencies. - 3D Euclidean Distance Tolerance: Color matching uses normalized 3D RGB Euclidean distance with a customizable tolerance slider (0% – 50%, default 30%) to reliably compensate for anti-aliasing, dynamic lighting, and game shading.
- Dual Execution Modes:
- Queue Mode (Wait in Sequence): Engine waits indefinitely (default 0s) until the target pixel color appears on screen before clicking and proceeding to the next step. Can be paused or stopped anytime via F6 or the Stop button.
- Instant Sentinel Mode (Autonomous Watcher): Background watcher thread continuously monitors screen coordinates and clicks immediately whenever the target color appears under the pin (equipped with a 0.4s identity-based debounce cooldown).
🗂️ Inline Expandable Drawer (No Popups)
- Direct Card Expansion: Clicking the palette button (🎨) on any target card smoothly expands its settings downward directly within the sequence column—no disruptive modal windows.
- Toggle On / Off Easily: Click 🎨 again or press
✕ Exit to Normal Modeinside the drawer to instantly return the target to normal click mode and collapse the card. - Full In-Place Controls: Includes Trigger Mode segmented button, color swatch, HEX entry, quick action buttons, base palette chips, tolerance slider, and real-time live under-pin match monitor.
🔍 Precision Color Acquisition
- 🎯 Under Pin Sampling: Captures the exact screen color beneath the pin's coordinates with instant unobstructed unmasking (momentarily hides the pin for 45ms to read the real application/game pixel underneath, not the pin itself).
- 🔍 Eyedropper Pipet Tool: Floating magnifier overlay tracks cursor movement across all connected monitors to sample exact colors anywhere on screen.
- 8 Base Color Palette: One-click preset chips for Red (
#FF3B30), Yellow (#FFCC00), Green (#34C759), Blue (#007AFF), Orange (#FF9500), Purple (#AF52DE), White (#FFFFFF), and Black (#000000).
🎯 Tactical Reticle & 2-Row Hover HUD
- Optical Reticle Aperture: Reticles now feature a 4px transparent peep-hole at the exact crosshair center, keeping the underlying pixel visible, along with a colored edge indicator pip when color mode is active.
- 2-Row Centered Hover HUD: Pin hover tooltip is now formatted into two compact rows and auto-centered above the reticle:
- Row 1: Target step, coordinates, interval delay, and color trigger specs.
- Row 2: Tactile mouse shortcuts (Scroll wheel for delay tuning, Right-click to delete).
⚡ Performance & Multi-Monitor Hardening
- Multi-Monitor Coordinate Hardening: Safe negative-coordinate handling for multi-monitor setups with
CLR_INVALID (0xFFFFFFFF)safeguards and strict Device Context lifecycle management (GetDC(0)/ReleaseDC(0, hdc)). - Thread-Safe Sentinel Identity: Cooldown tracking in the sentinel thread now uses stable Python object identities (
id(pt)), preventing cooldown misassignments if targets are reordered, inserted, or removed mid-run. - Queue Isolation: Instant sentinel points are excluded from the sequential queue loop so they never block sequential delay or skew progress bar tracking.
- Non-Blocking Sound Worker: Sound cues (snipe, pipet, add, delete) run through a dedicated background queue, keeping GUI interactions 100% fluid.
🧪 Automated Testing
- Added comprehensive unit test suite in
tests/test_color_trigger.pycovering color distance, queue wait-until, sentinel watcher, and stop interruption (10/10 tests passing).
Full Changelog: v1.1.0...v1.2.0
UniClick v1.1.0 - Performance Optimization
UniClick v1.1.0 — Performance & Timing Engine Overhaul ⚡
This release introduces a major performance re-architecture to the core clicking engine and GUI dispatcher, resolving click latency bottlenecks, eliminating interface jitter, and delivering true high-frequency precision up to 20+ CPS.
🚀 What's New in v1.1.0
🎯 High-Precision Drift-Compensated Timing
- Sub-Millisecond Timing Accuracy: Implemented a hybrid high-resolution timer (
time.perf_counter()) that automatically compensates for mouse action execution time. An interval of0.1snow reliably outputs a true 10.0 CPS (100.03 ms average interval). - Instant Response Stop: Replaced static sleep intervals with interruptible event waits, allowing immediate emergency halt (
Esc/F6) with zero delay. - Micro-Hold Optimization: Reduced mouse button down/up hold duration to 2ms, enabling fast web click recognition without dropping clicks.
🛡️ Non-Blocking Queue Architecture (queue.Queue)
- Zero Tcl Lock Contention: Completely decoupled the engine's background worker thread from the Tkinter GUI thread using a thread-safe message queue.
- Unobstructed Click Passthrough: Eliminated overlay window creation during continuous execution so that 100% of mouse events reach the target application/browser unobstructed.
🚫 Anti-Jitter UI & Throttled Rendering
- Cached Row Rendering: Added active row state caching to prevent CustomTkinter frames from repeatedly redrawing their canvas, completely eliminating text and border flickering while running.
- Smart Log Throttling: Auto-throttled high-frequency cycle logging to keep the UI smooth and responsive even during rapid sequences.
- Deterministic Defaults: Set Time Jitter and Pixel Jitter to
Offby default for pure mathematical precision out-of-the-box.
📊 Benchmark Comparison
| Test Scenario | v1.0.0 (Legacy) | v1.1.0 (Current) |
|---|---|---|
| 0.10s Interval Test | ~2.0 CPS (Stuttering) | 10.0 CPS (Precise) |
| 0.05s Interval Test | Failed / Dropped clicks | 19+ CPS |
| UI Stability during Run | Severe border/text jitter | Completely Stable & Smooth |
⌨️ Global Shortcuts
- F6: Start / Pause
- F7: Drop pin at cursor
- Esc / F8: Emergency stop
- Scroll on pin: Step delay adjustment (±0.1s)
- Right-click pin: Delete target
📦 Download
Download the standalone executable below (no Python or installation needed):
- 👉
UniClick.exe(v1.1.0 Portable)
UniClick v1.0.0 - Initial Release
What is UniClick?
UniClick is a lightweight, customizable desktop auto clicker designed for sequential multi-target routines and automated tasks across single or multi-monitor setups.
✨ Key Features
- 🎯 Draggable Visual Target Pins: Circular on-screen pins with live coordinate HUD, elastic pop animations, and scroll-wheel delay adjustments.
- 🕵️ Cross-Monitor Snipe Mode: Click anywhere across any monitor to place target pins effortlessly, or press
F7to drop pins instantly under the cursor. - 👻 Ghost Click (Cursor Teleport): Automates clicks on secondary monitors while returning your cursor back to your active workflow instantly.
- 🎲 Anti-Detection Humanizer: Configurable pixel radius jitter (±px) and interval time jitter (±s) so clicks never hit identically.
- ⚡ Burst Repeat & Multi-Action: Supports Left, Double, and Right clicks with rapid burst repeat (
x1tox10) per step. - ⏳ Flexible Stop Triggers: Auto-stop by active countdown timer or maximum cycle count.
- 🗕 Compact Mini Mode: Sleek floating overlay bar for minimal screen obstruction while running.
📦 Downloads & Installation
- Standalone Portable EXE: Download
UniClick.exebelow, double-click to run (no Python installation needed). - Run from Source:
pip install -r requirements.txt python main.py
⌨️ Global Shortcuts
- F6: Start / Pause
- F7: Drop target pin at cursor
- Esc / F8: Emergency stop
- Scroll on pin: Adjust step delay (±0.1s)
- Right-click pin: Delete target