Mac OS X 10.9.5 Automator

Joined
Oct 10, 2014
Messages
1
Reaction score
0
I'm trying to use Automator or AppleScript to perform a repetitive function.

I have a drive with lots of movie folders. In each folder is the movie and an image named "folder.jpg".

I would like the script to:
1. Go through each folder
2. Find the image file named "folder.jpg"
3. open the image in Preview
4. Select All of the image
5. Copy the image to the clipboard
6. Close the image
7. Find the folder that holds the previously opened image (Parent)
8. Get Info on that folder
9. Tab to the folder image
10. Paste the image from the clipboard, replacing the folder icon
11. Close the Folder Info window
12. move on to the next folder and repeat.

I would like this to be able to iterate through a whole directory.

Any help is greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top