<?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>Tyler Clemons &#187; General</title>
	<atom:link href="http://www.tylerclemons.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tylerclemons.com</link>
	<description>tylerclemons.com</description>
	<lastBuildDate>Wed, 26 May 2010 18:39:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Youtube Time Markers</title>
		<link>http://www.tylerclemons.com/youtube-time-markers/</link>
		<comments>http://www.tylerclemons.com/youtube-time-markers/#comments</comments>
		<pubDate>Fri, 07 May 2010 18:58:51 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WebTechs]]></category>
		<category><![CDATA[Time Marker]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=273</guid>
		<description><![CDATA[I always forget how to do this, so I am going to put it on my blog    If you have ever watched a youtube clip, and wanted to show your friends a particular snippet beginning at some specific time, you might send them the URL and tell them &#8220;Watch after 30seconds.&#8221; A better [...]]]></description>
			<content:encoded><![CDATA[<p>I always forget how to do this, so I am going to put it on my blog <img src='http://tylershome.nfshost.com/home/public/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   If you have ever watched a youtube clip, and wanted to show your friends a particular snippet beginning at some specific time, you might send them the URL and tell them &#8220;Watch after 30seconds.&#8221; A better method of communication is to send the URL with a &#8220;time marker.&#8221;  <span id="more-273"></span></p>
<p>Take the following youtube URL:</p>
<p><a title="Youtube Example 1" href="http://www.youtube.com/watch?v=xw1s3yXZLYc" target="_blank">http://www.youtube.com/watch?v=xw1s3yXZLYc</a></p>
<p>If we add: #t=2m51s to the end of the url</p>
<p><a title="Youtube Example 2" href="http://www.youtube.com/watch?v=xw1s3yXZLYc#t=2m51s" target="_blank">http://www.youtube.com/watch?v=xw1s3yXZLYc#t=2m51s</a></p>
<p>It directs us to the video and starts playing at 2 minutes(2m) and 51 seconds(51s).  Suppose the video is over one hour.  We can do the following:</p>
<p><a title="Youtube Example 3" href="http://www.youtube.com/watch?v=7ImvlS8PLIo#t=1h2m30s" target="_blank">http://www.youtube.com/watch?v=7ImvlS8PLIo#t=1h2m30s</a></p>
<p>This tell us to start at 1 hour(1h) 2 minutes(2m) and 30 seconds(30s)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/youtube-time-markers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kiva</title>
		<link>http://www.tylerclemons.com/kiva/</link>
		<comments>http://www.tylerclemons.com/kiva/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 01:54:08 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Kiva]]></category>
		<category><![CDATA[Donation]]></category>
		<category><![CDATA[Good Cause]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=232</guid>
		<description><![CDATA[Ben showed me a great website recently.  It&#8217;s called Kiva which can be found at http://www.kiva.org/.  This website allows anyone to make a small loan to entrepreneurs in third world countries.  The basic idea is to lend a small amount, or large amount, to an individual so that they can improve their business.  They then [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Ben's Website" href="http://www.bensnider.com">Ben</a> showed me a great website recently.  It&#8217;s called Kiva which can be found at <a title="Kiva" href="http://www.kiva.org/">http://www.kiva.org/</a>.  This website allows anyone to make a small loan to entrepreneurs in third world countries.  The basic idea is to lend a small amount, or large amount, to an individual so that they can improve their business.  They then pay the loan back.  There isn&#8217;t any interest on the loan but in this situation, the benefits are worth more than interest.  I suggest that everyone considers taking a look at Kiva.  It&#8217;s a great opportunity to help those in need.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/kiva/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An apology to Alan Turing</title>
		<link>http://www.tylerclemons.com/an-apology-to-alan-turing/</link>
		<comments>http://www.tylerclemons.com/an-apology-to-alan-turing/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 19:42:26 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Famous People]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Alan Turing]]></category>
		<category><![CDATA[Artificial Intelligence (AI)]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Gay rights]]></category>
		<category><![CDATA[Online Petition]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=224</guid>
		<description><![CDATA[*It appears the petition may have worked*
http://www.number10.gov.uk/Page20571
Alan Turing is considered to be the father of modern computer science.  Turing is also partly responsible for designing the &#8220;bombe,&#8221; a machine used to crack the German Enigma machine yielding invaluable German military Intelligence to the Allied forces.
Unfortunately, instead of being revered by his government for his services [...]]]></description>
			<content:encoded><![CDATA[<p>*It appears the petition may have worked*</p>
<p><a href="http://www.number10.gov.uk/Page20571" target="_blank">http://www.number10.gov.uk/Page20571</a></p>
<p>Alan Turing is considered to be the father of modern computer science.  Turing is also partly responsible for designing the &#8220;bombe,&#8221; a machine used to crack the German Enigma machine yielding invaluable German military Intelligence to the Allied forces.</p>
<p>Unfortunately, instead of being revered by his government for his services rendered, he was criminally prosecuted for being a homosexual because homosexuality was illegal in Great Britain in 1952.  Having seen the end of his career and having undergone the subsequent drug treatment administered by the government to cure his homosexuality, he committed suicide via a cyanide induced apple.</p>
<p>Since then, the scientific community has embraced his achievements and ignored his lifestyle decision (as they should).  With great pleasure, I have stumbled upon an online petition urging the British PM to apologize to Alan Turing.  It is shame that only British citizens can sign it.  This petition can be found:</p>
<p><a href="http://petitions.number10.gov.uk/turing/">http://petitions.number10.gov.uk/turing/</a></p>
<p>For more information about Alan Turing:</p>
<p><a href="http://en.wikipedia.org/wiki/Alan_Turing">http://en.wikipedia.org/wiki/Alan_Turing</a></p>
<p>Lastly, what would this be without a plug for gay rights in today&#8217;s society:</p>
<p><a href="http://www.aclu.org/lgbt/index.html">http://www.aclu.org/lgbt/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/an-apology-to-alan-turing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website worth estimation</title>
		<link>http://www.tylerclemons.com/website-worth-estimation/</link>
		<comments>http://www.tylerclemons.com/website-worth-estimation/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 22:05:49 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[WebTechs]]></category>
		<category><![CDATA[Website Worth]]></category>
		<category><![CDATA[Websiteoutlook]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=219</guid>
		<description><![CDATA[Something that I stumbled on awhile back.
http://www.websiteoutlook.com/
It is no surprise that the most popular pages are adult websites.
]]></description>
			<content:encoded><![CDATA[<p>Something that I stumbled on awhile back.</p>
<p><a title="Website outlook" href="http://www.websiteoutlook.com/">http://www.websiteoutlook.com/</a></p>
<p>It is no surprise that the most popular pages are adult websites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/website-worth-estimation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenDNS</title>
		<link>http://www.tylerclemons.com/opendns/</link>
		<comments>http://www.tylerclemons.com/opendns/#comments</comments>
		<pubDate>Fri, 15 May 2009 23:15:28 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WebTechs]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[OpenDNS]]></category>

		<guid isPermaLink="false">http://www.tylerclemons.com/?p=176</guid>
		<description><![CDATA[I have been using this service for awhile now and I just thought I would formally recommend it.  OpenDNS is usually a faster alternative to the default DNS provided by your ISP.  It protects against phising automatically and can be adjusted to automatically block adult material aka porn.  AND you can travel with your settings [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using this service for awhile now and I just thought I would formally recommend it.  OpenDNS is usually a faster alternative to the default DNS provided by your ISP.  It protects against phising automatically and can be adjusted to automatically block adult material aka porn.  AND you can travel with your settings by creating an account.</p>
<p><a title="OpenDNS" href="http://www.opendns.com/" target="_blank">Click here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/opendns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning Python , C++ , and Data Structures</title>
		<link>http://www.tylerclemons.com/learning-python-and-c/</link>
		<comments>http://www.tylerclemons.com/learning-python-and-c/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 03:11:17 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Data Structures]]></category>

		<guid isPermaLink="false">http://tylershome.nfshost.com/?p=134</guid>
		<description><![CDATA[Back in undergrad, the majority of our classes taught us sound software engineering principles using Python, C++, and sometimes Java.  The first two were used quite extensively.  The resource I used was invaluable to my success in mastering data structures, learning OOP, and granting me proper exposure to Python and C++.  Data Structures and Algorithms [...]]]></description>
			<content:encoded><![CDATA[<p>Back in undergrad, the majority of our classes taught us sound software engineering principles using Python, C++, and sometimes Java.  The first two were used quite extensively.  The resource I used was invaluable to my success in mastering data structures, learning OOP, and granting me proper exposure to Python and C++.  <span style="text-decoration: underline;">Data Structures and Algorithms Using Python and C++</span> is a great resource and I wanted to share it here.  I believe it is great for beginners of both Python and C++ and those entering a data structures course.  Click <a href="http://www.fbeedle.com/2335.html" target="_blank">HERE</a> to order a copy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/learning-python-and-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exciting Changes to Ruby on Rails</title>
		<link>http://www.tylerclemons.com/exciting-changes-to-ruby-on-rails/</link>
		<comments>http://www.tylerclemons.com/exciting-changes-to-ruby-on-rails/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 19:36:40 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[MERB]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[WebTechs]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://tylershome.nfshost.com/?p=115</guid>
		<description><![CDATA[http://www.infoworld.com/article/09/01/12/02NF-ruby-on-rails-merb_1.html
Rails will add some new features and enhancements by merging with MERB.  Should be interesting.
]]></description>
			<content:encoded><![CDATA[<p><a title="Ruby on Rails and MERB" href="http://www.infoworld.com/article/09/01/12/02NF-ruby-on-rails-merb_1.html" target="_blank">http://www.infoworld.com/article/09/01/12/02NF-ruby-on-rails-merb_1.html</a></p>
<p>Rails will add some new features and enhancements by merging with MERB.  Should be interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/exciting-changes-to-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beware FileVault</title>
		<link>http://www.tylerclemons.com/filevault/</link>
		<comments>http://www.tylerclemons.com/filevault/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 18:04:20 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[10.4]]></category>
		<category><![CDATA[10.5]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[FileVault]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Tiger]]></category>

		<guid isPermaLink="false">http://tylershome.nfshost.com/?p=96</guid>
		<description><![CDATA[I use a Macbook that I purchased last year.  It has OS X 10.4.5, or Tiger, installed.  It&#8217;s a pretty good machine.  So I decided to upgrade to 10.5.4, or Leopard.  Yea, it has been about a year and yea, 10.6 is coming next year, but that&#8217;s beside the point.  I was surprised I ran [...]]]></description>
			<content:encoded><![CDATA[<p>I use a Macbook that I purchased last year.  It has OS X 10.4.5, or Tiger, installed.  It&#8217;s a pretty good machine.  So I decided to upgrade to 10.5.4, or Leopard.  Yea, it has been about a year and yea, 10.6 is coming next year, but that&#8217;s beside the point.  I was surprised I ran into problems considering how confident Apple has been.  &#8220;It Just Works?.&#8221;</p>
<p><span id="more-96"></span></p>
<p>I Installed Leopard without any problems&#8230;until I tried to login.  For some odd reason, Leopard decided it could not recognize or repair my damaged FileVault protected home folder.  FileVault encrypts my home directory.  You can turn on FileVault under System Preferences -&gt; Security.  Of course it was not damaged before I tried installing Leopard.  Leopard either has some compatibility issues with Tiger&#8217;s FileVault, or it damaged some of my files.  Whatever the reason, I can&#8217;t login. <img src='http://tylershome.nfshost.com/home/public/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>So the only solutions are to:</p>
<ul>
<li>Login as another user, impossible for me considering I don&#8217;t have any other user accounts.  Of course <a title="Create users via Command Line" href="http://www.google.com/search?hl=en&amp;safe=off&amp;client=firefox-a&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;hs=VY5&amp;q=create+new+user+OS+X+command+line&amp;btnG=Search&amp;aq=f&amp;oq=&amp;aqi=">google produces terminal commands to make new users.</a></li>
<li>Clean install and use a backup.  Nice, but only good if you create frequent backups (and you should!)</li>
<li>Use another Mac or HD to copy your files.</li>
</ul>
<p>So obviously, I recommend creating a backup before installing Leopard and turning off FileVault, if you can.  The only problem with doing that is the space requirement.  FileVault requires a large chunk of HD space to unload.  At the time, I probably couldn&#8217;t have because we all know how large the Macbook HDs are <img src='http://tylershome.nfshost.com/home/public/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>What a shock this is.  For a company that preaches about superior software, I am surprised it doesn&#8217;t always work.  According to Apple, because they create both the OS <em>and</em> the machine, everything just works.  Is that not a lie?  False advertisement?  Of course this isn&#8217;t the first time Leopard installs have caused fits.  The first day it was released, many users reported their machines hanging.</p>
<p>Don&#8217;t get me wrong, I still like Apple computers, and some of their products, but I would say the honeymoon is over.  Any shot of me becoming a fanboy, which is impossible since I still like Windows, is now impossible.</p>
<p>Spoke to a Mac guy about the situation and he says not to use FileVault unless one works for the CIA.  Sensationalizing, sure, but I would add, don&#8217;t use it because it causes problems.</p>
<p>I did fix this problem.  I used the third method with an external HD.  Put the Leopard CD into your Mac.  Plugin your external HD.  Install Leopard on your external HD.  You may have to format the HD into a special format, GUID.  Click <a title="GUID" href="http://support.apple.com/kb/TS1600">HERE</a> to learn how to do that.  Install Leopard, and let it restart.  It reboots to the new install on the external HD.</p>
<p>Login into your new OS install, and you should be able to see your old HD mounted.  Click on it, and browse to Users/Your_account and you should see a Yourname.sparseimage.  Drag that to your external HD.  Click on it, and it should ask you for a password.  Enter your account password and ignore the warnings.  Now you should be able to recover your files.  Just be sure you locate any and all important program files <a href="http://guides.macrumors.com/Uninstalling_Applications_in_Mac_OS_X">HERE </a>for a link that has information about how to track down application files.  It&#8217;s about uninstalling applications but it yields information about how application data is stored on your machine by OS X.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/filevault/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Adium Scripts (iTunes)</title>
		<link>http://www.tylerclemons.com/creating-adium-scripts-itunes/</link>
		<comments>http://www.tylerclemons.com/creating-adium-scripts-itunes/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 01:09:26 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Adium]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://tylershome.nfshost.com/?p=41</guid>
		<description><![CDATA[I use Adium and iTunes frequently.  One of the cool things about the OS X environment is the integration between applications.  For instance, Adium contacts can be linked to Address Book accounts.  One of my personal favorites is the integration of Adium and iTunes.  Adium can display details of what is [...]]]></description>
			<content:encoded><![CDATA[<p>I use Adium and iTunes frequently.  One of the cool things about the OS X environment is the integration between applications.  For instance, Adium contacts can be linked to Address Book accounts.  One of my personal favorites is the integration of Adium and iTunes.  Adium can display details of what is currently playing on iTunes such as the name of the song and the artist.  The trick is customizing these messages so that they can be presented as suitable away or status messages.<br />
<span id="more-20"></span></p>
<p>The best way to learn these concepts is to open up one.  That is just what I did.  I found a script that formatted iTunes data.  I was not satisfied with all of its features so I modified it.  I left credit to the original authors in the modified script.</p>
<p>First, we need to create a file structure.  Create a folder called <strong>name.AdiumScripts</strong>.  name can be anything you like, just make sure you don&#8217;t forget it.  Then right click(CTLR+click), and click ’show package contents.’  Create a folder called <strong>Contents</strong>.  Inside Contents, create a folder called <strong>Resources</strong>.  The result:</p>
<p>-&gt;name.AdiumScripts<br />
–&gt;Contents<br />
—-&gt;Resources</p>
<p>Enter the contents folder. Click<span style="color: #888888;"> <a title="Info2" href="http://tylershome.nfshost.com/info2.zip" target="_blank">HERE</a></span> for the info.plist file that will direct Adium where to get your script.  Place it in the contents folder.</p>
<p>The following is how the file looks:</p>
<div id="codebox" style="overflow: auto; ">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;!DOCTYPE plist PUBLIC &#8220;-//Apple Computer//DTD PLIST 1.0//EN&#8221; &#8220;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#8221;&gt;<br />
&lt;plist version=&#8221;1.0&#8243;&gt;<br />
&lt;dict&gt;<br />
<span style="padding-left: 10px;">&lt;key&gt;CFBundleDevelopmentRegion&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;string&gt;English&lt;/string&gt;</span><br />
<span style="padding-left: 10px;">&lt;key&gt;CFBundleExecutable&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;string&gt;Adium&lt;/string&gt;</span><br />
<span style="padding-left: 10px;">&lt;key&gt;CFBundleGetInfoString&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;string&gt;Nameit&lt;/string&gt;</span><br />
<span style="padding-left: 10px;">&lt;key&gt;CFBundleIdentifier&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;string&gt;com.adiumx.iTunes.scripts&lt;/string&gt;</span><br />
<span style="padding-left: 10px;">&lt;key&gt;CFBundleInfoDictionaryVersion&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;string&gt;1.2&lt;/string&gt;</span><br />
<span style="padding-left: 10px;">&lt;key&gt;CFBundleName&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;string&gt;<strong>name</strong>&lt;/string&gt;</span><br />
<span style="padding-left: 10px;">&lt;key&gt;CFBundlePackageType&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;string&gt;AdIM&lt;/string&gt;</span><br />
<span style="padding-left: 10px;">&lt;key&gt;Scripts&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;array&gt;</span><br />
<span style="padding-left: 20px;">&lt;dict&gt;</span><br />
<span style="padding-left: 30px;">&lt;key&gt;File&lt;/key&gt;</span><br />
<span style="padding-left: 30px;">&lt;string&gt;<span style="color: #ffff00;"><strong>name</strong></span>&lt;/string&gt;</span><br />
<span style="padding-left: 30px;">&lt;key&gt;Keyword&lt;/key&gt;</span><br />
<span style="padding-left: 30px;">&lt;string&gt;<strong>%<span style="color: #ffff00;">_name</span></strong>&lt;/string&gt;</span><br />
<span style="padding-left: 30px;">&lt;key&gt;Prefix Only&lt;/key&gt;</span><br />
<span style="padding-left: 30px;">&lt;false/&gt;</span><br />
<span style="padding-left: 30px;">&lt;key&gt;Requires User Interaction&lt;/key&gt;</span><br />
<span style="padding-left: 30px;">&lt;false/&gt;</span><br />
<span style="padding-left: 30px;">&lt;key&gt;Title&lt;/key&gt;</span><br />
<span style="padding-left: 30px;">&lt;string&gt;Message iTunes data&lt;/string&gt;</span><br />
<span style="padding-left: 20px;">&lt;/dict&gt;</span><br />
<span style="padding-left: 10px;">&lt;/array&gt;</span><br />
<span style="padding-left: 10px;">&lt;key&gt;Set&lt;/key&gt;</span><br />
<span style="padding-left: 10px;">&lt;string&gt;<span style="color: #ffff00;"><strong>Nameit</strong></span>&lt;/string&gt;</span><br />
&lt;/dict&gt;<br />
&lt;/plist&gt;</div>
<p><span style="color: #ffff00;"><strong>name</strong></span> corresponds to the name of your project from earlier.  Under &lt;key&gt;File&lt;/key&gt;, we specify the <span style="color: #ffff00;"><strong>name </strong></span>of the script file that will be called each time <span style="color: #ffff00;"><strong>%_name</strong></span> is called.  Of course, you can change any of these.  It is also possible to create more callable scripts by copying and pasting.</p>
<p>Now enter the <em>Resources</em> folder.  Create a file called <span style="color: #ffff00;"><strong>name</strong></span>, or whatever you may have changed <strong><span style="color: #ffff00;">name</span> </strong>to, with the file extension <em>.scpt.</em> You can either use your favorite text editor or the Script Editor.  This is where we will create our actual script that displays the data.</p>
<p>The following script has the following sample output:</p>
<p>Reading and listening to You Are The Pan<br />
By John Williams<br />
From Hook (Original Motion Picture Soundtrack).</p>
<p>The first line is shows my default action combined with the current song name.  The next lines are the artist, and the album.  If iTunes is not active, whether it is paused or not open, the default action will appear.  In the above example, the default action is Reading.  The modified script can be found by clicking <a title="Sample script" href="http://tylershome.nfshost.com/name.scpt">HERE.</a></p>
<p>The code is pretty simple to follow so I won&#8217;t go into details here.  It is very simple to add more formatting.  It is just a matter of copying and pasting.  The column names found in iTunes are pretty much the same as they are in AppleScript e.g. to access the genre of a track, just use the variable genre.  Adding more substitutions, that is adding more features like %_name, is as simple as expanding the XML tree and placing the new script files in the same directory.</p>
<p>Like always, if you plan on creating a published add-on, be sure to adhere to any current standards.  And that&#8217;s it.  Just click on name.AdiumScripts to install.<br />
<em><span style="text-decoration: underline;"><span style="color: #ff0000;"><br />
Your files will be installed in Library/Application Support/Adium 2.0/Scripts</span></span></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/creating-adium-scripts-itunes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iTunes Scripting with Python</title>
		<link>http://www.tylerclemons.com/itunes-scripting-with-python/</link>
		<comments>http://www.tylerclemons.com/itunes-scripting-with-python/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 23:48:08 +0000</pubDate>
		<dc:creator>Tyler</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[appscript]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://tylershome.nfshost.com/?p=37</guid>
		<description><![CDATA[I ran across scripting for the Mac OSX awhile ago.  I finally decided to take a look at it when I decided to play around with Adium&#8217;s open source code.  The most dominant prescene I observed was Applescript.  Applescript is nice and all, but Python is nicer.  Scripting OSX applications with [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across scripting for the Mac OSX awhile ago.  I finally decided to take a look at it when I decided to play around with Adium&#8217;s open source code.  The most dominant prescene I observed was Applescript.  Applescript is nice and all, but Python is nicer.  Scripting OSX applications with Python has been around for a bit.  Using the easy to install <a title="appscript" href="http://appscript.sourceforge.net/" target="_blank">appscript</a>, scripting can be leveraged by the power of Python and Ruby.</p>
<p><span id="more-17"></span></p>
<p>One of my favorite applications on my Mac is iTunes, so its no surprise this is the first application I turned to for testing.  To start, import the proper library:</p>
<div id="codebox" style="overflow: auto; "><code><span style="color: #ff6600;">from</span> appscript <span style="color: #ff6600;">import </span>*</code></div>
<p>Afterward, we can create a handle to iTunes and tell it to play:</p>
<div id="codebox" style="overflow: auto; "><code>itunes = app(<span style="color: #ff0000;">'itunes'</span>)<br />
itunes.play()</code></div>
<p>Running the above lines will open up the application called iTunes and execute the action play.  It will play the current track and specific tracks can be passed as an argument.  The action .stop() will stop iTunes.  Of course, we can do so much more with appscript.  For instance, we can create a playlist that only plays a specific album.  I wrote a script that does just that.</p>
<p>The script can be found <a title="iTunes Script" href="http://tylershome.nfshost.com/iTunesPlist.zip">HERE</a> in a zipped file.</p>
<p>It is documented and should be easy to follow.  One more thing, it is also possible to assign values to each track as if they were normal data objects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tylerclemons.com/itunes-scripting-with-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
