<?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>numb3r23 &#187; Automator</title>
	<atom:link href="https://www.numb3r23.net/tag/automator/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.numb3r23.net</link>
	<description>&#039;bout coding grafx &#38; more</description>
	<lastBuildDate>Tue, 27 Oct 2015 00:22:25 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>Mac: Automator Service for a Google popup</title>
		<link>https://www.numb3r23.net/2012/02/10/automator-services/</link>
		<comments>https://www.numb3r23.net/2012/02/10/automator-services/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 15:08:48 +0000</pubDate>
		<dc:creator><![CDATA[numb3r23]]></dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Service]]></category>

		<guid isPermaLink="false">http://www.grasmo.de/?p=40</guid>
		<description><![CDATA[As I was documenting a big amount of source-code today, I ran into the problem of looking up some stuff in the web (OpenGL-SDK docs to be specific) while inside XCode. There may be better ways to do this, but I ended up seeing that service entry in the context-menu and thought &#8211; hey, why [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>As I was documenting a big amount of source-code today, I ran into the problem of looking up some stuff in the web (OpenGL-SDK docs to be specific) while inside XCode. There may be better ways to do this, but I ended up seeing that service entry in the context-menu and thought &#8211; hey, why not make a service to look up that stuff?</p>
<p>Here&#8217;s what I found out:</p>
<ol>
<li>Create a new Automator Service</li>
<li>On the top right, set &#8220;<strong>Service recieves selected text</strong>&#8221; in &#8220;<strong>any application</strong>&#8220;</li>
<li>Drop a &#8220;<strong>Run AppleScript</strong>&#8221; from the Actions Library</li>
<li>Add the following text:
<pre class="brush: applescript; title: ; notranslate">
	on run {input, parameters}
		set theURL to (&quot;http://www.google.com/search?btnI=I%27m+Feeling+Lucky&amp;q=&quot; &amp; input &amp; &quot;&amp;go=Go&quot;)
		return theURL
	end run
	</pre>
</li>
<li>Drop a &#8220;<strong>Website Popup</strong>&#8221; from the Actions Library and configure it as desired <br/><br />
	I choose size &amp; agent &#8220;<strong>iPhone</strong>&#8221; so it&#8217;s not too big but readable.</li>
</ol>
<p>The selected text is searched by google and the first hit is opened (a.k.a. I&#8217;m feeling lucky). Good enough for my documentation problems as the service can be mapped to a global shortcut.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.numb3r23.net/2012/02/10/automator-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
