A simple tool to take screenshots of a window and its modal dialog together — with customizable background for non-client areas. Windows only.
Sample output (padded to align with input):

Run the script. It runs in the background and listens for a global hotkey.
Open your target application and the dialog you want to capture.
Press Ctrl+Alt+S — the combined screenshot will be copied to the clipboard.
Paste it directly into your graphics editor, presentation, or documentation.
- Requires Python for Windows
- Install required packages via pip:
pip install pywin32
pip install mss
pip install pillow
pip install keyboard
- Download and run
wds.pyThe script will start in the command line window. Press Ctrl+C in the console to exit.
Transparent corners background is currently not supported.
After some time, the hotkey may stop working due to conflicts with other applications and needs to be restarted.
