Automating Screenshots with Claude Code

4 pointsposted 19 days ago
by pb33f

7 Comments

user

19 days ago

[deleted]

virtualritz

19 days 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

19 days 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

19 days 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 ...

pb33f

19 days ago

> So you solved a problem you didn't first confirm you factually had. :D

Claude did actually :)

> (you set it to capture to clipboard instead of PNG)

What is the key combination to do this? and have it auto paste into the right terminal window I was in?

vunderba

19 days ago

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

pb33f

19 days ago

Or use this and have it done automatically :)