Capture Part of Screen?

Is it possible to write a KM script that will capture part of the screen, along the lines of command-shift-4? I'm running Ventura, in case it makes a difference.

See the Screen Capture action.


You can also enter variables in the fields – nut just numbers.

Thanks, @ccstone. I'd missed that. Next question: is there a way of setting the area relative to the front window, rather than absolutely?

See the FrontWindowFrame token.

From there you can do all the math you want. The fields in the action will accept equations.

Thanks again. Working nicely now.

1 Like