|
截取屏幕并快速发送到飞书。
第一步:截屏(PowerShell)
bash
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -Command Add-Type -AssemblyName System.Windows.Forms; \$bmp = New-Object System.Drawing.Bitmap([System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Width, [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Height); \$graphics = [System.Drawing.Graphics]::FromImage(\$bmp); \$graphics.CopyFromScreen([System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Location, (New-Object System.Drawing.Point(0,0)), [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Size); \$bmp.Save(C:\Users\edy\Pictures\screenshot.png, [System.Drawing.Imaging.ImageFormat]::Png); \$bmp.Dispose()
第二步:复制到 workspace
bash
cp /mnt/c/Users/edy/Pictures/screenshot.png /home/edy/.openclaw/workspace/截图.png
第三步:发送到飞书
json
{
action: send,
channel: feishu,
filePath: /home/edy/.openclaw/workspace/截图.png
}
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 feishu-screenshot-1776069552 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 feishu-screenshot-1776069552 技能
skillhub install feishu-screenshot-1776069552
文件大小: 1.4 KB | 发布时间: 2026-4-15 12:43