05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 23 MAC <strong>OS</strong> X AUTOMATION WITH AUTOMATOR AND APPLESCRIPT 411<br />

Drag a Get Folder Contents action from the Files & Folders group and then a Move Finder<br />

Items to Trash action. This will delete the folder’s contents. Since Move Finder Items to Trash<br />

does not produce output, this also solves the problem of feeding bad information into the Ask<br />

for Text action, as shown in Figure 23-12.<br />

Figure 23-12. Emptying a folder in Automator<br />

Now that you have a place to download your URLs, you can set the Where drop-down of<br />

your Download URLs action to Image Folder. Unfortunately, it’s not in the drop-down. That’s<br />

not a problem; simply drag the Image Folder variable from the variables list onto the drop-down,<br />

and it will be set for you, as shown in Figure 23-13.<br />

Figure 23-13. Using a variable in Automator

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!