MacOS – How to take a screenshot while holding down the control key

macosscreen capture

I'd like to screenshot a drag operation on OSX (I'm using Mavericks). Specifically, I need to do the following:

  1. Hold down the control key
  2. Begin the drag
  3. Take a screenshot
  4. release the mouse button and control keys

The problem is, the various screen capture key combos (Command ⌘+Shift ⇧+3, etc) don't seem to trigger while the control key is held down. Is there any way around this?

Best Answer

Open Terminal and type the command below. From there you have 10 seconds before the screenshot is taken (you can do whatever you want or hold any keys you want in that time).

Afterwards, you can find the screenshot in the directory you executed the command.

screencapture -T 10 screenshot.jpg