schrodinger.application.bunsen.screenshot module¶
- schrodinger.application.bunsen.screenshot.capture_main_window() PyQt6.QtGui.QPixmap | None¶
Return a QPixmap of the Maestro main window, including the workspace.
- Returns:
The composited pixmap, or
Noneif Maestro is not importable or has no main window.
- schrodinger.application.bunsen.screenshot.capture_workspace() PyQt6.QtGui.QImage | None¶
Return a QImage of just the Maestro 3D workspace.
Uses Maestro’s direct workspace-image API (via
_grab_workspace_image) rather than thesaveimagecommand, so it does not clutter the Command Script Editor history.- Returns:
The workspace image, or
Noneif Maestro is not importable or the workspace can’t be located.