<?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>JDHarper.com &#187; autohotkey</title>
	<atom:link href="http://jdharper.com/blog/tag/autohotkey/feed/" rel="self" type="application/rss+xml" />
	<link>http://jdharper.com/blog</link>
	<description>Stuff Worth Writing About</description>
	<lastBuildDate>Fri, 23 Dec 2011 05:00:00 +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>Quick Log Files</title>
		<link>http://jdharper.com/blog/quick-log-files/</link>
		<comments>http://jdharper.com/blog/quick-log-files/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 19:28:58 +0000</pubDate>
		<dc:creator>J. D. Harper</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[autohotkey]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://jdharper.com/blog/?p=244</guid>
		<description><![CDATA[&#8220;Ubiquitous Capture&#8221; is a productivity buzz-phrase meaning &#8220;write stuff down.&#8221; You should always be able to get thoughts out of your head and into a more permanent form. Generally that means carrying around some paper or a smart phone wherever you go, keeping a pad of paper by your desk, having notepad open on your [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Ubiquitous Capture&#8221; is a productivity buzz-phrase meaning &#8220;write stuff down.&#8221; You should always be able to get thoughts out of your head and into a more permanent form. Generally that means carrying around some paper or a smart phone wherever you go, keeping a pad of paper by your desk, having notepad open on your computer, whatever way you can record your ideas before they vanish. </p>
<p>Ideally you also want to be able to be able to do this quickly, capturing your ideas so you can focus on what you were doing before. So I wrote a little <a href="http://www.jdharper.com/downloads/textlogs.ahk">script</a> for <a href="http://www.autohotkey.com/">AutoHotkey</a> to help with that. Here&#8217;s a quick video showing what it does:</p>
<p><iframe title="YouTube video player" width="730" height="578" src="http://www.youtube.com/embed/my49_Kn29tQ?rel=0" frameborder="0" allowfullscreen></iframe></p>
<dl>
<dt>Capslock</dt>
<dd>Pops up a text input box. Appends that text to a text file named after today&#8217;s date.</dd>
<dt>Ctrl-Capslock</dt>
<dd>Opens today&#8217;s text file</dd>
<dt>Alt-Capslock</dt>
<dd>Same as Capslock, but first pops up a box asking what file I want to append to&#8211;this way I could conceivably keep a bunch of text files, like a wishlist, todo list, shopping list, whatever. Does not record a timestamp</dd>
<dt>Windows Key-Capslock</dt>
<dd>Opens a list of the text files in my txt folder so I can select one and open it</dd>
<dt>Ctrl-Alt-Capslock</dt>
<dd>Opens the txt folder in Windows Explorer</dd>
<dt>Shift-Capslock</dt>
<dd>The regular Capslock function</dd>
</dl>
<p>I&#8217;m keeping the txt folder in my dropbox so I can edit the files using PlainText on my iPhone. I think it&#8217;s going to be really useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdharper.com/blog/quick-log-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command Line Tools, Post 0: The Quake-Style Command Line</title>
		<link>http://jdharper.com/blog/command-line-tools-post-0-the-quake-style-command-line/</link>
		<comments>http://jdharper.com/blog/command-line-tools-post-0-the-quake-style-command-line/#comments</comments>
		<pubDate>Sat, 02 May 2009 16:13:56 +0000</pubDate>
		<dc:creator>J. D. Harper</dc:creator>
				<category><![CDATA[autohotkey]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[console2]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am rediscovering the joys of the command line. After a couple years of service, my laptop was getting sluggish. After the delays finally became intolerable, I ordered a new hard drive and reinstalled my system from scratch. In addition to making the laptop faster, the process has gotten me to reexamine some tools I [...]]]></description>
			<content:encoded><![CDATA[<p>I am rediscovering the joys of the command line. </p>
<p>After a couple years of service, my laptop was getting sluggish. After the delays finally became intolerable, I ordered a new hard drive and reinstalled my system from scratch. In addition to making the laptop faster, the process has gotten me to reexamine some tools I had previously neglected.</p>
<p>Chief among these is Cygwin. Linux has a lot of useful command line tools, and Cygwin makes these tools available for Windows. I use it to get the weather, manage a todo list, download files, do math, and even send updates to Twitter. Why use the command line for these tasks, when there are good graphical ways of doing them? Because it&#8217;s really, really fast.</p>
<p><a href="http://www.jdharper.com/images/FULL-S_20090502_102849_1_1024x768.png"><img src="http://www.jdharper.com/images/SMALL-T_20090502_102849_1_500x375.png" /></a></p>
<p>The command line drops down over my other windows, like a video game console, at the press of a simple keyboard shortcut. Then it&#8217;s just a matter of typing in what I want. </p>
<p>I&#8217;ve written about <a href="http://www.jdharper.com/wordpress/2008/01/04/automated-screenshots-and-quake-style-console-popups-with-autohotkey/">how to set this up before</a>, but a few things have changed since then. Here&#8217;s how to set up a Quake-style dropdown command line.</p>
<ol>
<li>
<p>Install <a href="http://www.cygwin.com/">Cygwin</a>. I use the <a href="http://www.e-texteditor.com/">e text-editor</a>, which automatically installs Cygwin with a bunch of useful packages in order to enable its more advanced features.</p>
</li>
<li>
<p>Install <a href="http://www.autohotkey.com/">AutoHotkey</a>. (By the way, this program has a <em>lot</em> more uses than just this drop-down command line. It&#8217;s something I know I haven&#8217;t explored to its full potential yet.)</p>
</li>
<li>
<p>Install <a href="http://sourceforge.net/project/showfiles.php?group_id=43764">Console2</a>. This is a free and open source console program, which is much prettier than the standard Windows Command Prompt tool. You&#8217;ll want to install the latest beta version of the software (the stable version hasn&#8217;t been updated in <em>years</em>). For reference, I&#8217;m using <a href="http://sourceforge.net/project/downloading.php?group_id=43764&amp;filename=Console-2.00b144-Beta.zip&amp;a=12887926">Beta #144</a>.</p>
</li>
<li>
<p>Download <a href="http://www.jdharper.com/downloads/console.xml">console.xml</a> and <a href="http://www.jdharper.com/downloads/consolecygwin.xml">consolecywgin.xml</a> and put them in the same folder as Console2, replacing the console.xml file that is already there.</p>
</li>
<li>
<p>In the Console2 folder, right click on Console2.exe and click Create Shortcut. Rename it consolecygwin.</p>
</li>
<li>
<p>Right click that shortcut and click Properties. In the &#8220;Target&#8221; field, add <code>-c consolecygwin.xml</code> after the final quotation mark. Click OK.</p>
</li>
<li>
<p>Open Autohotkey if it isn&#8217;t open already. Right-click on the Autohotkey icon in the system tray and click Edit Script.</p>
</li>
<li>
<p>Copy and paste <a href="http://www.jdharper.com/downloads/dropdownconsolescript.txt">the contents of this file</a> to the end of the AutoHotkey.ahk file that appears.</p>
</li>
<li>
<p>Save and close the AutoHotkey.ahk file. Right click the Autohotkey icon and click Reload This Script.</p>
</li>
</ol>
<p>Now if you hit the Windows Key and the ~ key, you&#8217;ll get a regular old DOS prompt. Hit Windows Key + Shift + ~, you&#8217;ll get the Cygwin prompt. Type <code>exit</code> into either prompt to make it go away. Press escape to hide the prompt, and press either of the hotkeys mentioned above to bring it back.</p>
<p>In my next post, I&#8217;ll go into how to set up some of the neat commands I mentioned earlier.</p>
]]></content:encoded>
			<wfw:commentRss>http://jdharper.com/blog/command-line-tools-post-0-the-quake-style-command-line/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

