milijeans.blogg.se

Mac screen snapshot
Mac screen snapshot




mac screen snapshot

MAC SCREEN SNAPSHOT INSTALL

I’ve created Screenshot.alfredworkflow which does all this, so simply download it and install it into your Alfred and you’re good to go! This workflow includes the quickgrab binary, so you don’t need to get it separately. I also set up a hotkey for cmd+§ (finally a use for that § key!) which does the same thing. This then creates a PNG file with a name similar to Screenshot-20160724-1124429.png on my desktop. To use, I ensure that I have the window I want to capture active and then activate Alfred, type screenshot and press return. $ sleep 2 quickgrab -file ~/Desktop/Screenshot-`date '+%Y%m%d-%H%M%S'`.pngĪlfred is little app that can run commands for you from a text window or via a hotkey, so this is what I use to trigger QuickGrab. However, in CleanShot X, it’s part of the toolbar’s dropdown menu: CleanShot X’s Fullscreen Capture option. For example, in the native Screenshot.app, it’s a selection box: The fullscreen capture option in the Screenshot.app. When I investigated, I discovered that it’s because Chrome creates an invisible window at the top of its stack which needs to be ignored when looking for the active window. To take a full-screen capture, you’ll select the option from your app’s menu. A friend recently discovered that the current master version fails to take screenshots of Chrome if it’s the active window. (The binary quickgrab is in the repo, so you don’t have to compile)Īs an aside, that link is to my fork which fixes Chrome.

mac screen snapshot

QuickGrabįortunately, there’s a little open source utility called QuickGrab which solves this. There’s a built-in command line utility called screencapture which requires you to know the Quartz window id of the window you want to capture, so it’s now a multi-step process to just take a screenshot of the currently active window.

mac screen snapshot

The built-in way to do this on a Mac is to use shift+cmd+4, then press space and then use your mouse to highlight the window and click.įor a good proportion of the time, I’m not using a mouse, so this doesn’t work great. I find myself needing to take screen captures of the currently active window in OS X reasonably frequently.






Mac screen snapshot