Quert Alfonso M. Villafuerte
← all projects

desktop experiment · Windows automation · 2026

capture

a windows desktop experiment for user-triggered region capture and AI-assisted editor input. separates the background app from a status monitor, with pause, cancellation, and offline rehearsal controls. screenshots are submitted only on an explicit action.

pythonwindowsdesktop automationvision APIs

inside the project

1 captures · click an image to enlarge

Actual offline core-module output: selection normalization, character stepping, and rejecting a stale response after reset. Styled terminal presentation; no API calls or input hooks.

why I built it

Explore a user-controlled workflow for selecting a screen region, requesting AI assistance, and replaying generated text into an editor, with explicit pause and cancellation controls.

what it does

01

Explicit submission

Select a region first, then submit it through a separate action. Capturing a region does not itself send an API request.

02

Separate status monitor

The background application owns capture and input handling; a separate monitor reports state without taking over its lifecycle.

03

Rehearsal & cancellation

An offline rehearsal mode exercises the workflow with a fixed snippet. Pause, restart, and cancellation controls manage local state.

the workflow

  1. 1.

    Start the app and enable the controls.

  2. 2.

    Select the intended region and explicitly submit it.

  3. 3.

    Review request state in the monitor.

  4. 4.

    Replay, pause, or discard generated editor input.

under the hood

Python coordinates Windows input hooks, screen capture, API requests, process ownership, and a separate monitoring process. Local rehearsal avoids live API traffic during workflow checks.

scope & current state

A Windows-specific experiment. Editor focus, keyboard layouts, and automatic indentation affect replay. Local cancellation discards the answer but cannot undo a request already received by the provider.