<?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>Josef Richter &#187; geektool</title>
	<atom:link href="http://www.josefrichter.com/blog/tag/geektool/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.josefrichter.com/blog</link>
	<description>blogging about the world around</description>
	<lastBuildDate>Sat, 14 Jan 2012 10:55:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>One more wallpaper with The Hit List to-dos</title>
		<link>http://www.josefrichter.com/blog/one-more-wallpaper-with-the-hit-list-to-dos/</link>
		<comments>http://www.josefrichter.com/blog/one-more-wallpaper-with-the-hit-list-to-dos/#comments</comments>
		<pubDate>Tue, 26 May 2009 15:04:04 +0000</pubDate>
		<dc:creator>Josef Richter</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[appscript]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[geektool]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[potion factory]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[the hit list]]></category>
		<category><![CDATA[todo]]></category>
		<category><![CDATA[wallpaper]]></category>

		<guid isPermaLink="false">http://www.josefrichter.com/blog/?p=151</guid>
		<description><![CDATA[My friend Vojto from http://www.infinite.sk/(check his portfolio, talented guy!) sent me his variation on my wallpaper, which displays to-dos from The Hit List. The Hit List is a really very nice alternative to Things. I used it before Things, but I was missing the iPhone version. I beleive they will be adding iPhone version sooner [...]]]></description>
			<content:encoded><![CDATA[<p>My friend Vojto from <a href="http://www.infinite.sk/">http://www.infinite.sk/</a>(check his portfolio, talented guy!) sent me his variation on my wallpaper, which displays to-dos from The Hit List. <a href="http://www.potionfactory.com/thehitlist/">The Hit List</a> is a really very nice alternative to Things. I used it before Things, but I was missing the iPhone version. I beleive they will be adding iPhone version sooner or later, though. It&#8217;s a must. But I just LOVE their icon. Maybe the most beautiful one on my MacBook.</p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/thehitlisticon.png"><img src="http://www.josefrichter.com/blog/wp-content/uploads/thehitlisticon-500x500.png" alt="thehitlisticon" title="thehitlisticon" width="500" height="500" class="alignnone size-large wp-image-152" /></a></p>
<p>Here is the screenshot of Vojto&#8217;s wallpaper &#8220;in action&#8221;. It&#8217;s for tiny displays: 1680&#215;1050 <img src='http://www.josefrichter.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/blue_screenshot.jpg"><img src="http://www.josefrichter.com/blog/wp-content/uploads/blue_screenshot-500x312.jpg" alt="blue dynamic wallpaper" title="blue dynamic wallpaper" width="500" height="312" class="alignnone size-large wp-image-153" /></a></p>
<p>Grab the underlying JPG wallpaper <a href="http://www.josefrichter.com/blog/wp-content/uploads/blue-wallpaper.jpg">here</a>.</p>
<p>Now the scripting. It&#8217;s going to be just a little bit more difficult than with Things, but nothing to be scared of.</p>
<p>If you need the introduction to GeekTool, please see the <a href="http://www.josefrichter.com/blog/dynamic-gtd-wallpaper-with-things-to-dos/">previous post</a>.</p>
<p>1. You will need <a href="http://developer.apple.com/Tools/">Apple Developer Tools</a> and <a href="http://www.ruby-lang.org/en/downloads/">Ruby</a>, which should both be included in your Mac OS installation.</p>
<p>2. You will need <a href="http://appscript.sourceforge.net/">rb-appscript</a> which you install by entering &#8220;sudo gem install rb-appscript&#8221; in terminal. This makes application scriptable using Ruby (alternatively Python or ObjC). If you don&#8217;t know what the hell does it mean, just don&#8217;t care and proceed <img src='http://www.josefrichter.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>3. Now create file ~/.hitlist and put in the following code UPDATE: the new code checks if The Hit List is open, and if not, it will close it again after taking the to-dos from it.</p>
<div style="font-size: 10px;">
<pre class="brush: ruby; gutter: false; auto-links: false; font-size: 5%; tab-size: 2;">
#!/usr/bin/ruby 

# Load up appscript
begin; require 'rubygems'; rescue LoadError; end
require 'appscript'

# Load Hit List and check if running
thl=Appscript.app('The Hit List')
begin
  wasnt_running = true
  thl.run
end unless thl.is_running?

# Get todos
puts thl.today_list.tasks.get.find_all { |t|
  !t.completed.get
}.map{ |t|
  t.title.get
}.join("\n")

thl.quit if wasnt_running
</pre>
</div>
<p>Save &#038; close</p>
<p>4. In terminal, type &#8220;chmod +x ~/.hitlist&#8221; to allow reading from this file.</p>
<p>5. Open the geek tool and add new item as follows:</p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/hitlist_geektool.png"><img src="http://www.josefrichter.com/blog/wp-content/uploads/hitlist_geektool-500x355.png" alt="hitlist_geektool" title="hitlist_geektool" width="500" height="355" class="alignnone size-large wp-image-154" /></a></p>
<p>And you should be done! Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josefrichter.com/blog/one-more-wallpaper-with-the-hit-list-to-dos/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Dynamic GTD wallpaper with Things to dos</title>
		<link>http://www.josefrichter.com/blog/dynamic-gtd-wallpaper-with-things-to-dos/</link>
		<comments>http://www.josefrichter.com/blog/dynamic-gtd-wallpaper-with-things-to-dos/#comments</comments>
		<pubDate>Sun, 24 May 2009 20:02:24 +0000</pubDate>
		<dc:creator>Josef Richter</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[applesctipt]]></category>
		<category><![CDATA[culturedcode]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[geektool]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[things]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[todo]]></category>
		<category><![CDATA[wallpaper]]></category>

		<guid isPermaLink="false">http://www.josefrichter.com/blog/?p=136</guid>
		<description><![CDATA[I&#8217;ve made myself a simple wallpaper with categorized sections, which helps me be more organized. I am also recently using great Things by CulturedCode to do manager. I made use of Things scripting capabilities to display Today&#8217;s to-dos on the wallpaper. Here is what the result looks like: So here is how to do that: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made myself a simple wallpaper with categorized sections, which helps me be more organized. I am also recently using great <a href="http://www.culturedcode.com/things/">Things by CulturedCode</a> to do manager. I made use of Things scripting capabilities to display Today&#8217;s to-dos on the wallpaper.</p>
<p>Here is what the result looks like:</p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/screenshot1.png"><img src="http://www.josefrichter.com/blog/wp-content/uploads/screenshot1-500x312.png" alt="GTD wallpaper screenshot" title="GTD wallpaper screenshot" width="500" height="312" class="alignnone size-large wp-image-138" /></a></p>
<p>So here is how to do that:</p>
<p>1. Grab <a href="http://www.josefrichter.com/blog/wp-content/uploads/gtd_wallpaper.png">my wallpaper</a> or use your own, as you wish. My wallpaper is in 1920&#215;1200. If you would like a smaller version, please let me know, I will try to add them asap if demanded.</p>
<p>2. Get the <a href="http://projects.tynsoe.org/en/geektool/">GeekTool</a>. It allows adding the dynamic elements to desktop.</p>
<p>3. Open the GeekTool in System Preferences and add the &#8220;Time&#8221; item with following content:</p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/voila_capture4.png"><img src="http://www.josefrichter.com/blog/wp-content/uploads/voila_capture4-500x355.png" alt="Time added in GeekTool" title="Time added in GeekTool" width="500" height="355" class="alignnone size-large wp-image-144" /></a></p>
<p>Adjust the font style, size, colors and position according to your needs. It&#8217;s kinda self obvious how to do that.</p>
<p>3. Add &#8220;Date&#8221; item as follows:</p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/voila_capture5.png"><img src="http://www.josefrichter.com/blog/wp-content/uploads/voila_capture5-500x355.png" alt="Date added in GeekTool" title="Date added in GeekTool" width="500" height="355" class="alignnone size-large wp-image-145" /></a></p>
<p>GeekTool uses standard PHP date and time formatting. So if you want them in different format than I have, use <a href="http://cz2.php.net/manual/en/function.date.php">this</a> as a reference.</p>
<p>4. Now the Things thing. Open Script Editor.app and fill in with the following code (if you are lazy or want to avoid typos, download the <a href="http://www.josefrichter.com/blog/wp-content/uploads/todo.scpt">todo.scpt</a> directly):</p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/voila_capture12.png"><img src="http://www.josefrichter.com/blog/wp-content/uploads/voila_capture12-500x460.png" alt="Things AppleScript" title="Things AppleScript" width="500" height="460" class="alignnone size-large wp-image-157" /></a></p>
<p>It&#8217;s written in AppleScript. Don&#8217;t worry, I haven&#8217;t done anything in AppleScript before this, but the nice thing about it it&#8217;s pretty obvious what the code does, cos it&#8217;s almost plain English. <del datetime="2009-05-26T08:43:10+00:00">The only &#8220;strange&#8221; thing in the code is the first line, which just makes a line break between the todo items.</del> UPDATE: the new script will open Things, get the to-dos and will close it again, if it wasn&#8217;t open before. You may want to change the update interval from 10sec to something like 10 minutes or so.</p>
<p>If you want to change the script to display not only items in Today, but maybe others as well, just replace &#8220;Today&#8221; with &#8220;Inbox&#8221; or &#8220;Scheduled&#8221; or whatever. It&#8217;s that easy. If you want some more complex functionality, like also showing the tags, due date, etc., please refer to the full <a href="http://www.culturedcode.com/things/wiki/index.php/Welcome">Things AppleScript Guide</a>.</p>
<p>Save the script anywhere you wish (just remember where it is <img src='http://www.josefrichter.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
<p>5. Now add the &#8220;ToDo&#8221; item in GeekTool which should look like this:</p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/voila_capture6.png"><img src="http://www.josefrichter.com/blog/wp-content/uploads/voila_capture6-500x355.png" alt="Todo in GeekTool" title="Todo in GeekTool" width="500" height="355" class="alignnone size-large wp-image-147" /></a></p>
<p>Of course, use your own path to the script file. Again adjust the formatting and the position of the list.</p>
<p>Done! Now you should have Things to-dos, time and date at your desktop. Enjoy! And leave a comment how you like it! Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josefrichter.com/blog/dynamic-gtd-wallpaper-with-things-to-dos/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

