<?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/"
	>

<channel>
	<title>Blog from the Loft</title>
	<atom:link href="http://www.pkshiu.com/loft/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pkshiu.com/loft</link>
	<description>Thoughts without walls</description>
	<pubDate>Thu, 01 Jan 2009 16:12:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Understanding this, $(this), and event in a JQuery callback function</title>
		<link>http://www.pkshiu.com/loft/archive/2009/01/understanding-this-this-and-event-in-a-jquery-callback-function</link>
		<comments>http://www.pkshiu.com/loft/archive/2009/01/understanding-this-this-and-event-in-a-jquery-callback-function#comments</comments>
		<pubDate>Thu, 01 Jan 2009 16:12:56 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/?p=656</guid>
		<description><![CDATA[I run into this issue all the time. Inside a callback function,
like a function that response to OnClick, do I use this,
$(this), or event to get to what I need?
Let&#8217;s use a real example to demostrate what to do: A web page of
biography for a website uses a side menu to select one of several [...]]]></description>
			<content:encoded><![CDATA[<p>I run into this issue all the time. Inside a callback function,<br />
like a function that response to OnClick, do I use <code>this</code>,<br />
<code>$(this)</code>, or <code>event</code> to get to what I need?</p>
<p>Let&#8217;s use a real example to demostrate what to do: A web page of<br />
biography for a website uses a side menu to select one of several bios<br />
to display in the main area. Doing this in JQuery means that we want<br />
to hook a handler to the click events of each of the &lt;A&gt; element<br />
in the menu. When a menu item is clicked, we will display the<br />
corresponding biography enclosed in a &lt;DIV&gt;</p>
<h3>HTML</h3>
<p>Here&#8217;s the HTML for the menu area and the biography area.<br />
I am using ID&#8217;s to distinguish each biography.</p>
<p>Line 1 gives the menu a class of MENU so that we can<br />
easily find it in JQuery.<br />
Line 2 to 4 provide three menu items for the user. Notice<br />
that at line 3 and 4, there are extra styling for the menu text.</p>
<p>Line 7 and on are three DIV&#8217;s with ID corresponding to each<br />
of the menu items. Each DIV has a class of BIO, again for<br />
easy selection by JQuery.</p>
<pre name="code" class="html">

&lt;ul&gt; class=&quot;menu&quot;&gt;
&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;1&quot;&gt;1. Click me to show first bio.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;2&quot;&gt;2. Click &lt;em&gt;me&lt;/em&gt; to show &lt;em&gt;second&lt;/em&gt; bio.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;3&quot;&gt;3. Click &lt;strong&gt;me to show third&lt;/strong&gt; bio.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;bio&quot; id=&quot;1&quot;&gt;
Biography for person number one.
&lt;/div&gt;
&lt;div class=&quot;bio&quot; id=&quot;2&quot;&gt;
Biography for person number two.
&lt;/div&gt;
&lt;div class=&quot;bio&quot; id=&quot;3&quot;&gt;
Biography for person number three.
&lt;/div&gt;
</pre>
<h3>JQuery: Initialization</h3>
<p>The following initialization code first hides all biography divs on load,<br />
and then show just the first one by default. Notice how we use the<br />
<code>:first</code> selector to make selecting the first matching<br />
DIV easy.</p>
<p>Line 9 attach our function <code>click_me</code> to the menu.</p>
<pre name="code" class="javascript">

$(function(){

    /* Hide all bio divs, then show the very first one. */
    $(&quot;.bio&quot;).hide();
    $(&quot;.bio:first&quot;).show();

    /* Hook the onClick function, any A inside an object with
       class menu (UL in this case) */
    $(&quot;.menu A&quot;).click(click_me);

});
</pre>
<h3>JQuery Handler Function</h3>
<p>Here is the handler function that we hooked to the anchors in<br />
the menu. Can you guess what&#8217;s the console log output would be?</p>
<pre name="code" class="javascript">

function click_me(event){

    console.log(&#039;clicked&#039;);
    /* &quot;this&quot; is DOM element attached by the function */
    console.log(&#039;this=&#039; + this);

    /* &quot;event.target&quot; is DOM element receiving the event, can be a child */
    console.log(&#039;event.target=&#039; + event.target);

    /* Show the bio selected */
    var s = &quot;.bio[id=&quot; + this.id + &quot;]&quot;;
    $(&quot;.bio&quot;).hide();
    $(s).show();

    /* Silly effect to show the use of $(this). */
    $(this).fadeOut();
    $(this).fadeIn();

};
</pre>
<p>Here is the explanation:<br />
1. <code>this</code> inside a JQuery event handler is the<br />
DOM element that has the handler attached. This (sic) this is<br />
not necessarily the A link itself. If we have attached the<br />
handler to something else, like the containing DIV, we will<br />
get the DIV DOM element doesn&#8217;t matter which inside elements<br />
of the DIV we clicked. In this case we have attached the <code>click_me</code><br />
function to the anchors (A) themselves, so we are safe<br />
to know that <code>this.id</code> will give us the ID specified<br />
within our A tags.</p>
<p>2. The standard argument passed to the function, <code>event</code><br />
is the <a href="http://docs.jquery.com/Events_(Guide)">eventObject</a>;<br />
It is a JQuery structure the contains many useful attribute regarding<br />
the (click) event. Specifically event.target is the DOM element received the click event.<br />
Note that it will be &#8220;the DOM element that issued the event. This can be the element that registered for the event or a child of it&#8221;.</p>
<p>For example, in menu item two, if you clicked on the word &#8220;me&#8221;, it will<br />
be the span element, <strong>not</strong> the A element.</p>
<p>3. Finally, when you turn <code>this</code> into <code>$(this)</code>,<br />
you are creating a JQuery object out of, well, <code>this</code>.<br />
Turning a DOM element (the A in this case) into a JQuery object<br />
allows you to use all the JQuery functions on it. We do not really<br />
need to do that here, but just as a demonstration, we use <code>$(this)</code><br />
to fade the menu item out and in. We need to turn the A into a<br />
JQuery object so that we can call the JQuery <code>fadeOut</code><br />
and <code>fadeIn</code> functions.</p>
<p>You can see a working version of <a href="http://www.pkshiu.com/example/jquery_example_01.html">this example here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2009/01/understanding-this-this-and-event-in-a-jquery-callback-function/feed</wfw:commentRss>
		</item>
		<item>
		<title>SyntaxHighlighter plugin for Wordpress</title>
		<link>http://www.pkshiu.com/loft/archive/2008/12/syntaxhighlighter-plugin-for-wordpress</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/12/syntaxhighlighter-plugin-for-wordpress#comments</comments>
		<pubDate>Sun, 28 Dec 2008 22:03:25 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/12/syntaxhighlighter-plugin-for-wordpress</guid>
		<description><![CDATA[It has only been years, but I finally decided to install a syntax highlighter plugin for this blog. A quick search pointed me to SyntaxHighlighter 1.1.1., downloaded it, unzipped into the plugin directory, and activated it. Took all of 2 minutes. Should have done this earlier !
How watch out for some useful code samples in [...]]]></description>
			<content:encoded><![CDATA[<p>It has only been years, but I finally decided to install a syntax highlighter plugin for this blog. A quick search pointed me to <a href="http://wordpress.org/extend/plugins/syntaxhighlighter/">SyntaxHighlighter 1.1.1</a>., downloaded it, unzipped into the plugin directory, and activated it. Took all of 2 minutes. Should have done this earlier !</p>
<p>How watch out for some useful code samples in future postings.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/12/syntaxhighlighter-plugin-for-wordpress/feed</wfw:commentRss>
		</item>
		<item>
		<title>Fix Python source code to use spaces instead of tabs</title>
		<link>http://www.pkshiu.com/loft/archive/2008/12/fix-python-source-code-to-use-spaces-instead-of-tabs</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/12/fix-python-source-code-to-use-spaces-instead-of-tabs#comments</comments>
		<pubDate>Mon, 08 Dec 2008 03:38:15 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[django]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/12/fix-python-source-code-to-use-spaces-instead-of-tabs</guid>
		<description><![CDATA[What if someone gave you a Python source file that is indented using tabs? If you are using emacs, the following will let you convert it back to using spaces:
# first set the buffer tab width to 4 (or whatever you like)
M-x set-variable &#60;return&#62; tab-width &#60; return&#62; 4
# then mark the entire file
C-x h
# do [...]]]></description>
			<content:encoded><![CDATA[<p>What if someone gave you a Python source file that is indented using tabs? If you are using emacs, the following will let you convert it back to using spaces:</p>
<p># first set the buffer tab width to 4 (or whatever you like)</p>
<p>M-x set-variable &lt;return&gt; tab-width &lt; return&gt; 4</p>
<p># then mark the entire file<br />
C-x h</p>
<p># do untabify to convert:</p>
<p>M-x untabify &lt;return&gt;</p>
<p># That&#8217;s it!<br />
<!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/django" rel="tag">django</a>, <a href="http://www.technorati.com/tag/python" rel="tag">python</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/12/fix-python-source-code-to-use-spaces-instead-of-tabs/feed</wfw:commentRss>
		</item>
		<item>
		<title>I am in the NY Times, sorta</title>
		<link>http://www.pkshiu.com/loft/archive/2008/11/i-am-in-the-ny-times-sorta</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/11/i-am-in-the-ny-times-sorta#comments</comments>
		<pubDate>Sat, 15 Nov 2008 14:30:16 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[django]]></category>

		<category><![CDATA[managing]]></category>

		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/11/i-am-in-the-ny-times-sorta</guid>
		<description><![CDATA[Check out the NYTimes article on WilsonDailyPrep. We at Imperial Consulting did the application, using Django and Python. It is a great service and a lot of fun to work on (my own vocab and grammar has gotten better, the Math quizzes are too easy). I am glad it is getting the big time publicity [...]]]></description>
			<content:encoded><![CDATA[<p>Check out the NYTimes article on <a href="http://www.nytimes.com/2008/11/16/nyregion/long-island/16Rparent.html?">WilsonDailyPrep</a>. We at <a href="http://www.imperial-consulting.com">Imperial Consulting</a> did the application, using Django and Python. It is a great service and a lot of fun to work on (my own vocab and grammar has gotten better, the Math quizzes are too easy). I am glad it is getting the big time publicity now !<br />
<!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/django" rel="tag">django</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/11/i-am-in-the-ny-times-sorta/feed</wfw:commentRss>
		</item>
		<item>
		<title>Apple Retail Store Staff is the new role model?</title>
		<link>http://www.pkshiu.com/loft/archive/2008/11/apple-retail-store-staff-is-the-new-role-model</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/11/apple-retail-store-staff-is-the-new-role-model#comments</comments>
		<pubDate>Wed, 12 Nov 2008 04:22:37 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[humor]]></category>

		<category><![CDATA[observation]]></category>

		<category><![CDATA[parenting]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/11/apple-retail-store-staff-is-the-new-role-model</guid>
		<description><![CDATA[The battery in my 8 month old Mac Book Pro seems to be broken. I scheduled a late night appointment at the only Retail store in Boston, near my loft. 25 minutes later, I walked away with a replacement battery and a smile on my face. Those Apple guys and women are oh so nice. [...]]]></description>
			<content:encoded><![CDATA[<p>The battery in my 8 month old Mac Book Pro seems to be broken. I scheduled a late night appointment at the only Retail store in Boston, near my loft. 25 minutes later, I walked away with a replacement battery and a smile on my face. Those Apple guys and women are oh so nice. They are courteous, professional, passionate, and fun. The Apple Genius handled my MBP with more care then me. The counter staff were friendly and helpful. On my way home one of the staff was heading back to the store, recognized me and said good night.</p>
<p>If you were a parent, and your teenager grows up and behave with such manners, professionalism, and people skills, wouldn&#8217;t you be proud?</p>
<p>Disclaimer &#8212; I have been to other suburb Apple store within a mall and the staff there are definitely not as good. Perhaps it&#8217;s a urban twenty-something thing here at the flagship store. So at least make those the role models.<br />
<!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/apple" rel="tag">apple</a>, <a href="http://www.technorati.com/tag/children" rel="tag">children</a>, <a href="http://www.technorati.com/tag/parenting" rel="tag">parenting</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/11/apple-retail-store-staff-is-the-new-role-model/feed</wfw:commentRss>
		</item>
		<item>
		<title>Funny Ad, and he was using a Fountain Pen</title>
		<link>http://www.pkshiu.com/loft/archive/2008/10/funny-ad-and-he-was-using-a-fountain-pen</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/10/funny-ad-and-he-was-using-a-fountain-pen#comments</comments>
		<pubDate>Tue, 14 Oct 2008 15:29:54 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[humor]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/10/funny-ad-and-he-was-using-a-fountain-pen</guid>
		<description><![CDATA[
Cheat in Exam
]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="345" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.metacafe.com/fplayer/1844235/cheat_in_exam.swf" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" width="400" height="345" src="http://www.metacafe.com/fplayer/1844235/cheat_in_exam.swf" wmode="transparent"></embed></object><br />
<a href="http://www.metacafe.com/watch/1844235/cheat_in_exam/">Cheat in Exam</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/10/funny-ad-and-he-was-using-a-fountain-pen/feed</wfw:commentRss>
		</item>
		<item>
		<title>Consultant&#8217;s Nightmare</title>
		<link>http://www.pkshiu.com/loft/archive/2008/10/consultants-nightmare</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/10/consultants-nightmare#comments</comments>
		<pubDate>Thu, 09 Oct 2008 13:29:38 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[humor]]></category>

		<category><![CDATA[managing]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/10/consultants-nightmare</guid>
		<description><![CDATA[True story, metaphorically speaking:
Client: Our customers expect us to meet them in San Francisco to run a in person workshop with all of us in a week.
Me: Great. I looked and found a great cheap flight for all of us. Let&#8217;s work on what gear to bring and get there  one day before to [...]]]></description>
			<content:encoded><![CDATA[<p>True story, metaphorically speaking:</p>
<p>Client: Our customers expect us to meet them in San Francisco to run a in person workshop with all of us in a week.</p>
<p>Me: Great. I looked and found a great cheap flight for all of us. Let&#8217;s work on what gear to bring and get there  one day before to setup.</p>
<p>Their Developer: Wait, I have never been on an airplane.</p>
<p>Me: Really? It will be fun to fly for the first time. I can pick you up at your house and show you around the airport.</p>
<p>Developer: No. I do not want to fly.</p>
<p>Me: Ok. I&#8217;ll rent a big SUV and let&#8217;s do a road trip. We can work on the presentation on the way.</p>
<p>Developer: No. I am riding my bicycle.</p>
<p>Me: Bicycling from Boston to San Francisco in one week? I don&#8217;t think we are that fit.</p>
<p>Developer: I haven&#8217;t ridden a bike since I was a kid. But I see people riding bicycles all the time to work.</p>
<p>Me: Yes. Commuting to work is great, exercise and good for the environment.</p>
<p>Developer: See? Let&#8217;s go buy some bikes.</p>
<p>Me: Do you really want to tell your customers that you will be there in one week by<br />
riding your bike from Boston to San Francisco?</p>
<p>Developer: &#8230;silience&#8230;</p>
<p>Me: Ok. I&#8217;ll rent a SUV. I&#8217;ll make sure it as a GPS. Let&#8217;s pack up and leave first thing tomorrow.</p>
<p>Developer: No. We need to buy maps.</p>
<p>Me: GPS is easier.</p>
<p>Developer: I have never seen a GPS. Can you explain how they work?</p>
<p>Me: Sure. There are satellites in the sky, and the GPS receiver takes multiple signals&#8230;. Wait. We<br />
don&#8217;t have time for this. You can google it and read about it on the way.</p>
<p>Developer: I don&#8217;t trust GPS if I don&#8217;t know how it works.</p>
<p>Me: GPS has been around for a long time. I&#8217;ll let you play with it once we get started.</p>
<p>Developer: I want to get a GPS for my bicycle first to try. Maybe we can just mail them a picture<br />
of us on our bicycles instead?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/10/consultants-nightmare/feed</wfw:commentRss>
		</item>
		<item>
		<title>Steve Jobs is not Reliving Past Mistakes</title>
		<link>http://www.pkshiu.com/loft/archive/2008/09/steve-jobs-is-not-reliving-past-mistakes</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/09/steve-jobs-is-not-reliving-past-mistakes#comments</comments>
		<pubDate>Fri, 26 Sep 2008 15:29:57 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/09/steve-jobs-is-not-reliving-past-mistakes</guid>
		<description><![CDATA[Times article on Tuesday headline &#8220;Google vs iPhone: Is Steve Jobs Reliving Past Mistakes&#8221; puts forward that because Andriod is open, and iPhone is closed, Apple is going to loose the smartphone platform just like they &#8220;lost&#8221; the PC platform. Article sounds convincing until you realized that there is a very mature and reasonably open [...]]]></description>
			<content:encoded><![CDATA[<p>Times article on Tuesday headline &#8220;<a href="http://www.time.com/time/business/article/0,8599,1843813,00.html">Google vs iPhone: Is Steve Jobs Reliving Past Mistakes</a>&#8221; puts forward that because Andriod is open, and iPhone is closed, Apple is going to loose the smartphone platform just like they &#8220;lost&#8221; the PC platform. Article sounds convincing until you realized that there is a very mature and reasonably open smartphone platform out there, called Symbian. Sure it was very much Nokia driven, but anyone can develop for it. The iPhone is going head to head to the Symbian platform and I would claim that they are pulling market share from them.</p>
<p>Journalist should do some research before writing an article just because it is a hot topic.</p>
<p><!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/apple" rel="tag">apple</a>, <a href="http://www.technorati.com/tag/iphone" rel="tag">iphone</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/09/steve-jobs-is-not-reliving-past-mistakes/feed</wfw:commentRss>
		</item>
		<item>
		<title>Time to eBay my Kindle</title>
		<link>http://www.pkshiu.com/loft/archive/2008/09/time-to-ebay-my-kindle</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/09/time-to-ebay-my-kindle#comments</comments>
		<pubDate>Mon, 22 Sep 2008 14:17:38 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/09/time-to-ebay-my-kindle</guid>
		<description><![CDATA[It&#8217;s happening. As expected, iRex announced their iRex Digital Reader 1000 and 1000S today. Larger screen, wireless connectivity and touch screen for annotation. A 10.2 inch screen makes a big difference. So demand for the e-ink display is raising, price will be dropping, while Amazon claims that they are not going to release a new [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s happening. As expected, iRex announced their iRex Digital Reader 1000 and 1000S today. Larger screen, wireless connectivity and touch screen for annotation. A 10.2 inch screen makes a big difference. So demand for the e-ink display is raising, price will be dropping, while Amazon claims that they are not going to release a new Kindle this year, current owners may want to prepare for eBaying the old one and get ready for the newer Kindle when it appears.</p>
<p><a href="http://www.irextechnologies.com/irexdr1000">iRex 1000</a><br />
<!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/Kindle" rel="tag">Kindle</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/09/time-to-ebay-my-kindle/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to Change File Associations in Leopard</title>
		<link>http://www.pkshiu.com/loft/archive/2008/09/how-to-change-file-associations-in-leopard</link>
		<comments>http://www.pkshiu.com/loft/archive/2008/09/how-to-change-file-associations-in-leopard#comments</comments>
		<pubDate>Mon, 22 Sep 2008 13:36:36 +0000</pubDate>
		<dc:creator>pk</dc:creator>
		
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.pkshiu.com/loft/archive/2008/09/how-to-change-file-associations-in-leopard</guid>
		<description><![CDATA[After one year, I finally gotten around of fixing this little annoyance. Everytime I click on a .doc document, my Mac wants to open up Microsoft Office. Finally I switched the default association back to pages.

Select any file with the extension you want to change.
Click Get Info
Down near the bottom, change &#8220;open with&#8221; to whatever [...]]]></description>
			<content:encoded><![CDATA[<p>After one year, I finally gotten around of fixing this little annoyance. Everytime I click on a .doc document, my Mac wants to open up Microsoft Office. Finally I switched the default association back to pages.</p>
<ol>
<li>Select any file with the extension you want to change.</li>
<li>Click Get Info</li>
<li>Down near the bottom, change &#8220;open with&#8221; to whatever app you want, and</li>
<li>also click &#8220;change all&#8221;</li>
</ol>
<p><!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/apple" rel="tag">apple</a>, <a href="http://www.technorati.com/tag/Leopard" rel="tag">Leopard</a>, <a href="http://www.technorati.com/tag/Mac" rel="tag">Mac</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pkshiu.com/loft/archive/2008/09/how-to-change-file-associations-in-leopard/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
