Automating Screenshots with Claude Code

(quobix.com)

4 points | by pb33f 2 hours ago

2 comments

  • virtualritz 1 hour ago
    I'm on Linux.

    I press F11, select the region and click and then Ctrl-V paste the image into Claude or Codex CLI.

    Does this not work on macOS?

    • pb33f 1 hour ago
      There may be a mode to do this using the existing screen capture, I have not tried all the combinations, normally it saves either the entire screen or a region based on the key combo, but as far as I have tested does not copy to the clipboard or autopaste.
      • virtualritz 34 minutes ago
        So you solved a problem you didn't first confirm you factually had. :D

        I googled "capture screen region on macos".

        TLDR; works on macOS (you set it to capture to clipboard instead of PNG). And then press Cmd+V in your LLM CLI ...

    • vunderba 1 hour ago
      Macs have configurable global shortcuts for copying screen or selected areas directly to the clipboard which you can then paste directly into CC.