<?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>Latest In Tech &#187; Software</title>
	<atom:link href="http://www.latestintech.com/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.latestintech.com</link>
	<description>get lit</description>
	<lastBuildDate>Mon, 28 Nov 2011 18:01:16 +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>Exchange 2003 with Apple Mail 5</title>
		<link>http://www.latestintech.com/exchange-2003-with-apple-mail-5/</link>
		<comments>http://www.latestintech.com/exchange-2003-with-apple-mail-5/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 03:26:07 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/?p=431</guid>
		<description><![CDATA[Apple Mail ver. 5 doesn&#8217;t work with Exchange 2003. However, there&#8217;s a third-party solution that works pretty well. DavMail is a client that sits between Exchange and Mail. I&#8217;m a stickler for efficiency and I hate to waste CPU-cycles, but this worth taking a look at. DavMail has some pretty handy set-up instructions so I [...]]]></description>
			<content:encoded><![CDATA[<p>Apple Mail ver. 5 doesn&#8217;t work with Exchange 2003. However, there&#8217;s a third-party solution that works pretty well. <a href="http://davmail.sourceforge.net/macosxsetup.html">DavMail</a> is a client that sits between Exchange and Mail. I&#8217;m a stickler for efficiency and I hate to waste CPU-cycles, but this worth taking a look at.</p>
<p>DavMail has some pretty handy set-up instructions so I won&#8217;t go in to that. One feature I immediately missed was the option of not having DavMail&#8217;s App icon in the dock. Here&#8217;s how to alleviate that problem.Fire up a terminal and run these commands:</p>
<ul>
<li><code>cd /Applications/DavMail.app/Contents</code></li>
<li><code>cp Info-nodock.plist Info.plist</code></li>
</ul>
<p>That&#8217;s it. The next time you start DavMail the only hint of it running will be in the menu bar.<br />
Add DavMail to your start-up items to have it automatically start when OS X boots.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/exchange-2003-with-apple-mail-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting Full Screen Apps in OS X&#8217;s Mission Control</title>
		<link>http://www.latestintech.com/sorting-full-screen-apps-in-os-xs-mission-control/</link>
		<comments>http://www.latestintech.com/sorting-full-screen-apps-in-os-xs-mission-control/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 03:06:41 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/?p=420</guid>
		<description><![CDATA[Trying to sort full-screen apps in Lion? Here&#8217;s how System Preferences Mission Control Check &#8220;Automatically rearrange spaces based on most recent use This allows you to organize your full-screen apps by alt-tabbing through them (yeah not the greatest). Bonus: I&#8217;m still trying to get used to the three-finger swipes and accidentally alt-tab once in a [...]]]></description>
			<content:encoded><![CDATA[<p>Trying to sort full-screen apps in Lion? Here&#8217;s how</p>
<ul>
<li>System Preferences</li>
<li>Mission Control</li>
<li>Check &#8220;Automatically rearrange spaces based on most recent use</li>
</ul>
<p>This allows you to organize your full-screen apps by alt-tabbing through them (yeah not the greatest).</p>
<p>Bonus:<br />
I&#8217;m still trying to get used to the three-finger swipes and accidentally alt-tab once in a while. Alt-tabbing once I have my apps organized ruins everything. I&#8217;ve whipped up a automator app that simply toggles the preference for you. Toggle it to turn the preference on, sort your apps and toggle it again to turn the preference off.</p>
<p><a href='http://www.latestintech.com/wp-content/uploads/2011/08/Tab-Settings.app_.zip'>Tab Settings.app</a></p>
<p>I&#8217;d love to see what people do with it. Here&#8217;s the raw apple-script:<br />
<code>tell application "System Preferences"<br />
	activate<br />
	set the current pane to pane id "com.apple.preference.expose"<br />
end tell</p>
<p>tell application "System Events"<br />
	tell application process "System Preferences"<br />
		--get the name of every checkbox of group 2 of window "Mission Control"<br />
		click checkbox "Automatically rearrange spaces based on most recent use" of group 2 of window "Mission Control"<br />
	end tell<br />
end tell</p>
<p>tell application "System Preferences" to close every window</code></p>
<p>Here&#8217;s an updated Automator Service that doesn&#8217;t show the System Preferences pane when changing the Alt-Tab setting:</p>
<ul>
<li>Start Automator</li>
<li>Choose &#8220;Service&#8221;</li>
<li>Select the &#8220;Run Shell Script&#8221; action</li>
</ul>
<p>Copy and paste this into the workflow:<br />
<code>current_value=$(defaults read com.apple.dock mru-spaces)<br />
if [ $current_value = 1 ]<br />
then<br />
  defaults write com.apple.dock mru-spaces -bool No<br />
  /usr/local/bin/growlnotify -m "Automatically Rearrange is Turned Off"<br />
else<br />
  defaults write com.apple.dock mru-spaces -bool Yes<br />
  /usr/local/bin/growlnotify -m "Automatically Rearrange is Turned On"<br />
fi</p>
<p>killall Dock</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/sorting-full-screen-apps-in-os-xs-mission-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Full Screen Terminal Keyboard Command on a Mac</title>
		<link>http://www.latestintech.com/full-screen-terminal-keyboard-command-on-a-mac/</link>
		<comments>http://www.latestintech.com/full-screen-terminal-keyboard-command-on-a-mac/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 19:53:55 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/full-screen-terminal-keyboard-command-on-a-mac/</guid>
		<description><![CDATA[Purists wouldn&#8217;t call this full-screen but it&#8217;s close enough. In System Preferences->Keyboard &#038; Mouse->Keyboard Shortcuts Use the plus sign (+) to create a new shortcut. Use the drop down, labeled Application, to assign our new shortcut to the Terminal. Menu Title will be &#8220;Zoom&#8221; no quotes. Use any keyboard shortcut you&#8217;d like, I prefer command+f. [...]]]></description>
			<content:encoded><![CDATA[<p>Purists wouldn&#8217;t call this full-screen but it&#8217;s close enough.</p>
<p>In System Preferences->Keyboard &#038; Mouse->Keyboard Shortcuts<br />
Use the plus sign (+) to create a new shortcut. Use the drop down, labeled Application, to assign our new shortcut to the Terminal.<br />
Menu Title will be &#8220;Zoom&#8221; no quotes.<br />
Use any keyboard shortcut you&#8217;d like, I prefer command+f.<br />
Restart the terminal.</p>
<p>Another keyboard shortcut I use with the Terminal is Select Previous Tab command + left arrow, and Select Next Tab command + right arrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/full-screen-terminal-keyboard-command-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install rar and unrar on a Mac OX 10.5+</title>
		<link>http://www.latestintech.com/install-rar-and-unrar-on-a-mac-ox-105/</link>
		<comments>http://www.latestintech.com/install-rar-and-unrar-on-a-mac-ox-105/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 02:55:09 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/install-rar-and-unrar-on-a-mac-ox-105/</guid>
		<description><![CDATA[A great tutorial can be found here.]]></description>
			<content:encoded><![CDATA[<p>A great tutorial can be found <a href="http://www.robertvenema.nl/journal/archive/howto-command-line-unrar-on-mac-os-x/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/install-rar-and-unrar-on-a-mac-ox-105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl grabbing output from a shell command</title>
		<link>http://www.latestintech.com/perl-grabbing-output-from-a-shell-command/</link>
		<comments>http://www.latestintech.com/perl-grabbing-output-from-a-shell-command/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 22:00:19 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/perl-grabbing-output-from-a-shell-command/</guid>
		<description><![CDATA[$result = `ls -l $file 2>&#038;1`;]]></description>
			<content:encoded><![CDATA[<p><code>$result = `ls -l $file 2>&#038;1`;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/perl-grabbing-output-from-a-shell-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Re-configuring CPAN</title>
		<link>http://www.latestintech.com/re-configuring-cpan/</link>
		<comments>http://www.latestintech.com/re-configuring-cpan/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 16:42:56 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/re-configuring-cpan/</guid>
		<description><![CDATA[sudo perl -MCPAN -e shell o conf init]]></description>
			<content:encoded><![CDATA[<p>sudo perl -MCPAN -e shell<br />
o conf init</p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/re-configuring-cpan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xargs choking on whitespace</title>
		<link>http://www.latestintech.com/xargs-choking-on-whitespace/</link>
		<comments>http://www.latestintech.com/xargs-choking-on-whitespace/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 16:59:53 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/xargs-choking-on-whitespace/</guid>
		<description><![CDATA[Every once in a while the normal recursive bash command doesn&#8217;t work and I resort to using find with xargs. Of course xargs hates whitespace and I often find myself working with files created by others. xargs chokes on whitespace thinking it&#8217;s an indication of a new file. The solution is to get find to [...]]]></description>
			<content:encoded><![CDATA[<p>Every once in a while the normal recursive bash command doesn&#8217;t work and I resort to using find with xargs. Of course xargs hates whitespace and I often find myself working with files created by others. xargs chokes on whitespace thinking it&#8217;s an indication of a new file. The solution is to get find to send null separated values instead of newline separated values, and get xargs to check for null characters instead of newlines. Both can be accomplished, find&#8217;s <code>-print0</code> sends null values, xarg&#8217;s <code>-0</code> will accept null values.</p>
<p>Here&#8217;s an example:<br />
<code>find ./website/ ! -perm -775 -print0 | xargs -0 chown production:wheel</code></p>
<p>via <a href="http://www.linuxdevcenter.com/pub/a/linux/lpt/09_22.html">linuxdevcenter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/xargs-choking-on-whitespace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Catching System output from Perl</title>
		<link>http://www.latestintech.com/catching-system-output-from-perl/</link>
		<comments>http://www.latestintech.com/catching-system-output-from-perl/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 22:00:09 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/catching-system-output-from-perl/</guid>
		<description><![CDATA[I&#8217;m too lazy to install a perl module, on a local computer, for a quick whois on a few domains. Catching the shell&#8217;s output is more convenient in this case. Instead of first writing and then reading from a file, it makes more sense to use a pipe. Here&#8217;s a quick example: #!/usr/bin/perl open (WHOIS, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m too lazy to install a perl module, on a local computer, for a quick whois on a few domains. Catching the shell&#8217;s output is more convenient in this case.</p>
<p>Instead of first writing and then reading from a file, it makes more sense to use a pipe. Here&#8217;s a quick example:</p>
<p><code><br />
#!/usr/bin/perl<br />
open (WHOIS, "/usr/bin/whois  ewayauto.com |");<br />
$i=1;<br />
while (<WHOIS>){<br />
print "Line # ".$i." ".$_;<br />
$i++;<br />
}<br />
print "All done!\n";<br />
close WHOIS;<br />
</code></p>
<p>Thanks to <a href="http://www.netadmintools.com/art269.html">netadmintools</a> for this one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/catching-system-output-from-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluetooth Proximity Detection on OS X</title>
		<link>http://www.latestintech.com/bluetooth-proximity-detection-on-os-x/</link>
		<comments>http://www.latestintech.com/bluetooth-proximity-detection-on-os-x/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 19:16:21 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mobile Phones]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/bluetooth-proximity-detection-on-os-x/</guid>
		<description><![CDATA[I use this to lock and unlock my Mac, at work, based on the bluetooth connection between my phone and computer. Once my Mac detects that the phone is unavailable it locks itself. What you&#8217;ll need: Proximity 1.0 a free download from Apple. A compiled version of notify.c #include int main(int argc, char ** argv) [...]]]></description>
			<content:encoded><![CDATA[<p>I use this to lock and unlock my Mac, at work, based on the bluetooth connection between my phone and computer. Once my Mac detects that the phone is unavailable it locks itself.</p>
<p>What you&#8217;ll need:</p>
<ul>
<li><a href="http://www.apple.com/downloads/macosx/system_disk_utilities/proximity.html">Proximity 1.0</a> a free download from Apple.</li>
<li>A compiled version of notify.c<br />
<code>#include <CoreFoundation/CoreFoundation.h><br />
int main(int argc, char ** argv)<br />
{<br />
    CFMessagePortRef port = CFMessagePortCreateRemote(NULL, CFSTR("com.apple.loginwindow.notify"));<br />
    CFMessagePortSendRequest(port, 500, 0, 0, 0, 0, 0);<br />
    CFRelease(port);<br />
    return 0;<br />
}</code><br />
You can download a pre-compiled version here, or compile it yourself (Apple&#8217;s Dev Tools required) with the command<br />
<code>cc -arch ppc -arch i386 -o notif notif.c -framework CoreFoundation</code></li>
<li>An Apple Script to set the screen saver<br />
<code>-- Turn on the screen saver password<br />
do shell script "defaults -currentHost write com.apple.screensaver askForPassword -int 1"<br />
set MyName to do shell script "whoami"<br />
set runFile to "/Users/" &#038; MyName &#038; "/notif"<br />
-- display dialog runFile<br />
do shell script runFile<br />
-- Activate the screen saver<br />
tell application "ScreenSaverEngine" to activate</code><br />
N.B. You&#8217;ll need to change &#8220;/notif&#8221; to match the location if the compiled notif binary</li>
<li>An Applescript to unset the screensaver.<br />
<code>-- Disable the screen Saver Password<br />
set MyName to do shell script "whoami"<br />
set runFile to "/Users/" &#038; MyName &#038; "/notif"<br />
do shell script "defaults -currentHost write com.apple.screensaver askForPassword -int 0"<br />
do shell script runFile<br />
-- Turn OFF the screen saver<br />
tell application "ScreenSaverEngine" to quit</code><br />
N.B. You&#8217;ll need to change &#8220;/notif&#8221; to match the location if the compiled notif binary</li>
<li>Connect your bluetooth device to the Mac via bluetooth.</li>
<li>Run Proximity, set your device, set the Applescripts</li>
</ul>
<p>Useful Links:</p>
<ul>
<li><a href="http://meckimac.com/drupal/?q=node/25">Lock Computer Using DeskShade</a></li>
<li><a href="http://web.mac.com/jhollington/technocrat/The_Technocrat/Entries/2007/3/18_Bluetooth_Proximity_Detection_on_OS_X.html">Bluetooth Proximity Detection on OS X</a></li>
<li><a href="http://forums.macosxhints.com/showthread.php?p=335913#post335913">Automatically turn on/off Password Protection for the Screensaver</a></li>
</ul>
<p>Update:<br />
<a href="http://hints.macworld.com/article.php?story=20091221173111783">Mac OS X Hints</a> has a much better setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/bluetooth-proximity-detection-on-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find current user with in an Applescript</title>
		<link>http://www.latestintech.com/find-current-user-with-in-an-applescript/</link>
		<comments>http://www.latestintech.com/find-current-user-with-in-an-applescript/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 23:27:08 +0000</pubDate>
		<dc:creator>sarvinc</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.latestintech.com/find-current-user-with-in-an-applescript/</guid>
		<description><![CDATA[I&#8217;m in the middle of testing this, but it should work: set MyName to do shell script "whoami"]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m in the middle of testing this, but it should work:<br />
<code>set MyName to do shell script "whoami"</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.latestintech.com/find-current-user-with-in-an-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

