Take screenshot on Mac mini and send to Feishu.
Triggers
- "Screenshot"
- "Send me the screenshot"
- "Send the screenshot to Feishu"
- "screenshot"
- "Screenshot skill"
How to use
Directly on the Apple的Mac mini node, run the script:
nodes.run(node="Apple的Mac mini", command=["bash", "-l", "/Users/apple/.openclaw/skills/screenshot-to-feishu/scripts/screenshot-to-feishu.sh"])
The script will automatically:
- Take a screenshot and save it to the desktop (with timestamp)
- Automatically send to Feishu
Output
- Screenshot file:
~/Desktop/screenshot_YYYYMMDD_HHMMSS.png - Feishu message: sent to the user
Error handling
- Automatically retry 3 times (2-second interval)
- Check whether the screenshot file exists and is non-empty
- Check whether sending succeeded
- On failure, keep the screenshot file for manual sending