Capture every monitor. Ask the AI in one keystroke.
Multi-monitor capture • global hotkey • ChatGPT desktop injection • direct GPT-4o analysis.
- Key Features
- Quick Start (Pre-Built Executable)
- Running from Source
- How It Works
- Global Hotkeys & Prompt Presets
- Building the Standalone .EXE
- Project Structure
- Author
- 🖥️ Full Multi-Monitor Support: Automatically detects every connected monitor and captures high-resolution screenshots without cursor latency.
- ⚡ Global Hotkey (
Ctrl + Alt + G): Trigger instant screen capture and AI injection from any application, game, or trading chart in the background. - 🎨 Dark Modern GUI (
capture_gui.py): Live thumbnails of every connected display, monitor toggles (select which screens to capture), and custom prompt editors. - 🤖 Automated ChatGPT Desktop Injection: Brings the official Windows ChatGPT desktop application to the foreground, attaches all screenshots in sequence, pastes your prompt, and prepares it for instant review or automatic submission.
- 🌐 Direct OpenAI API Mode (
screen_to_chatgpt.py): Headless CLI mode that encodes screenshots into high-detail base64 images and streams GPT-4o responses directly to your terminal. - 🎯 Tailored Trading & Dev Presets: Pre-configured prompts for reading order flow (ATAS / TradingView charts), key support/resistance levels, delta divergences, and code debugging.
- 📦 Zero-Install Standalone EXE: Comes pre-packaged with PyInstaller (
dist/ScreenToChatGPT.exe) — run it on any Windows computer with zero setup!
No Python installation required!
- Navigate to the
dist/directory:dist/ScreenToChatGPT.exe - Double-click
ScreenToChatGPT.exeto launch the GUI. - Keep the ChatGPT desktop app open in the background.
- Press
Ctrl + Alt + Ganytime to capture your screens and inject them directly into ChatGPT!
- Python: 3.10 or higher
- Windows: 10 / 11
pip install -r requirements.txt
pip install pyautogui pygetwindow pywin32 pillowpython capture_gui.pyTo query OpenAI GPT-4o directly without opening the ChatGPT desktop app:
# Set your API key
$env:OPENAI_API_KEY = "sk-..."
# Run direct capture & visual analysis
python screen_to_chatgpt.py "Analyze these trading charts and identify any potential reversal patterns."flowchart TD
User["Trader / Developer (Presses Ctrl+Alt+G)"] --> GUI["ScreenToChatGPT Engine"]
GUI -->|"mss multi-monitor grab"| Screens["High-Res Screenshots (Monitors 1, 2, 3)"]
Screens -->|"Win32 Clipboard Stream"| Dispatcher{"Mode Selection"}
Dispatcher -->|"Desktop App Mode"| ChatGPTApp["ChatGPT Desktop App (Windows)"]
Dispatcher -->|"OpenAI API Mode"| GPT4o["OpenAI GPT-4o Vision API"]
ChatGPTApp --> Output1["Images attached + Prompt typed ready for send"]
GPT4o --> Output2["Terminal Markdown Analysis"]
Ctrl + Alt + G: Captures enabled monitors, focuses the ChatGPT desktop application, attaches images, and pastes the selected prompt preset.
- Order Flow Read: Deep inspection of absorption, exhaustion, delta divergences, and liquidity sweeps.
- Key Levels: Locates support/resistance, high-volume nodes, and order blocks.
- General Screen Inspection: Comprehensive overview identifying actionable items or bugs on screen.
- Code & Debug Review: Identifies exceptions, stack traces, and formatting issues in active IDE windows.
All presets are fully editable in the GUI and persist automatically to screens_to_chatgpt_config.json.
To rebuild the standalone executable using PyInstaller:
pip install pyinstaller
pyinstaller ScreenToChatGPT.specThe compiled binary will be placed in dist/ScreenToChatGPT.exe with bundled icons and manifest permissions.
Screen-Capture/
├── capture_gui.py # Full dark-theme Tkinter GUI with monitor previews & hotkeys
├── screen_to_chatgpt_desktop.py # Windows automation script (clipboard & window management)
├── screen_to_chatgpt.py # Headless OpenAI GPT-4o vision CLI utility
├── create_icon.py # Icon generator script
├── app.ico / app_preview.png # Application graphics and branding assets
├── requirements.txt # Python package dependencies
├── ScreenToChatGPT.spec # PyInstaller build specification
├── dist/
│ ├── ScreenToChatGPT.exe # Compiled ready-to-run Windows executable (~21 MB)
│ └── screens_to_chatgpt_config.json # User settings and saved prompt presets
└── README.md # Complete project documentation
- Developer: Chethiya Rathnasekara
- Repository: https://github.com/damsarachethiyaa-dev/Screen-Capture