You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to change default file type for Grab?

How do I use Terminal to change default file type for Grab?

Posted on Mar 30, 2012 5:14 PM

Reply
21 replies

May 25, 2017 11:33 AM in response to leroydouglas

The command is missing an argument after type, and if you replace type with the format it results in


Rep argument is not a dictionary
Defaults have not been changed.


You must add the format type after the type key:



defaults write com.apple.screencapture type <format> && killall SystemUIServer


where <format> could be any of gif, jpg, tiff, pdf, psd, or png, e.g.:


defaults write com.apple.screencapture type png && killall SystemUIServer

Mar 30, 2012 5:55 PM in response to wvito

Grab is an app in your Utilities forlder. The format is .tiff


If you access the Grab through Preview>File>Take a Screen Shot you have the option to change/save what ever file type you want.


If you take a screencapture through the short cut keys ex shift-command-4 this is different application and the file type can be changed through terminal with the following:


defaults write com.apple.screencapture type && killall SystemUIServer


In this command, "TYPE" is one of the following: gif, jpg, tiff, pdf, psd, or png.


Message was edited by: leroydouglas

Apr 3, 2012 9:58 AM in response to wvito

How do I use Terminal to change default file type for Grab?


As far as I know, you can't change this for Grab.



Thanks for the screen capture code, but I don't use it as I want to be selective about the area of the capture.

The "traditional" screen capture allows this-

shift-command-3: entire screen

shift-command-4 : selected area (drag a rectangle and release the mouse)

shift-command-4, then <spacebar>: a window (move the "camera" over the window and click

Nov 21, 2013 11:22 AM in response to wvito

If you like the functionality of Grab, but want to make it a JPEG for example, add this fairly quick extra step. First, use Grab to get exactly what you want, and SAVE it. Then, the extra step is to open it up, which it does in Preview, and select a Save As, where you can save it as a JPEG or whatever you want.


If APPLE is listening ... PLEASE --> simply add the file format choice to Grab's Saving option, or make it a Prefenece choice <-- PLEASE. Thanks!!

How to change default file type for Grab?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.