<?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>Chris: Geek Guy &#187; autohotkey</title>
	<atom:link href="http://chris.gg/tag/autohotkey/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris.gg</link>
	<description>Tech news and other stuff from a UK-based web developer and all-round geek</description>
	<lastBuildDate>Tue, 06 Dec 2011 19:40:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>How to do a bulk &#8220;unstar all&#8221; in Google Reader</title>
		<link>http://chris.gg/2009/12/how-to-do-a-bulk-unstar-all-in-google-reader/</link>
		<comments>http://chris.gg/2009/12/how-to-do-a-bulk-unstar-all-in-google-reader/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 21:14:39 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Hints & Tips]]></category>
		<category><![CDATA[autohotkey]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[reader]]></category>
		<category><![CDATA[starred]]></category>
		<category><![CDATA[unstar]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=333</guid>
		<description><![CDATA[Google Reader allows you to star articles to read later, which is handy. However, I&#8217;ve been happily starring away items since I&#8217;ve started using Reader, and have built up quite a backlog. On the advice of a friend who was horrified by this, I decided to unstar all items before a certain date. Surprisingly, Google [...]]]></description>
			<content:encoded><![CDATA[<p>Google Reader allows you to star articles to read later, which is handy. However, I&#8217;ve been happily starring away items since I&#8217;ve started using Reader, and have built up quite a backlog. On the advice of a friend who was horrified by this, I decided to unstar all items before a certain date. Surprisingly, Google Reader doesn&#8217;t currently give you a way to do this, besides unstarring each item individually, which isn&#8217;t much fun when you have over 500, even using the &#8216;s&#8217; (star/unstar) and &#8216;j&#8217; (jump to next item) keyboard shortcuts.</p>
<p>To automate this process, I whipped up this quick and dirty <a href="http://www.autohotkey.com">AutoHotkey</a> script:</p>
<p><code> ^!r::<br />
Loop 600 {<br />
Send s<br />
Sleep 10<br />
Send j<br />
Sleep 10<br />
}</code></p>
<p>As you may have worked out, this simply simulates a press of the &#8216;s&#8217; key, waits ten milliseconds, simulates the &#8216;j&#8217; key, waits again, then repeats the process 600 times.</p>
<p>The first line of the file means &#8220;do the below when the user presses Ctrl+Alt+R&#8221;.</p>
<p>So all I had to do was save the script, double-click the .AHK file to activate it, then click on &#8220;Starred items&#8221; with Reader, click to open the first one and press Ctrl+Alt+R to instruct the script to start rifling through your items, unstarring them one by one. Because I had slightly less than 600 starred items, I found that the script &#8220;sticks&#8221; on the last item, starring and unstarring it repeatedly until I killed the script by right-clicking the &#8220;H&#8221; icon in the taskbar and clicking Exit.</p>
<p>Feel free to use my script to clear down your own starred items. If you find that the script seems to miss the odd item, you may need to increase the 10 ms delay.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2009/12/how-to-do-a-bulk-unstar-all-in-google-reader/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

