Automatically open newly added files in a folder

Hi there.

I own a Nikon D80 and I want to have the images I take transfered directly
to my Mac to be stored and displayed. I found this om flickr:
http://www.flickr.com/groups/d80/discuss/72157603787246133/
where a user describes how to automatically add the photos to a folder on
the Mac, now all I need is a script that will automatically open the newly
imported photos, is it possible to do - and how? (I figured it probably
had something to do with automator, but since I don’t know anything about
coding anything, I need some help).

The script could either open the pictures as they are added (10 photos
taken will result in a total of 10 windows when done) or replace the
current showed image (10 photos taken will result in a total of 1 window
when done)

Perhaps it is something like this:
http://bbs.macscripter.net/viewtopic.php?id=22338 I’m looking
for, but I can’t read the code (yet), so I wouldn’t know.

It would be nice if there were some tuts on the subject, or a friendly
soul that would help me - and it would be very nice if it was possible to
combine the aforementioned from flickr into one app or script or
something, so that when it did run, it all worked nicely together :slight_smile:

I hope it all makes sense - thanks in advance for any help what so ever!

Specs: Macbook 1.83 GHz Intel Core Duo, 2 GB Ram, 250 GB HD, Mac OS X
Leopard (10.5.6)
Nikon D80 18-200 VR that can connect to the Mac through Mini USB to USB

When you say that you want the image to open, which application do you have in mind? Preview? iPhoto? Something else? Images do not simply open up; an application is necessary.

Preview or Photoshop CS3, sorry for the missing info :slight_smile: (I thought that if it wasn’t specified in the code it would open the files in their default app, now I know that it doesn’t)

No sweat. Once you have decided on a folder to transfer your images over from your camera, open Automator, and select Custom Workflow. In the Actions library, go to the Photos collection, and there should be an action entitled Open Images in Preview. Drag that action over to the workflow building area. You are now ready to save it.

Click on File → Save As Plug-In… You will need to enter a name for the plug-in in the top text box, and then from the little Combo Box beneath that, choose Folder Actions. You will then be presented with another combo box, and with that, you choose your original folder where your images will be transferred. Click Save, and you are done.

Now, whenever you add images to that folder, Preview will open them up for you.

Hope that helps,