<?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>lasseklein.com &#187; Hardware</title>
	<atom:link href="http://lasseklein.com/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://lasseklein.com</link>
	<description>Computer Graphics &#124; Design &#124; Photography &#124; New Media</description>
	<lastBuildDate>Sat, 08 Jan 2011 08:34:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Make your portable mac behave differently in different locations</title>
		<link>http://lasseklein.com/2006/06/make-your-macbook-behave-differently-in-different-locations/</link>
		<comments>http://lasseklein.com/2006/06/make-your-macbook-behave-differently-in-different-locations/#comments</comments>
		<pubDate>Wed, 21 Jun 2006 15:53:55 +0000</pubDate>
		<dc:creator>Lasse</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://herrklein.com/2006/06/make-your-macbook-behave-differently-in-different-locations/</guid>
		<description><![CDATA[image © Apple Different places, different needs Startup Items lets you open the same applications every time you log in, but that is not necessarily what you want. I have different uses for my MacBook Pro depending on where I am, and I want different programs started and different servers mounted at work than I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://herrklein.com/images/beach_saver.jpg" title="beach" /></p>
<p align="right"><em>image © Apple</em></p>
<h3>Different places, different needs</h3>
<p>Startup Items lets you open the same applications every time you log in, but that is not necessarily what you want. I have different uses for my MacBook Pro depending on where I am, and I want different programs started and different servers mounted at work than I do at home.</p>
<p>Removable hardware and networks disks are not always available for a portable computer. If you try to mount disks when they are not available, you are causing unnecessary delays, and you get annoying error messages. And if you do not have a solution for mounting the disks automatically, you have to do it manually every work day.</p>
<h3>The solution</h3>
<p>I have made a small applescript that solves most of these problems. Just <a href="/upload/startupscript.scpt">download the script here</a> and double click it to open in script editor. Then follow the instructions in the comments inside the script.</p>
<p>The script works by assuming that you get assigned an ip address within different ranges in different physical places. You tell the script where each range belong, and what you want done  when you are at that place.</p>
<h3>It&#8217;s easy!</h3>
<p>If you are new to programming, I can promise you that this sounds a lot harder than it is. Applescript is made for non-programmers like you, and you will easily understand what is going on. At least take a look at the script before you give up!</p>
<h3>Update: Alternative solution</h3>
<p>I started working on making a more user friendly application to manage locations, but I put that on hold when I found that <a href="http://www.codehackers.net/" title="WiLMa" target="_blank">WiLMa &#8211; The WIreless Location MAnager</a> may do the trick. I will try it out, but my guess right now is that WiLMa may be easier to use, and that the above script gives you more control.</p>
<h3>Update II: Added functionality</h3>
<p>You may now switch behaviour using the Airport network name in addition to the IP address.</p>
<p align="center"><a href="http://digg.com/apple/Make_your_portable_mac_behave_differently_in_different_locations" target="_blank">Digg this article!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lasseklein.com/2006/06/make-your-macbook-behave-differently-in-different-locations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

