Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

2 Answers 2

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.

Regards,

Phil

share|improve this answer

Your Answer

 
discard

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.