搜索

PythonReactSEOPDF
OpenClaw

Windows Automation

Windows Automation Skill

hjx3780 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install hjx378/windows-automation

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Windows Automation Skill

Automate Windows desktop interactions using PyAutoGUI

Overview

This skill provides comprehensive Windows desktop automation capabilities. Use it when you need to:

  • Simulate mouse clicks and keyboard input
  • Automate GUI interactions in non-web applications
  • Capture screenshots
  • Manage clipboard content
  • Launch applications
  • Run system commands

Setup

The required packages are already installed:

  • pyautogui - Core automation engine
  • pywin32 - Windows API access
  • pyperclip - Clipboard operations

If needed, install manually:

pip install pyautogui pywin32 pyperclip

Tools

🖱️ Mouse Control
windows_click

Click at specified screen coordinates.

windows_click(x=100, y=200, button="left", clicks=1)

Parameters:

Param Type Default Description
x float required X coordinate
y float required Y coordinate
button str "left" "left", "right", "middle"
clicks int 1 Number of clicks

windows_double_click

Double click at position.

windows_double_click(x=500, y=300)

windows_right_click

Right click at position.

windows_right_click(x=100, y=200)

windows_move

Move mouse to position.

windows_move(x=800, y=600, duration=0.5)

Parameters:

Param Type Default Description
x float required X coordinate
y float required Y coordinate
duration float 0.2 Movement duration in seconds

⌨️ Keyboard Control
windows_type

Type text using keyboard.

windows_type(text="Hello World!", interval=0.05)

Parameters:

Param Type Default Description
text str required Text to type
interval float 0.05 Delay between keystrokes

`wi...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/hjx378/windows-automation
Version
—
Commit
766d0a14ed4864bd490bbfb0d88f3c6dead425d0
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

windows-automation

Windows desktop automation skill for OpenClaw.

Features

using PyAutoGUI- 🖱️ Mouse Control: Click, double-click, right-click, move, drag

  • ⌨️ Keyboard Control: Type text, press keys, hotkeys
  • 📸 Screen Operations: Screenshot capture
  • 📋 Clipboard: Read and write clipboard content
  • 🪟 App Launch: Launch Windows applications
  • 💻 Command Execution: Run PowerShell/CMD commands
  • ℹ️ System Info: Get cursor position, screen size, system details

Installation

pip install pyautogui pywin32 pyperclip

Usage Examples

# Click at position
windows_click x=500 y=300

# Open calculator
windows_launch_app name="calc"

# Copy selected text
windows_hotkey ctrl c

# Take a screenshot
windows_screenshot

# Get cursor position
windows_cursor_position

# Run ipconfig
windows_command ipconfig

Tools

Tool Description
windows_click Click at coordinates
windows_double_click Double click
windows_right_click Right click
windows_move Move mouse
windows_type Type text
windows_press Press a key
windows_hotkey Keyboard shortcut
windows_scroll Scroll wheel
windows_screenshot Take screenshot
windows_cursor_position Get cursor position
windows_screen_size Get screen resolution
windows_launch_app Launch app
windows_command Run command
windows_clipboard_read Read clipboard
windows_clipboard_write Write clipboard
windows_system_info System information

License

MIT

来源内容

SKILL.md
# Windows Automation Skill

> Automate Windows desktop interactions using PyAutoGUI

## Overview

This skill provides comprehensive Windows desktop automation capabilities. Use it when you need to:
- Simulate mouse clicks and keyboard input
- Automate GUI interactions in non-web applications
- Capture screenshots
- Manage clipboard content
- Launch applications
- Run system commands

## Setup

The required packages are already installed:
- `pyautogui` - Core automation engine
- `pywin32` - Windows API access
- `pyperclip` - Clipboard operations

If needed, install manually:
```bash
pip install pyautogui pywin32 pyperclip
```

---

## Tools

### 🖱️ Mouse Control

#### `windows_click`
Click at specified screen coordinates.

```python
windows_click(x=100, y=200, button="left", clicks=1)
```

**Parameters:**
| Param | Type | Default | Description |
|-------|------|---------|-------------|
| `x` | float | required | X coordinate |
| `y` | float | required | Y coordinate |
| `button` | str | "left" | "left", "right", "middle" |
| `clicks` | int | 1 | Number of clicks |

---

#### `windows_double_click`
Double click at position.

```python
windows_double_click(x=500, y=300)
```

---

#### `windows_right_click`
Right click at position.

```python
windows_right_click(x=100, y=200)
```

---

#### `windows_move`
Move mouse to position.

```python
windows_move(x=800, y=600, duration=0.5)
```

**Parameters:**
| Param | Type | Default | Description |
|-------|------|---------|-------------|
| `x` | float | required | X coordinate |
| `y` | float | required | Y coordinate |
| `duration` | float | 0.2 | Movement duration in seconds |

---

### ⌨️ Keyboard Control

#### `windows_type`
Type text using keyboard.

```python
windows_type(text="Hello World!", interval=0.05)
```

**Parameters:**
| Param | Type | Default | Description |
|-------|------|---------|-------------|
| `text` | str | required | Text to type |
| `interval` | float | 0.05 | Delay between keystrokes |

---

#### `wi...
README
# windows-automation

Windows desktop automation skill for OpenClaw.

## Features

 using PyAutoGUI- 🖱️ **Mouse Control**: Click, double-click, right-click, move, drag
- ⌨️ **Keyboard Control**: Type text, press keys, hotkeys
- 📸 **Screen Operations**: Screenshot capture
- 📋 **Clipboard**: Read and write clipboard content
- 🪟 **App Launch**: Launch Windows applications
- 💻 **Command Execution**: Run PowerShell/CMD commands
- ℹ️ **System Info**: Get cursor position, screen size, system details

## Installation

```bash
pip install pyautogui pywin32 pyperclip
```

## Usage Examples

```
# Click at position
windows_click x=500 y=300

# Open calculator
windows_launch_app name="calc"

# Copy selected text
windows_hotkey ctrl c

# Take a screenshot
windows_screenshot

# Get cursor position
windows_cursor_position

# Run ipconfig
windows_command ipconfig
```

## Tools

| Tool | Description |
|------|-------------|
| `windows_click` | Click at coordinates |
| `windows_double_click` | Double click |
| `windows_right_click` | Right click |
| `windows_move` | Move mouse |
| `windows_type` | Type text |
| `windows_press` | Press a key |
| `windows_hotkey` | Keyboard shortcut |
| `windows_scroll` | Scroll wheel |
| `windows_screenshot` | Take screenshot |
| `windows_cursor_position` | Get cursor position |
| `windows_screen_size` | Get screen resolution |
| `windows_launch_app` | Launch app |
| `windows_command` | Run command |
| `windows_clipboard_read` | Read clipboard |
| `windows_clipboard_write` | Write clipboard |
| `windows_system_info` | System information |

## License

MIT

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.