← All articles

HuyIDE guide ·

Capture an app window into HuyIDE chat with Cmd + Cmd

A screenshot is useful context when a layout breaks or an application behaves unexpectedly. HuyIDE's quick capture puts an app-window image into chat so you can pair visual evidence with a precise question.

Enable quick capture

Open the Command Palette in HuyIDE and run Enable Global Screenshot Shortcut. On macOS, allow Accessibility and Screen Recording for HuyIDE in System Settings. If the shortcut does not respond after granting access, enable it again or restart the app as prompted.

This shortcut uses the left and right Cmd keys pressed together. It is not a double tap of one Cmd key.

Capture the window you want to discuss

Open the application window that shows the issue, such as a browser preview of your project. Press left Cmd and right Cmd together. When you return to HuyIDE, the last external window you used is the capture source.

Check the image attachment in chat before sending it. If the wrong window was captured, return to the intended app and repeat the shortcut. This review step helps avoid sharing an unrelated window with your model provider.

Turn the image into a useful request

Add a prompt that states what you expected and what the screenshot shows. For example: 'The mobile navigation overlaps the hero at 390 px. Identify the likely CSS cause and propose a minimal fix.' A model can reason more effectively when the image is paired with a concrete task and relevant project files.

Choose an image-capable model before sending. Review its suggested change and the resulting diff, then run the checks relevant to your project. The screenshot helps describe the problem; it does not replace testing the fix.

  • Describe the expected behavior and the visible mismatch.
  • Mention the viewport, app, or workflow when it matters.
  • Inspect the attached image and proposed code changes before committing.

Other desktop platforms

On Windows and Linux, HuyIDE uses left Ctrl plus right Ctrl for the quick capture shortcut. On Wayland, use Capture Screenshot to Chat and the system source picker instead. The HuyIDE documentation contains the current platform-specific steps.