ok-script-app

中文

ok-script-app is a Python automation project template built on ok-script, for native Windows games, Android emulators, and browser games.

It is not a finished automation tool for a specific game. The template includes a runnable GUI, task and configuration-widget examples, OCR, template matching, tests, i18n, EXE packaging, and update/release configuration.

Start Here

  1. Create and initialize a repository with the Quick start.
  2. Select at least one runtime target in App configuration.
  3. Create and register the first task with Task development.
  4. Build an EXE with Packaging and release.

Demo

API List and Script Recording

API list and script recording

Capture and Interaction Methods

Capture and interaction methods

Annotation and Template Matching

Template matching

Annotation management

Included

  • MyOneTimeTask and MyTriggerTask examples.
  • Drop-down, boolean, numeric, text, list, multi-selection, file, global configuration, and button widgets.
  • OCR, relative-region recognition, and template matching examples.
  • ConfigOption global configuration and TaskTestCase test examples.
  • gettext i18n sources and compiled catalogs.
  • PyAppify and GitHub Actions packaging/release configuration.

Further Reading (Chinese)

View source on GitHub ↗ · Page generated: Sep 24, 2026