Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm building an automator application that acts on a folder that needs to be specified.

Until now, I've been using the "Ask for Finder items" action to ask for a the folder to be used, but I would like to be able to just drag 'n' drop the folder on the application icon.

Can it be done in automator? I've been thinking to use some applescript to check if any input was given.

share|improve this question

You can do whole workflow in AppleScript:

on adding folder items to theFolder after receiving theItems
    repeat with anItem in theItems
        -- your code goes here  
    end repeat
end adding folder items to
share|improve this answer

yes it can. It's called folder actions. Please give me the details of what you are trying to do exactly and I can put the workflow together for you.



share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.