PDA

View Full Version : Screenshots: How do u select a destination file for these pics??




hecxs
Apr 17, 2009, 07:13 PM
I want to take a whole bunch of screenshots and want to save them in a designated file I wish to create just for this purpose.

By default, the screenshots (:apple: + shift + 3) are saved on the desktop. Any idea how to change this??



ravenvii
Apr 17, 2009, 07:15 PM
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.

GorillaPaws
Apr 17, 2009, 08:48 PM
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.

The easiest way I can think of is to use a smart folder that will filter those images in from the desktop, that way you can easily drag them into your designated folder manually. Not ideal I realize, but not too painful either.

Slovak
Apr 17, 2009, 11:37 PM
OnyX

hecxs
Apr 18, 2009, 09:35 AM
very useful.
Tanks.

what other useful stuff have you found with the onyX?

angelwatt
Apr 18, 2009, 10:35 AM
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.
-- 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"
Pretty much the same thing as Onyx does, but is stand alone.

Slovak
Apr 18, 2009, 01:28 PM
what other useful stuff have you found with the onyX?

http://www.apple.com/downloads/macosx/system_disk_utilities/onyx.html

hecxs
Apr 19, 2009, 10:06 AM
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.
-- 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"
Pretty much the same thing as Onyx does, but is stand alone.



Dude!! You are like Morpheus from the Matrix! Showing me the path!! :D

I didn't even know my freakin' mac can do this stuff. Thank you man.

jman995x
Jul 14, 2009, 01:04 AM
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.
-- 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"
Pretty much the same thing as Onyx does, but is stand alone.

Thanks for writing that script!
It worked perfectly.

jman995x.

wwwhatsup
Jul 14, 2009, 02:36 AM
yea. thanks for the script. works perfect!

stl88
Nov 26, 2010, 07:17 PM
Thanks for writing that script!
It worked perfectly.

jman995x.


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.

Thanks

mac2x
Nov 26, 2010, 07:53 PM
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:

killall SystemUIServer

stl88
Nov 26, 2010, 08:52 PM
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:

killall SystemUIServer

i don't see com.apple.screencapture, it just goes from scheduler to security :(

angelwatt
Nov 29, 2010, 06:49 PM
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.

My post tells you. Paste it into Script Editor (now called AppleScript Editor) and then save it. Then you just double-click the saved file to run it.

bpwhistler
Feb 8, 2012, 08:00 PM
Thanks angelwatt. I know this thread is extremely old...but I just came across your script. It works great. Just what I've been looking for.

Brett

Martin.Roende
Feb 9, 2012, 03:28 AM
Thank you for this script....:apple:

Activation guide for non scripters:
In spotlight type in " Applescript "

Cut the script above, and paste into script editor.

Press save, and give it a place and name you can find again, ex.
"Screen Shot location.scpt" in your home directory.

Press Run and choose grphic format and location (select directory somewhere).

Regards Martin Rønde :rolleyes: