跳过主要内容
H

fishclick

holderlink/fishclick

按窗口客户区截图,并用同一套客户区像素坐标点击,可选按 UI Automation 控件名点击。

安装

dsh plugin --profile web add github:holderlink/fishclick

README

FishClick for DSH

DSH Host plugin that exposes two tools:

  • fishclick_window — list / info / shot a Windows window's client area
  • fishclick_click — click client-relative pixels, normalized coordinates, or a UI Automation control

The coordinate contract: screenshot pixel = click pixel. No screen scaling, no DPI guessing.

Install

Copy this directory into a workspace, then in DSH:

Plugins → Add plugin → local directory (or plugin_manager install_bundle with this absolute directory).

Requires Windows, Python 3.9+, and pip install pillow. Set FISHCLICK_PYTHON if python is not on PATH.

Usage

fishclick_window action="list"
fishclick_window action="shot" title="Notepad" out="C:\temp\shot.png" grid=100
fishclick_click title="Notepad" rel_x=120 rel_y=80 dry_run=true
fishclick_click title="Notepad" rel_x=120 rel_y=80

See docs/DETAIL.md for the full guide and limitations.

License

MIT.

安全边界

FishClick 能截屏并点击任意窗口,等同你的鼠标键盘。只在信任的 agent 会话里装;不要把不可信的网页/评论内容直接交给 fishclick_click。

相关插件