<?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>hazi.log &#187; Chrome</title>
	<atom:link href="http://hazisarashi.com/tag/chrome/feed/" rel="self" type="application/rss+xml" />
	<link>http://hazisarashi.com</link>
	<description>Design &#38; Hacking</description>
	<lastBuildDate>Sun, 05 Feb 2012 17:10:01 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Apple Mailで選択中の文字をChromeで検索する</title>
		<link>http://hazisarashi.com/2010-02/598/</link>
		<comments>http://hazisarashi.com/2010-02/598/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 16:21:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tool]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[LifeHack]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://hazisarashi.com/?p=598</guid>
		<description><![CDATA[本日（厳密には昨日）Twitterでこんな書き込みを見つけた。 TwitterでRTしてみると、ご意見を頂きまして、どうやらサービスメニューの昨日を使って、Safariが提供している機能なので、Mailがいけないのでは無 [...]]]></description>
			<content:encoded><![CDATA[<p>本日（厳密には昨日）Twitterでこんな書き込みを見つけた。<br />
<a href="http://twitter.com/satosnj/status/9629002213"><img src="http://test.hazi.in/wp-content/uploads/2010/02/a3e9475723aca01a6aa7a556e1ea56a11.jpg" alt="" title="スクリーンショット（2010-02-26 1.10.16）" width="532" class="alignnone size-full wp-image-600" /></a></p>
<p>TwitterでRTしてみると、<a href="http://twitter.com/s_take/status/9629317953">ご意見を頂き</a>まして、どうやらサービスメニューの昨日を使って、Safariが提供している機能なので、Mailがいけないのでは無く、Chromeが対応すべきことだということが分かった。</p>
<p>サービスメニューは、<a href="/2010/01/23/mac-os-xで日本語を読ませるソフト-saykotoeri/">前にヘムスさんがAppleScriptで作ってた</a>のがあったので、そいつを真似てChromeで検索する物を作ってしまえばいいのではないか！という結論に至ったので作った。</p>
<h2>Chromeで検索.workflow</h2>
<p>Safari, Mail, Finderなどで文字を選択して、右クリックすると「Chromeで検索」という項目が出るようになり、ChromeでぐぐってくれるWorkflow（サービス）ファイル。</p>
<h2>ダウンロード</h2>
<p><a href='http://test.hazi.in/wp-content/uploads/2010/02/beab2453cbd0172402fc722a088c92de1.zip'>Chromeで検索.workflow.zip をダウンロード</a></p>
<h2>インストール</h2>
<ol>
<li>上記のファイルをダウンロード</li>
<li>zipファイルをダブルクリックで解凍</li>
<li>解凍したファイルを ~/Library/Services/ にコピー</li>
</ol>
<h2>ソース</h2>
<p>ソースはほとんどヘムスさんの作ったヤツそのまんま。<br />
これって、結構便利で応用が利くので、みんなも作って！</p>
<pre>on run {input, parameters}
	try
		set theText to item 1 of input

		tell application "Google Chrome"
			open location "http://www.google.co.jp/search?sourceid=chrome&#038;ie=UTF-8&#038;q=" &#038; theText
		end tell

		return input
	on error msg
		beep
		display alert msg &#038; theText
	end try
end run</pre>
<!-- social-buttons -->
<div id="social-buttons">
	<!-- Twitter -->
	<div class="twitter social-buttons">
		<div class="button-wrap">
			<a href="https://twitter.com/share" class="twitter-share-button" data-via="doa" data-lang="ja" data-related="doa" data-count="vertical">ツイート</a>
			<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
		</div>
	</div>
	
	<!-- Hatena -->
	<div class="hatena social-buttons">
		<div class="button-wrap">
			<a href="http://b.hatena.ne.jp/entry/http://hazisarashi.com/2010-02/598/" class="hatena-bookmark-button" data-hatena-bookmark-title="Apple Mailで選択中の文字をChromeで検索する | hazi.log" data-hatena-bookmark-layout="vertical" title="このエントリーをはてなブックマークに追加"><img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" /></a>
			<script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>
		</div>
	</div>
	
	<!-- Grow -->
	<div class="grow social-buttons">
		<div class="button-wrap">
			<script type="text/javascript" src="http://growbutton.com/javascripts/button.js?apikey=5f1e4540-1e9e-012f-0623-12313f00aced&shape=square"></script>
		</div>
	</div>
	
	<!-- facebook -->
	<div class="facebook social-buttons">
		<div class="button-wrap">
			<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fhazisarashi.com%2F2010-02%2F598%2F&amp;send=false&amp;layout=box_count&amp;width=72&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:72px; height:65px;" allowTransparency="true"></iframe>
		</div>
	</div>
</div> <!-- end social-buttons -->
]]></content:encoded>
			<wfw:commentRss>http://hazisarashi.com/2010-02/598/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

