Pywayne Gui for Openclaw

A Python-based Windows automation toolkit for registering global system hotkeys and performing advanced window management operations.

wangyendt
v0.1.0
Feb 16, 2026
0
1.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gui

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gui using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Pywayne Gui?

Pywayne Gui is a specialized automation framework designed for the Windows operating system, offering a streamlined interface for desktop interaction. As a key entry in the Openclaw Skills collection, it allows developers to move beyond standard script execution by providing deep integration with the Windows UI. The skill excels at two primary tasks: system-wide keyboard event listening and programmatic window manipulation, making it an essential tool for building desktop macros and automation workflows.

By leveraging underlying libraries like pywin32 and pyautogui, Pywayne Gui simplifies complex Win32 API interactions. Developers can quickly find specific application windows using keyword searches, adjust their state (maximize, bring to top, or close), and even modify window metadata like titles. This makes it highly effective for creating custom productivity tools that need to react to user input regardless of which application currently has focus.

Pywayne Gui Use Cases

  • Creating custom global shortcuts to trigger specific Python automation scripts.
  • Automating the arrangement and state management of multiple desktop application windows.
  • Building background monitors that react to specific keyboard combinations for screen capture or data logging.
  • Controlling legacy Windows applications that lack native APIs by manipulating their window handles and child elements.

How Pywayne Gui Works

  1. The user initializes the GlobalHotKeys or GuiOperation classes to interface with the Windows subsystem.
  2. Global hotkeys are registered using either decorators or direct method calls, mapping virtual keys and modifiers to specific callback functions.
  3. The application enters a listening loop to intercept system-level keyboard messages across the entire OS environment.
  4. For window management, the skill scans active processes to identify window handles (HWND) matching user-defined title keywords.
  5. Once a handle is obtained, the skill sends commands to the Windows API to modify window properties, dimensions, or visibility.

Pywayne Gui Setup

This skill requires a Windows environment and several Python dependencies. Install the core requirements using the following commands:

pip install pywin32 pyuserinput pyautogui

Ensure your terminal or IDE has the necessary permissions to listen for global inputs and manipulate other application windows.

Pywayne Gui Data Schema & Taxonomy

The skill organizes desktop data through window handles and coordinate systems as detailed below:

Data Type Description Structure
Window Handle Unique ID for a Windows object Integer (HWND)
Window Rect Spatial coordinates on screen (left, top, right, bottom)
Window Attributes Metadata for identified windows (Title String, Class Name)
Modifier Keys Constants for system keys MOD_ALT, MOD_CTRL, MOD_SHIFT, MOD_WIN
Virtual Keys System-level keyboard codes VK_A through VK_Z, VK_F1 through VK_F12

Pywayne Gui Advanced Features

  • Bitwise modifier combination support allowing for complex hotkey strings like Ctrl+Shift+Alt+Key.
  • Comprehensive child window enumeration to interact with specific UI components within a parent application.
  • Keyword-based multi-filter window searching for precise application targeting.
  • Dynamic window title modification for real-time status updates in the taskbar.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*