Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am attempting to take a screenshot of a tooltip that appears when a user hovers over it, and immediately disappears upon any key press or cursor movement. Unfortunately, this means the typical shortcut I use for screenshots (+SHIFT+4) causes the element to disappear.

Is there any way I can capture this tooltip, preferably without installing any third party software?

share|improve this question
add comment

5 Answers 5

up vote 3 down vote accepted

+shift+3 should do the trick, it captures the entire screen. The only downsides are that it doesn't grab the cursor as well and depending on what you want you may have to crop it a bit in Preview afterwards.

That's how I grabbed this image.Screenshot showing active tooltip

share|improve this answer
1  
Thanks, seems like it would be a good solution, however, as soon as I hit ⌘, the tooltip disappears from the screen. This is the case for Stackexchange as well. Maybe it's my browser? edit: Tried the same thing in Chrome, and the tooltip remains. Thanks! –  Ben Siver Feb 25 at 16:13
    
Ah cool, didn't realize the tooltip behavior could be dictated by the browser. I almost always use Safari so I hadn't noticed it before. –  Mr Rabbit Feb 25 at 16:21
add comment

You can do this using the screencapture CLI:

screencapture -T 5 -C ~/Desktop/screencapture.png

Define a delay using -T <seconds>. Use -C to capture the cursor too.

Add -i to capture interactively. This uses the normal capture region selection available from ⌘⇧4, however you can combine this with -T to add a delay so that it captures the tooltip in the region.

share|improve this answer
    
Oh wow, I've needed to know this forever –  jlarson Jun 4 at 23:26
add comment

You can do this with the Capture > Timed Screen option in the Grab utility. After starting the timer, you'll have 10 seconds to get back to what you want a shot of (including getting the tooltip to reappear). Also, you can use the Grab application's preferences to control whether (& how) the mouse pointer appears in the shot. What it doesn't let you do is choose which region to take a shot of, it just grabs the entire screen; you'll have to crop it appropriately yourself.

share|improve this answer
    
Thanks, I didn't know about Grab. Seems like a great solution to keep the cursor in the picture. –  Ben Siver Feb 25 at 16:42
add comment

If you only want the tooltip in the screenshot (without capturing anything else in the background), a faster way would be to use the keyboard shortcut 4, then position the crosshair over the tooltip, then press space (the crosshair should now turn into a camera). Then simply click on the tooltip, and you’ll get a nice screenshot of it with a transparent background and even its shadow to boot!

An example: tooltip_HiDPI

share|improve this answer
add comment

Weird. I had no trouble with (+SHIFT+4) in Safari (7.0.2).

This was taken from this site.

screen capture

share|improve this answer
    
I discovered earlier that this is actually browser specific behavior. See my first comment on the accepted answer. –  Ben Siver Mar 4 at 22:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.