<?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>uRaNGaTaNG &#187; Happy Hacking</title>
	<atom:link href="http://www.rngtng.com/category/happy-hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rngtng.com</link>
	<description>TobiTobes Tech Weblog featuring Ruby, Rails, Web development, Arduino, Processing, Geekstuff and more...</description>
	<lastBuildDate>Thu, 01 Jul 2010 11:36:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>My Snow Leopard (Development) System: Ruby, Rails, Arduino &amp; Co.</title>
		<link>http://www.rngtng.com/2010/04/27/my-snow-leopard-development-system-ruby-rails-arduino-co/</link>
		<comments>http://www.rngtng.com/2010/04/27/my-snow-leopard-development-system-ruby-rails-arduino-co/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 08:52:03 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Ruby, Rails & Co.]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[snowleopard]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=313</guid>
		<description><![CDATA[Here&#8217;s a (maybe incomplete) list of my Dev System Setup. Mainly for me to remember, but maybe a help for you too: Main Development Setup Snowleopard xCode (or latest iPhone SDK) Mac Ports, now I prefer Homebrew Ruby: rvm + rubygems + rails etc. Database: Mysql 5.1 + Sequel Pro OpenVPN: Tunnelblick, or Cisco VPN [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img class="aligncenter" src="http://i31.tinypic.com/2mfew7k.jpg" alt="" /></p>
<p>Here&#8217;s a (maybe incomplete) list of my Dev System Setup. Mainly for me to remember, but maybe a help for you too:</p>
<p><strong>Main Development Setup</strong><br />
Snowleopard<br />
xCode (or latest iPhone SDK)<br />
Mac Ports, now I prefer Homebrew<br />
Ruby: rvm + rubygems + rails etc.<br />
Database: Mysql 5.1 + Sequel Pro<br />
OpenVPN: Tunnelblick, or  Cisco VPN client + Shimo VPN Menubar Addon<br />
Terminal Console Extension: SIMBL + Visor<br />
TextMate + Missing Drawer + Get Bundles + Rails + &#8230;<br />
jEdit + FTP + &#8230;<br />
Git + GitX<br />
FTP &amp; Co: Cyberduck<br />
Hudson status: CCMenu<br />
Share Files: Dropbox<br />
Safari + Delicious Safari + ClickToFlash<br />
Firefox + Firebug<br />
Google Chrome</p>
<p><strong>Extended Development</strong><br />
Arduino<br />
Processing<br />
Fritzing<br />
Eclipse</p>
<p><strong>Nice to have:</strong><br />
System Notification: Growl + Growl Mail<br />
Read RSS: NetNewsWire<br />
Skype and Tweetie<br />
Control iTunes: <a href="http://yellowmug.com/sk4it/">SizzlingKeys</a><br />
Last.fm: iScrobbler<br />
All Codecs: <a href="http://www.perian.org/">Perian</a><br />
Dasboard widgets:  IP + App Update<br />
Word replacement: iWork<br />
Keep your Notes: Journler<br />
Extend Finder: TotalFinder</p>
<p><strong>Install hints</strong><br />
<strong>mac ports</strong><br />
<code>sudo port selfupdate<br />
sudo port install git-core +svn +bash_completion<br />
sudo port install ImageMagick +no_x11<br />
sudo port install wget</code></p>
<p><strong>ruby gems</strong></p>
<p><a href="http://stackoverflow.com/questions/991708/rails-mysql-and-snow-leopard" target="_blank">http://stackoverflow.com/questions/991708/rails-mysql-and-snow-leopard</a></p>
<p><code>sudo gem self update<br />
sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config<br />
sudo gem install rails<br />
sudo gem install passenger<br />
sudo gem install piston</code></p>
<p><strong>Safari open always in tabs:</strong></p>
<p><a href="http://www.456bereastreet.com/archive/200812/make_safari_open_targeted_links_in_new_tabs_instead_of_new_windows/" target="_blank">http://www.456bereastreet.com/archive/200812/make_safari_open_targeted_links_in_new_tabs_instead_of_new_windows/</a></p>
<p><code>defaults write com.apple.Safari TargetedClicksCreateTabs -bool true </code></p>
<p><strong>Safari enable Development mode:</strong><br />
<code>defaults write com.apple.Safari WebKitDeveloperExtras -bool true<br />
defaults write com.apple.Safari IncludeDebugMenu 1</code></p>
<p><strong>Safari Plugins:</strong></p>
<p><a href="http://alexstaubo.github.com/keywurl/" target="_blank">http://alexstaubo.github.com/keywurl/</a></p>
<p><strong>TextMate install bundle</strong><br />
<code>cd ~/Desktop &amp;&amp; svn co <a href="http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/" target="_blank">http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/</a></code></p>
<p>Well, that&#8217;s it! Stay tuned for updated&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2010/04/27/my-snow-leopard-development-system-ruby-rails-arduino-co/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BCD3000 Djay Midi Mappings</title>
		<link>http://www.rngtng.com/2010/04/02/bcd3000-djay-midi-mappings/</link>
		<comments>http://www.rngtng.com/2010/04/02/bcd3000-djay-midi-mappings/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 11:13:26 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[bcd3000]]></category>
		<category><![CDATA[djay]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[midi]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=399</guid>
		<description><![CDATA[Some while ago I bought this nice Midi Controller BCD3000 by Behringer. It&#8217;s an easy to use device which brings way more fun mixing your MP3. For easy party playing mode I very like Djay, which is a simple but very powerfull mixing software. It now support Midi devices as well! Unfortunately I couldn&#8217;t find [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><a href="http://www.djay-software.com"><img class="aligncenter" src="http://www.djay-software.com/images/screenshot.png?1270204365" alt="" /></a></p>
<p>Some while ago I bought this nice Midi Controller <a href="http://www.behringer.com/EN/Products/BCD3000.aspx">BCD3000 by Behringer</a>. It&#8217;s an easy to use device which brings way more fun mixing your MP3. For easy party playing mode I very like <a href="http://www.djay-software.com/">Djay</a>, which is a simple but very powerfull mixing software. It now support Midi devices as well!<br />
Unfortunately I couldn&#8217;t find any predefined Midi Mappings for Djay and BCD3000. So I created my own. <a href="http://github.com/downloads/rngtng/BCD3000.djayMidiMapping/BCD3000.djayMidiMapping">Please download the file here</a>. For now, all basic features are mapped, I may add sophisticated ones soon. It&#8217;s hosted on github, so please <a href="http://github.com/rngtng/BCD3000.djayMidiMapping">fork it and add you changes</a>.</p>
<p>Happy DJing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2010/04/02/bcd3000-djay-midi-mappings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Here it is: Launchpad Processing lib!</title>
		<link>http://www.rngtng.com/2009/12/20/here-it-is-launchpad-processing-lib/</link>
		<comments>http://www.rngtng.com/2009/12/20/here-it-is-launchpad-processing-lib/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 18:07:23 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[launchpad]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[novation]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=374</guid>
		<description><![CDATA[Yay, I finally released my Launchpad Processing Library. Please see it&#8217;s project page and source at github. Videos &#38; more are coming soon. (Yes, this includes an updated mtXcontrol Version with Launchpad support!!)]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img class="aligncenter" src="http://www.ubergizmo.com/photos/2009/11/novation-launchpad.jpg" alt="" /></p>
<p>Yay, I finally released  my Launchpad Processing Library. Please see it&#8217;s <a href="http://rngtng.github.com/launchpad/">project page</a> and <a href="http://github.com/rngtng/launchpad">source</a> at github.</p>
<p>Videos &amp; more are coming soon. (Yes, this includes an updated mtXcontrol Version with Launchpad support!!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/12/20/here-it-is-launchpad-processing-lib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to sync my mp3 Songs rating in iTunes across multiple Libraries</title>
		<link>http://www.rngtng.com/2009/11/24/how-to-sync-my-mp3-songs-rating-in-itunes-across-multiple-libraries/</link>
		<comments>http://www.rngtng.com/2009/11/24/how-to-sync-my-mp3-songs-rating-in-itunes-across-multiple-libraries/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 16:21:26 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=338</guid>
		<description><![CDATA[By now, I havn&#8217;t find any good solution to share my mp3 across multiple systems and disks. I&#8217;ve some on my local machine, some at work and some on my external harddisk to archive. Luckily, when copying my tracks to another library duplicates are ignored. But what annoys me most is that my ratings don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>By now, I havn&#8217;t find any good solution to share my mp3 across multiple systems and disks. I&#8217;ve some on my local machine, some at work and some on my external harddisk to archive. Luckily, when copying my tracks to another library duplicates are ignored. But what annoys me most is that my ratings don&#8217;t get copied, as iTunes doesn&#8217;t store it within the file. Some while ago I found a solution by storing the number of stars into the &#8216;Grouping&#8217; Field, so I can recover the rating afterwards. Now, I came up with this little applescript do automate the write and recover process. Just run this script, copy you mp3 to the other library, run the script again, and voilá, you ratings are back &#8211; nice!</p>
<pre class="brush: bash;">
(*  small apple script to save rating into grouping field and
   vice versa. Perfect to persitent store your rating witin the file
*)

tell application &quot;iTunes&quot;
	repeat with stars from 1 to 5
		set rating_value to stars * 20
		set group_name to &quot;&quot; &amp; stars &amp; &quot; Stars&quot;

		set sel to (every track whose rating is rating_value and grouping is &quot;&quot;)
		repeat with aTrack in sel
			tell aTrack
				set grouping to group_name
			end tell
		end repeat

		set sel to (every track whose rating is 0 and grouping is group_name)
		repeat with aTrack in sel
			tell aTrack
				set rating to rating_value
			end tell
		end repeat
	end repeat
end tell
</pre>
<p>Btw. for each Star rating I do have a smart playlist which allows me to find those quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/11/24/how-to-sync-my-mp3-songs-rating-in-itunes-across-multiple-libraries/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Nabaztag:tag arrived &#8211; meet Nabaccia!</title>
		<link>http://www.rngtng.com/2009/09/29/nabaztagtag-arrived-meet-nabaccia/</link>
		<comments>http://www.rngtng.com/2009/09/29/nabaztagtag-arrived-meet-nabaccia/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 18:33:51 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[nabaccia]]></category>
		<category><![CDATA[nabaztag]]></category>
		<category><![CDATA[rfid]]></category>
		<category><![CDATA[toys]]></category>
		<category><![CDATA[violet]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=220</guid>
		<description><![CDATA[Yay, my new toy has arrived: It&#8217;s a Nabaztag. Short story: I first met the rabbit in 2007 at re:publica conference @ Berlin, and always want to have one since then. Nabaztag is a rabbit connected to the Internet with moving ears, 4x color LEDs, a RFID reader, a button and Sound In &#38; Output. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img class="aligncenter" src="http://farm3.static.flickr.com/2478/3962410944_eb564a3d1a.jpg" alt="" /></p>
<p>Yay, my new toy has arrived: It&#8217;s a <a href="http://www.nabaztag.com">Nabaztag</a>. Short story: I first met the rabbit in 2007 at <a href="http://re-publica.de/">re:publica</a> conference @ Berlin, and always want to have one since then. Nabaztag is a rabbit connected to the Internet with moving ears, 4x color LEDs, a RFID reader, a button and Sound In &amp; Output. It&#8217;s hard to understand why one wants to have such rabbit, but the idea to connect things with the internet sounds very interesting to me. But just for playing around,  it was to expensive &#8230; till now!</p>
<p>Sadly (well, luckily for me) <a href="http://www.violet.net">Violet</a>, the producer of Nabaztag, <a href="http://www.engadget.com/2009/08/11/nabaztag-cant-make-rfid-cool-has-to-file-for-bankruptcy/">is on it&#8217;s way to bankruptcy</a>.  As of this <a href="http://www.myRobotcenter.de">MyRobotcenter</a> started selling them half price &#8211; nice!  I couldn&#8217;t anymore resists buying and got the rabbit+mirror+zstamps for a good price &#8211;  that&#8217;s all right!</p>
<p>According to violet, each thing needs a name, so mine is called <strong>Nabaccia</strong>, listens to emails via <a href="mailto:nabaccia - things.violet.net">nabaccia &#8211; things.violet.net</a> and, of course, <a href="http://www.twitter.com/nabaccia">twitters here</a> as well. So, now it&#8217;s time to hack the rabbit. I saw a couple of interesting project out there, let&#8217;s get it on! More on this soon!</p>
<p>I know it&#8217;s totally wired and hard to understand why, just don&#8217;t ask <img src='http://www.rngtng.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Image by <a href="http://www.liron.de/blog/index.php">Liron</a> &#8211; thx!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/09/29/nabaztagtag-arrived-meet-nabaccia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL: How to swap entires of two columns with just one query</title>
		<link>http://www.rngtng.com/2009/06/24/mysql-how-to-swap-entires-of-two-columns-with-just-one-query/</link>
		<comments>http://www.rngtng.com/2009/06/24/mysql-how-to-swap-entires-of-two-columns-with-just-one-query/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 13:16:29 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[values]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=134</guid>
		<description><![CDATA[Check this out, I found out a really nice way how to swap values of two columns with just one query, using user defined variables. Given a table with two columns a and b. To swap their values in whole, use this query: UPDATE my_table SET a=@tmp:=a, a=b, b=@tmp; Done! Isn&#8217;t that easy?]]></description>
			<content:encoded><![CDATA[<p>Check this out, I found out a really nice way how to swap values of two columns with just one query, <a href="http://www.rngtng.com/2009/04/02/mysql-user-defined-variables-good-thing-to-know/">using user defined variables</a>. Given a table with two columns <em>a</em> and  <em>b</em>. To swap their values in whole, use this query:</p>
<pre class="brush: plain;">
UPDATE my_table SET a=@tmp:=a, a=b, b=@tmp;
</pre>
<p>Done! Isn&#8217;t that easy?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/06/24/mysql-how-to-swap-entires-of-two-columns-with-just-one-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pimp my TextMate: how to speed up search &amp; load</title>
		<link>http://www.rngtng.com/2009/06/18/pimp-my-textmate-how-to-speed-up-search-load/</link>
		<comments>http://www.rngtng.com/2009/06/18/pimp-my-textmate-how-to-speed-up-search-load/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 10:41:38 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[speedup]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[tweak]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=127</guid>
		<description><![CDATA[As a true Ruby on Rails developer you probably work with TextMate, as it&#8217;s a plain, simple, but yet quite powerful editor. I love its open-file-by-pattern (⌘+T) or find-in-project (⌘+⇧+F) functions. But one thing which bothered me the most was the search time when working on big, large, massive projects. One easy tweak how to [...]]]></description>
			<content:encoded><![CDATA[<p>As a true Ruby on Rails developer you probably work with <a href="http://macromates.com/">TextMate</a>, as it&#8217;s a plain, simple, but yet quite powerful editor. I love its open-file-by-pattern (⌘+T) or find-in-project (⌘+⇧+F) functions. But one thing which bothered me the most was the search time  when working on big, large, massive projects. One easy tweak how to speed it up easily is to extend the file and folder exclude patterns. For example you don&#8217;t need the <em>tmp</em>, <em>log</em> or <em>vendor</em> folder, nor any binary files within your editor. So I just excluded them, here are my new patterns (all in one line):</p>
<p>Files:  (excluded all images,pdf &amp; flash)</p>
<pre class="brush: plain;">
!(/\.(?!htaccess)[^/]*|\.(png|jpg|pdf|swf)|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$
</pre>
<p>Folders:  (exclude  tmp tools vendor uploads lang locale po old_migrations script images upload custom_maps log)</p>
<pre class="brush: plain;">
!.*/(\.[^/]*|CVS|doc|tmp|tools|vendor|uploads|lang|locale|po|old_migrations|script|images
|upload|custom_maps|log|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
</pre>
<p>To change the settings go to  </p>
<pre class="brush: plain;">
preferences -&gt; advanced -&gt; folder references
</pre>
<p>Yeah, now my search is quite fast again!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/06/18/pimp-my-textmate-how-to-speed-up-search-load/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL User defined Variables &#8211; good thing to know!</title>
		<link>http://www.rngtng.com/2009/04/02/mysql-user-defined-variables-good-thing-to-know/</link>
		<comments>http://www.rngtng.com/2009/04/02/mysql-user-defined-variables-good-thing-to-know/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 12:59:54 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[user defined]]></category>
		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=121</guid>
		<description><![CDATA[Have you ever heard of user defined variables in MySQL? I hadn&#8217;t and nearly freaked out when I found out. That&#8217;s the thing I was always looking for, that&#8217;s so cool, and fasten up your SQL live a lot! Now, renumbering a table is as easy as never before: Set @a = 0; UPDATE my_table [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-bottom:20px"><img class="alignright" style="margin: 18px" src="http://matsu.files.wordpress.com/2008/01/mysql-logo.png" alt="" width="140" height="72" /> Have you ever heard of user defined variables in MySQL? I hadn&#8217;t and nearly freaked out when I found out. That&#8217;s the thing I was always looking for, that&#8217;s so cool, and fasten up your SQL live a lot!</p>
<p style="text-align: left">Now, renumbering a table is as easy as never before:</p>
<pre class="brush: plain;">
Set @a = 0;
UPDATE my_table SET id=@a:=@a+1
</pre>
<p>Check out the docu and examples:</p>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/user-variables.html" target="_blank">http://dev.mysql.com/doc/refman/5.0/en/user-variables.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2009/04/02/mysql-user-defined-variables-good-thing-to-know/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first AppleScript: Copy Address Book entries</title>
		<link>http://www.rngtng.com/2007/05/10/my-first-applescript-copy-address-book-entries/</link>
		<comments>http://www.rngtng.com/2007/05/10/my-first-applescript-copy-address-book-entries/#comments</comments>
		<pubDate>Thu, 10 May 2007 12:25:39 +0000</pubDate>
		<dc:creator>tobi</dc:creator>
				<category><![CDATA[Happy Hacking]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[ICQ]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.rngtng.com/?p=56</guid>
		<description><![CDATA[Tatataa! I just wrote my frist AppleScript. For displaying the buddypicture of my Address Book contacts in Adium, I had to copy the ICQ entry to a new Jabber enrty with appending &#8220;@jit.jabber.fsinf.de&#8221;. The code follows: tell application &#34;Address Book&#34; set thePeople to every person whose ICQ handles is not {} and Jabber handles is [...]]]></description>
			<content:encoded><![CDATA[<p>Tatataa! I just wrote my frist AppleScript. For displaying the buddypicture of my Address Book contacts in <a href="http://www.adiumx.com/" target="_blank">Adium</a>, I had to copy the ICQ entry to a new Jabber enrty with appending &#8220;@jit.jabber.fsinf.de&#8221;. The code follows:</p>
<pre class="brush: bash;">
tell application &quot;Address Book&quot;
set thePeople to every person whose ICQ handles is not {} and Jabber handles is {}
repeat with eachPerson in thePeople
set icqnr to value of ICQ handles of eachPerson
set jabberid to (item 1 of icqnr) &amp;amp; &quot;@jit.jabber.fsinf.de&quot;
make new Jabber handle at end of Jabber handles of eachPerson with properties {label:&quot;Home&quot;, value:jabberid}
end repeat
save addressbook
end tell
</pre>
<p>It worked out fine. Now I see you all in my buddylist <img src='http://www.rngtng.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rngtng.com/2007/05/10/my-first-applescript-copy-address-book-entries/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
