ScreenshotSaveTask
OPAL task that captures a screenshot, saves it to a file, and copies the path to the clipboard.
| Declared in | src/libs/libopal/opal/screenshot/ScreenshotSaveTask.hpp |
| Inherits | OpalTask |
| Group | libopal |
Detailed description
Captures the current main window, saves it as a PNG to the user's Pictures/Screenshots directory, and copies the file path to the system clipboard.
Parameters: - prefix (optional): Filename prefix (default: "screenshot")
Outputs: - path: Absolute path of the saved screenshot file
See also ScreenshotCopyTask, OpalUIDriver.