Install
openclaw skills install doubao-captureCapture Doubao translation results with auto-scroll and auto-end detection.
openclaw skills install doubao-capturepython scripts/capture_doubao_scroll_v2.py --hwnd <window_handle> --output-dir <dir> --stop-auto --json-output
window_handle (required): HWND from doubao-launchoutput_dir (optional): Output directory, default: "works/translations"stop_auto (optional): Auto-detect end, default: trueno_new_threshold (optional): Consecutive empty reads threshold, default: 5{
"success": true,
"text_file_path": "H:/works/translations/doubao_20240307_143022.txt",
"line_count": 156,
"char_count": 3847,
"stopped_by": "auto_detect"
}
Capture translated subtitles from Doubao
This skill is part of the YouTube translation workflow:
All skills execute on Windows Python via WSL cross-platform call:
wsl -> python.exe scripts/capture_doubao_scroll_v2.py ...
All skills return JSON with success field:
success: true - Operation completedsuccess: false - Check error_code and error_messageworks/ directory/mnt/h/...