View Full Version : Just thought I'd share (automatically downloading pictures from your card)


christopher_platt
04-07-2005, 01:30 PM
Sorry, windows folks, this one's for Mac's only.
I have a baby due day after tomorrow, and only two 512meg CF cards. Using my D70 on RAW+JPEG, that equals about 86 pictures per card. That totals about 172 pictures, which will take me about 3 minutes to take. Now, my wife wasn't crazy about the idea of bringing the laptop to the hospital, but I figured this would make both of our days a little bit easier. I wanted a way that I could plug my card into the cardreader and have it automatically download the pictures to the proper folder and eject the card so that when I finished the other card, I could just go over and swap cards. Well, after HOURS AND HOURS of searching applescript websites, poring over apples 415 page PDF (yes, my eyes hurt for like two days) applescript language guide, and shamelessly ripping parts off from other scripts, I've come up with this. It's called Baby, but you can rename it. Here's how to make it work for you: I can't figure out how to upload it on this site, so email me and I'll send it to you. Double click it, go to the EDIT menu>Edit Script.
Replace the appropriate sections with your pertinent information (ie the name of your disks, the path to the folder where you want your pictures saved, etc) and try it out. If you have any problems, I'll try to help, but I'll warn you now I'm not a computer guy. If anyone knows anyplace that I can upload this so people can just download it, let me know. I hope it's helpful for someone.

christopher_platt
04-07-2005, 01:46 PM
Nevermind, you don't have to email me. . .Here it is
start cut here-----------------------------------------
on idle
tell application "Finder" to set exists_ to exists disk "PUT THE NAME OF THE CARD THAT POPS UP ON YOUR DESKTOP HERE, BETWEEN THESE QUOTATION MARKS"
if exists_ is true then
set the_folder to "PUT THE PATH TO THE FOLDER WHERE THE PICTURES ARE ON YOUR CARD HERE (IE CARDNAME:FOLDER1:FOLDER2" as alias
tell application "Finder"
set destination_ to "PUT THE PATH FOR THE FOLDER THAT IS TO BE THE DESTINATION FOR THE PICTURES HERE (IE HARDDRIVENAME:FOLDER1:FOLDER2:ETC"
duplicate items of the_folder to destination_
eject "PUT THE NAME OF THE CARD HERE AGAIN"
end tell
end if

return 3 -- seconds
end idle

end cut here-----------------------------------------------------------

Now you can just post that text into applescript editor (it came with your system, probably in the utilities folder) and Save As with the file type as application. Now, when you open that little application you just saved, it will check for your disk every 3 seconds. When it finds it, it will duplicate the pictures to your destination folder and eject the disk.