![]() If you were watching the window carefully when you clicked Run, you noticed that the Stop button enabled itself while your script was running. I bet your skin’s half a shade paler already. Type the following code into the editing window:.Create a new script by pressing Command-N. ![]() You can work around that limitation sometimes in the preceding example, I could just tell Automator to go visit the Web site and build that list all over again. There are plenty of workflows in which it’d be helpful to say “OK: you remember 20 steps ago, way back in Step Three, when I told you to get a list of all of the pictures on theĪstronomy Picture of the Day Web site? Here’s something else I want you to do with that same list:” But that’s way beyond Automator’s puny intellect. Imagine that I’ve got an Automator workflow that’s 20 or 30 steps long. ![]() Anyone who’s taken an introductory programming course knows what a variable is. You also can’t do anything that requires the use of variables. “If the file is smaller than 500K, I want you to e-mail it to my editor if it’s larger, then upload it to my personal FTP server and send him an e-mail with instructions on how to download it.” You just can’t do that with Automator. The point where Automator falls down is when you throw it a problem that requires it to do some actual thinking. It’s marvelously well-suited for automating processes that are linear… ones that can be easily broken down into a list of predictable steps.
0 Comments
Leave a Reply. |