I wondered the same thing a couple years ago actually, and found no ways to do it. That was on Tiger though, Leopard might have changed this, but I haven't bothered to look.
-- Created by angelwatt.com
-- Created: 2009-02-20
-- Description: Script configures Mac's built-in image capture utility. It asks for image file type and the destination for the captures.
-- Pick from list
set imgType to choose from list {"png", "jpg", "gif", "pdf", "tiff", "pict"} with prompt "Pick a image capture type" default items {"png"} OK button name "Pick"
-- Choose folder
set imgPath to choose folder with prompt "Choose Image Capture Location"
do shell script "defaults write com.apple.screencapture type " & imgType
do shell script "defaults write com.apple.screencapture location " & quoted form of POSIX path of imgPath
-- Kill the UI so user doesn't have to logout for change to take effect
do shell script "killall -HUP SystemUIServer"
what other useful stuff have you found with the onyX?
I created an AppleScript that lets you pick the output type and and destination for the screen shots. You can copy & paste the code into Script Editor and save it for use.
Pretty much the same thing as Onyx does, but is stand alone.Code:-- Created by angelwatt.com -- Created: 2009-02-20 -- Description: Script configures Mac's built-in image capture utility. It asks for image file type and the destination for the captures. -- Pick from list set imgType to choose from list {"png", "jpg", "gif", "pdf", "tiff", "pict"} with prompt "Pick a image capture type" default items {"png"} OK button name "Pick" -- Choose folder set imgPath to choose folder with prompt "Choose Image Capture Location" do shell script "defaults write com.apple.screencapture type " & imgType do shell script "defaults write com.apple.screencapture location " & quoted form of POSIX path of imgPath -- Kill the UI so user doesn't have to logout for change to take effect do shell script "killall -HUP SystemUIServer"
I created an AppleScript that lets you pick the output type and and destination for the screen shots. You can copy & paste the code into Script Editor and save it for use.
Pretty much the same thing as Onyx does, but is stand alone.Code:-- Created by angelwatt.com -- Created: 2009-02-20 -- Description: Script configures Mac's built-in image capture utility. It asks for image file type and the destination for the captures. -- Pick from list set imgType to choose from list {"png", "jpg", "gif", "pdf", "tiff", "pict"} with prompt "Pick a image capture type" default items {"png"} OK button name "Pick" -- Choose folder set imgPath to choose folder with prompt "Choose Image Capture Location" do shell script "defaults write com.apple.screencapture type " & imgType do shell script "defaults write com.apple.screencapture location " & quoted form of POSIX path of imgPath -- Kill the UI so user doesn't have to logout for change to take effect do shell script "killall -HUP SystemUIServer"
Thanks for writing that script!
It worked perfectly.
jman995x.
Don't bother with a script; just edit ~/Library/Preferences/com.apple.screencapture.plist
Change the path under "location" to your desired path. then you'll want to relaunch SystemUIServer:
Code:killall SystemUIServer
I'm sorry- I've never used a script before and I'm not sure where to put it in? It sounds like it's going to do exactly what I need but I don't know how to use it.