Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 17, 2009, 07:13 PM   #1
hecxs
macrumors newbie
 
Join Date: Dec 2007
Screenshots: How do u select a destination file for these pics??

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 ( + shift + 3) are saved on the desktop. Any idea how to change this??
hecxs is offline   0 Reply With Quote
Old Apr 17, 2009, 07:15 PM   #2
ravenvii
macrumors 604
 
ravenvii's Avatar
 
Join Date: Mar 2004
Location: Melenkurion Skyweir
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.
__________________
59 6F 75 20 73 70 6F 6F 6E 79 20 62 61 72 64 21
ravenvii is offline   0 Reply With Quote
Old Apr 17, 2009, 08:48 PM   #3
GorillaPaws
macrumors 6502a
 
GorillaPaws's Avatar
 
Join Date: Oct 2003
Location: Richmond, VA
Quote:
Originally Posted by ravenvii View Post
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.

Last edited by GorillaPaws; Apr 17, 2009 at 09:09 PM.
GorillaPaws is offline   0 Reply With Quote
Old Apr 17, 2009, 11:37 PM   #4
Slovak
macrumors regular
 
Join Date: Jul 2008
OnyX
Attached Thumbnails
Click image for larger version

Name:	OnyX.jpg
Views:	644
Size:	92.7 KB
ID:	167588  
Slovak is offline   0 Reply With Quote
Old Apr 18, 2009, 09:35 AM   #5
hecxs
Thread Starter
macrumors newbie
 
Join Date: Dec 2007
very useful.
Tanks.

what other useful stuff have you found with the onyX?

Last edited by hecxs; Apr 18, 2009 at 09:41 AM.
hecxs is offline   0 Reply With Quote
Old Apr 18, 2009, 10:35 AM   #6
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
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.
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"
Pretty much the same thing as Onyx does, but is stand alone.
angelwatt is offline   0 Reply With Quote
Old Apr 18, 2009, 01:28 PM   #7
Slovak
macrumors regular
 
Join Date: Jul 2008
Quote:
Originally Posted by hecxs View Post
what other useful stuff have you found with the onyX?
http://www.apple.com/downloads/macos...ties/onyx.html
Slovak is offline   0 Reply With Quote
Old Apr 19, 2009, 10:06 AM   #8
hecxs
Thread Starter
macrumors newbie
 
Join Date: Dec 2007
Quote:
Originally Posted by angelwatt View Post
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.
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"
Pretty much the same thing as Onyx does, but is stand alone.


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

I didn't even know my freakin' mac can do this stuff. Thank you man.
hecxs is offline   0 Reply With Quote
Old Jul 14, 2009, 01:04 AM   #9
jman995x
macrumors regular
 
Join Date: Sep 2007
Quote:
Originally Posted by angelwatt View Post
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.
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"
Pretty much the same thing as Onyx does, but is stand alone.
Thanks for writing that script!
It worked perfectly.

jman995x.
jman995x is offline   0 Reply With Quote
Old Jul 14, 2009, 02:36 AM   #10
wwwhatsup
macrumors newbie
 
Join Date: Jul 2009
Location: .se
Send a message via MSN to wwwhatsup
yea. thanks for the script. works perfect!
__________________
24" IMAC 3.06GHz Intel Core 2 Duo/4GB RAM/1TB HD and 4GB iPod nano (pink)
wwwhatsup is offline   0 Reply With Quote
Old Nov 26, 2010, 07:17 PM   #11
stl88
macrumors newbie
 
Join Date: Nov 2010
Quote:
Originally Posted by jman995x View Post
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
stl88 is offline   0 Reply With Quote
Old Nov 26, 2010, 07:53 PM   #12
mac2x
macrumors 65816
 
Join Date: Sep 2009
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
__________________
Retina MBP | 2.6 GHz i7 | 16 GB RAM

Gaming Rig | Core i7-2600K | 16 GB RAM | 160 GB OCZ Agility 2 | EVGA GTX 770 SC | Windows 7 Pro x64 | ASUS VG248QE
mac2x is offline   0 Reply With Quote
Old Nov 26, 2010, 08:52 PM   #13
stl88
macrumors newbie
 
Join Date: Nov 2010
Quote:
Originally Posted by mac2x View Post
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 don't see com.apple.screencapture, it just goes from scheduler to security
stl88 is offline   0 Reply With Quote
Old Nov 29, 2010, 06:49 PM   #14
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
Quote:
Originally Posted by stl88 View Post
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.
angelwatt is offline   0 Reply With Quote
Old Feb 8, 2012, 08:00 PM   #15
bpwhistler
macrumors newbie
 
Join Date: Feb 2010
Thanks

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
bpwhistler is offline   0 Reply With Quote
Old Feb 9, 2012, 03:28 AM   #16
Martin.Roende
macrumors newbie
 
Join Date: Feb 2012
Applescript guide for above Screen Shot script

Thank you for this script....

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
Martin.Roende is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How do I get a total file size for a group of files in Snow Leopard crmpicco Mac Basics and Help 4 Nov 27, 2011 10:55 AM
How do I make a password for router/how do i open exe/dll files? JordanLB23 OS X 6 Mar 21, 2010 06:46 PM
How do i download the bootloader files for pwnage SMkdesigns Jailbreaks and iOS Hacks 5 Jul 15, 2008 11:06 PM
How do you select paper type and print quality on mac leopard for the canon IP4500 gazy1344 Mac Basics and Help 2 May 19, 2008 03:20 PM
How do I get my Mac to play these files? mariahlullaby Mac Basics and Help 1 Jul 6, 2007 09:27 PM


All times are GMT -5. The time now is 05:00 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC