Screenshots

LeetCode Ghost Window includes a powerful screenshot capture feature that allows you to grab LeetCode problem statements for processing with AI.

Capturing Screenshots

The application provides several keyboard shortcuts to capture screenshots of LeetCode problems:

Ctrl+Shift+1

Capture primary screenshot (problem statement)

Ctrl+Shift+2

Capture secondary screenshot (examples, constraints)

Ctrl+Shift+3

Capture tertiary screenshot (additional info)

Ctrl+Shift+R

Reset all screenshots

Best Practices

For the best results when capturing screenshots:

  • Ensure the problem statement is fully visible in your browser
  • Capture examples and constraints in separate screenshots when possible
  • Use the third screenshot for additional context or special requirements
  • Make sure all necessary information is visible within the capture area

Screenshot Preview

After capturing screenshots, you can preview them within the application:

  1. View Thumbnails

    Captured screenshots appear as thumbnails in the application interface. Each thumbnail has a colored indicator showing its status.

  2. Enlarge Preview

    Click on a thumbnail to open a larger preview of the screenshot.

  3. Recapture if Needed

    If a screenshot doesn't capture the information clearly, you can recapture it using the same shortcut.

Capturing Multiple Screenshots

For complex LeetCode problems, capturing multiple screenshots is often necessary:

Screenshot 1: Problem Statement

Capture the main problem description, including the task and basic requirements.

Screenshot 2: Examples and Test Cases

Capture the examples, input/output format, and test cases provided by LeetCode.

Screenshot 3: Constraints and Additional Info

Capture constraints, edge cases, or any other relevant information that would help with solving the problem.

Using Screenshots with AI Processing

After capturing the necessary screenshots, you can process them with AI:

Ctrl+Shift+A

Process with 1 screenshot

Ctrl+Shift+B

Process with 2 screenshots

Ctrl+Shift+C

Process with 3 screenshots

The AI will analyze all selected screenshots together to provide a comprehensive solution.

CLI Screenshot Management

You can also manage screenshots through the CLI:

# Capture a screenshot leet-joseok capture  # Process captured screenshots leet-joseok process