<HTML>
<HEAD>
<TITLE>Re: [X4U] Default Screen Capture format?</TITLE>
</HEAD>
<BODY>
<FONT COLOR="#0000FF"><FONT FACE="Lucida Grande, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>On 2/1/06 11:09 PM, nk <netkat@comcast.net> wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT COLOR="#0000FF"><FONT FACE="Lucida Grande, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I typed that string you show below, except for "png" I typed first "jpeg" then "jpg" ( I mean I tried one, then the other ) <BR>
<BR>
I tested it by taking a Shift-Cmd-3 screen cap, which deposited a file on the desktop; its icon said PICT.<BR>
<BR>
tried it several times making extra sure that I typed the string as given, putting all the spaces and periods in the right spot.<BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT FACE="Lucida Grande, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
Here’s a two-line AppleScript that will set it for you. Just open Script Editor, paste the following in, and run it:<BR>
<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Geneva, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10.0px'><B>set</B> <FONT COLOR="#AA0000"><B>defaultFormat</B></FONT> <B>to</B> <FONT COLOR="#004400">item</FONT> <FONT COLOR="#000077">1</FONT> <B>of</B> (<FONT COLOR="#004400">choose from list</FONT> {"<FONT COLOR="#000077">jpg</FONT>", "<FONT COLOR="#000077">pdf</FONT>", "<FONT COLOR="#000077">png</FONT>", "<FONT COLOR="#000077">tiff</FONT>"} <FONT COLOR="#004400">default items</FONT> "<FONT COLOR="#000077">pdf</FONT>" <FONT COLOR="#004400">with prompt</FONT> "<FONT COLOR="#000077">Choose a default screenshot format</FONT>" <B>without</B> <FONT COLOR="#004400">multiple selections allowed</FONT> <B>and</B> <FONT COLOR="#004400">empty selection allowed</FONT>)<BR>
<BR>
<FONT COLOR="#004400">do shell script</FONT> "<FONT COLOR="#000077">defaults write com.apple.screencapture type </FONT>" & <FONT COLOR="#AA0000"><B>defaultFormat</B></FONT> & "<FONT COLOR="#000077"> | killall SystemUIServer</FONT>"<BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Lucida Grande, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>HTH,<BR>
<BR>
--Bill</SPAN></FONT>
</BODY>
</HTML>