05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Rather than write a screen saver, you can just use the photo screen saver already built into<br />

<strong>Mac</strong> <strong>OS</strong> X. Select System Preferences... from the Apple menu, select the Desktop & Screen Saver<br />

preference pane, and then select the Screen Saver tab, as shown in Figure 23-10.<br />

Figure 23-10. Setting up the Keyword screen saver in System Preferences<br />

From the Screen Savers list on the left, select Choose Folder.... This will present you with a<br />

standard open sheet. Select the Keyword Screensaver folder, and click the Choose button. Finally,<br />

set up the photo screen saver as you want it. We recommend the new “falling pictures” display<br />

style, which is the second of the three styles.<br />

With that set up, return to Automator. Drag the Get Specified Finder Items action from the<br />

Files & Folders group. You should do this before you actually download the images, so drag it to<br />

the top of the list. Click the Add... button, and find the Keyword Screensaver folder.<br />

This new action connects to the Ask for Text action. This is not what you want. Rather, you<br />

want to store the value until you’re ready to download the items. This is a perfect chance to use<br />

Automator’s new variables.<br />

Variables<br />

Like actions, variables are grouped by category. Since they typically have nothing to do with<br />

applications, there is no by-application grouping option.<br />

Date & Time: The current year, month, day, day of the week, and of course the date<br />

and time<br />

Locations: Known folders, such as Applications, Documents, Downloads, and the current<br />

user’s home directory<br />

System: System information such as the computer’s name, IP address, and operating system<br />

version<br />

Text & Data: Generic variables for storing text and data

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

Saved successfully!

Ooh no, something went wrong!