Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Automator help, please.

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Macintosh Users Group Donate to DU
 
GoneOffShore Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Feb-03-09 01:25 AM
Original message
Automator help, please.
I'm running a MacBook with 10.5, so I've got Automator.
I've never used AppleScript or done anything with Automator.

I've got the Canon Rebel and the accompanying software: I shoot in the RAW + JPEG mode so I can have quick access to the JPEG files for iPhoto and RAW so I can do fixes on the files for printing, web, etc.

I would like to separate the files into two different sub folders(JPEG and RAW) within the dated folder which is in the Pictures folder.

I tried using the record function today, but it doesn't seem to allow you to change the name of the specified folder to one you've just created. ( I know I'm not being totally clear here)

Here's the what I'd like the workflow to do:

Click on the folder.
Create two subfolders. One JPEG and one RAW. Move JPEG's into JPEG sub folder, Move RAW's into RAW folder.

Anyone have any thoughts, please?

Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
NoQuarter Donating Member (532 posts) Send PM | Profile | Ignore Wed Feb-04-09 04:03 AM
Response to Original message
1. I've played around with Automator a little bit.
What I've found is it selects items based on something. So set up a workflow that selects one subset of files based on the file extension and place those in the target folder.

I believe that asking for the sets of files to be separated into two separate folders is asking too much of the still pre-pubescent application without knowing a lot about scripting (Automator does support imbedded scripts in workflows.)

Save the workflow you've built as a Finder plug-in and it will be available with a right-click (control-click) in a Finder window or on the Desktop.
Printer Friendly | Permalink | Reply | Top
 
struggle4progress Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-06-09 12:37 AM
Response to Original message
2. Try something like this. You're going to create multiple workflows and stitch them together
First, drag two copies of "New folder" to the workflow and specify where you want the new folders "MyRAW" and "MyJPG" made and their names. Save it ("FlowA," say) and test it

Make a new work flow, dragging to it "Find finder items," "Get folder contents," "Filter finder items," and "Copy finder items." In "Find finder items," put the name of your original folder; then filter to select (say) the JPEGs, and copy to "MyJPG." Save it ("FlowB," say) and test it.

Now resave "FlowB" as "FlowC" and modify it for the RAWs. Save and Test.

Make a fourth workflow and drag in "FlowA," "FlowB," and "Flow C"

You may have to tinker with this a bit to get rid of bugs
Printer Friendly | Permalink | Reply | Top
 
GoneOffShore Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Feb-06-09 10:12 AM
Response to Original message
3. Thanks to both of you. I may have a busy weekend.
Along with cooking and figuring out which "Red" photo to put in the February contest.
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Sun Dec 22nd 2024, 03:45 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Macintosh Users Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC