Skip to content

v1.3.1 — 被挡住的窗口也看得清

Choose a tag to compare

@OrderG-X OrderG-X released this 21 Oct 15:36
· 20 commits to main since this release
  • 被挡住的窗口也看得清:给了 pid 时,截图、给元素编号(desktop_observe)、按文字找(desktop_find_text / desktop_click 按文字点)都按窗口号截窗口本身。目标窗口被别的窗口挡着、在后台,看到的也是它自己,不再是挡在前面的那个;截不到时自动退回按屏幕区域截。截图这部分来自 @Golden-Pigeon 的 PR #1,谢谢!
  • 设置页提示引擎可以更新:引擎旧了不拦着用,只在「命令行工具」那一行给一条更新命令,一键复制。
  • 窗口最小化或在别的桌面空间时,报错会直接说明原因。

更新:命令行引擎是在你电脑上编译的。要让编号和按文字找也用上新截法,在「终端」里运行(设置页里也能一键复制):

cd ~ && { [ -d dsh-mac-computer-use ] || git clone https://github.com/OrderG-X/dsh-mac-computer-use.git; } && cd dsh-mac-computer-use && git pull --ff-only && ./install.sh

再在 DSH 里更新插件:

dsh plugin add https://github.com/OrderG-X/dsh-mac-computer-use/releases/latest/download/dsh-mac-computer-use.tgz

不更新引擎也能用:截图已经能截到被挡住的窗口。(dsh-cu.tgz 是同一个包,留给旧链接用。)