<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Designoplasty Web Design and Development Blog &#187; Automator</title>
	<atom:link href="http://designoplasty.com/tag/automator/feed/" rel="self" type="application/rss+xml" />
	<link>http://designoplasty.com</link>
	<description>HTML, Javascript, PHP, and Me</description>
	<lastBuildDate>Wed, 08 Sep 2010 09:25:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OS X Automator Time Savers: Variables and Ignore Input</title>
		<link>http://designoplasty.com/2009/05/23/os-x-automator-time-savers-variables-and-ignore-input/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=os-x-automator-time-savers-variables-and-ignore-input</link>
		<comments>http://designoplasty.com/2009/05/23/os-x-automator-time-savers-variables-and-ignore-input/#comments</comments>
		<pubDate>Sun, 24 May 2009 04:42:03 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Shell Scripts]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://designoplasty.com/?p=702</guid>
		<description><![CDATA[

When you&#8217;re in the web business there are a lot of repetitive tasks, such as making image thumbnails, updating website code, or adding images to a blog post. You will do a better business if you can automate these tasks as much as possible. For me, creating automated methods is also more fun. I quickly [...]]]></description>
			<content:encoded><![CDATA[<img src="http://photos.smugmug.com/photos/544215539_xtDFC-M.png" class="floatright" style="width: 450px; height: 450px;" alt="Apple Mac OS X Automator" />

<p>When you&#8217;re in the web business there are a lot of repetitive tasks, such as making image thumbnails, updating website code, or adding images to a blog post. You will do a better business if you can automate these tasks as much as possible. For me, creating automated methods is also more fun. I quickly get bored with repetitive tasks. I write WordPress plugins and shell scripts, use subversion, and I definitely use OS X Automator.</p>

<p>Automator is an application on the Mac that helps you build scripts out of a set of common actions. These actions include renaming files, resizing images, creating folders, copying files and about a million other tasks. At first glance Automator looks as if it might be somewhat limited, because like most things on a Mac, it&#8217;s very simple. But it can save you a lot of time. Once you get good at it, you can even build scripts on the fly for a single use and still save time over doing it manually.</p>

<p>Here&#8217;s a hint. To become super productive with Automator, use variables in your Automator scripts. Variables are incorporated into Automator in a very subtle way, but they are very powerful.</p>

<h3>Action: Set Value of Variable</h3>

<p>As each Automator action occurs it can add one or more variables to the Automator results. You can see the results at the end of each action after running your script by click on the results tab of the action. To place the results of an action in a variable, add the <em>Set Value of Variable</em> action after it. For instance if you ask the user to select a file, or if you create a directory, and you&#8217;re going to need to access that value more than once in your script, place it in variable.</p>

<h3>Action: Get Value of Variable</h3>

<p>When you need to get a value of a variable previously set by the <em>Set Value of Variable</em> action, use the <em>Get Value of Variable</em> action.</p>

<h3>Menu Item: Action &gt; Ignore Input</h3>

<p>Selecting this menu item will tell the currently selected action to ignore the results of the previous action, basically clearing the results. Every action will try to act on all the current results, and results accumulate. So if your action performs multiple tasks you will most likely need to clear the results at one or more points in your script. In many ways, setting this on an action is like starting a new Automator script in the current script, except that variables are still available.</p>

<p>For example, if you resize an image, the resized image will be stored in the results. If you want to do something else to the original image, you need to have an action that ignores input or else it will act on the resized image as well.</p>]]></content:encoded>
			<wfw:commentRss>http://designoplasty.com/2009/05/23/os-x-automator-time-savers-variables-and-ignore-input/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
