Capture screenshots from WSL using Windows PowerShell.
bash
# Run the screenshot script
~/.openclaw/workspace/skills/wsl-screenshot/scripts/screenshot.sh
# Output: C:\Users\97027\Pictures\wsl_screenshot_YYYYMMDD_HHMMSS.png
After taking a screenshot, send it via message:
bash
# Get the latest screenshot path
LATEST=$(ls -t /mnt/c/Users/97027/Pictures/wsl_screenshot_*.png | head -1)
# Send via message tool
message action=send media="$LATEST" caption="📸 Screenshot"
Or use direct path:
bash
message action=send media="/mnt/c/Users/97027/Pictures/wsl_screenshot_YYYYMMDD_HHMMSS.png"
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exescripts/screenshot.sh - Screenshot script