Skip to content

v0.2.0-beta

Latest

Choose a tag to compare

@Hodes Hodes released this 03 Jul 16:57
· 6 commits to main since this release

Hodes Pytomator v0.2.0-beta

This release significantly expands Pytomator with project management, visual automation, multi-monitor capture, and new scripting APIs.

✨ Highlights

  • Complete project system with support for multiple scripts.
  • Per-script execution hotkeys.
  • Visual template capture directly from the interface.
  • Multi-monitor capture support.
  • Multi-scale template matching.
  • Automatic focus of template-associated windows.
  • Persistence of the last opened project and window geometry.
  • Configurable region-capture hotkey.

👁️ New Vision API

  • find_template
  • find_all_templates
  • template_exists
  • click_template
  • click_relative_to_template
  • hover_template
  • wait_for_template
  • wait_for_any_template
  • wait_until_template_disappears
  • drag_template_to
  • drag_template_to_template
  • scroll_until_template

📁 New Project API

  • import_script
  • reload_script

🚀 Improvements

  • Added PyAutoGUI and DirectInput support for clicks and drag operations.
  • Restricted visual searches to the relevant window or monitor.
  • Prevented unintended clicks when another window gains focus.
  • Added successful-scale caching for faster subsequent searches.
  • Added optional visual debugging with captured images and metadata.
  • Improved the workflow for reopening the last project.
  • Improved capture workflow cancellation.

🐛 Fixes

  • Fixed template detection and clicking behavior.
  • Fixed coordinate handling across multiple monitors.
  • Added support for monitors using negative desktop coordinates.
  • Improved active-window validation before mouse interactions.

🛠️ Development

  • Migrated package management from Poetry to UV.
  • Updated the minimum supported Python version to Python 3.12.
  • Added automated tests for:
    • Visual template matching
    • Window autofocus
    • Capture cancellation
    • Project reopening
    • Multi-monitor coordinates
  • Updated the package version to 0.2.0.

✅ Validation

All 40 automated tests passed successfully.


Full Changelog: v0.1.2-beta...v0.2.0-beta

Full Changelog: v0.1.2-beta...v0.2.0-beta