<?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>Parks Computing &#187; utilities</title>
	<atom:link href="http://www.parkscomputing.com/labels/utilities/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parkscomputing.com</link>
	<description>Pedagogy for the autodidactic programmer</description>
	<lastBuildDate>Thu, 12 Jan 2012 22:48:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Update on Ripsaw</title>
		<link>http://www.parkscomputing.com/2010/04/update-on-ripsaw/</link>
		<comments>http://www.parkscomputing.com/2010/04/update-on-ripsaw/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 18:39:00 +0000</pubDate>
		<dc:creator>Paul Parks</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[COM]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[ripsaw]]></category>
		<category><![CDATA[utilities]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://nightowl/?p=46</guid>
		<description><![CDATA[A while back I started an article series on a utility named Ripsaw. I have since gotten pretty busy with other projects, and the only extracurricular thing I&#8217;ve worked on in the meantime is the lesson series on how to play &#8220;Spanish Fly&#8221;. I was also waiting for Visual Studio 2010 to hit release, but [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I started <a href="/labels/ripsaw.html">an article series on a utility named Ripsaw</a>. I have since gotten pretty busy with other projects, and the only extracurricular thing I&#8217;ve worked on in the meantime is the <a href="http://www.parkscomputing.com/2010/03/new-guitar-tutorial-videos.html">lesson series on how to play &#8220;Spanish Fly&#8221;</a>. I was also waiting for Visual Studio 2010 to hit release, but I haven&#8217;t moved up to Professional yet, so I may actually drop the whole project back down to VS 2008 when I start it up again.</p>
<p>On top of all that, Blogger is yanking the rug out from under me with some changes to how it updates certain sites, and I want to get that resolved before I add any significant new content. I just wanted to let everyone know that the project isn&#8217;t dead; in fact, there have been several times over the last few weeks when I&#8217;ve needed a utility like Ripsaw, so this is definitely going to get done eventually.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.parkscomputing.com%2F2010%2F04%2Fupdate-on-ripsaw%2F&amp;t=Update%20on%20Ripsaw" id="facebook_share_button_46" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_46') || document.getElementById('facebook_share_icon_46') || document.getElementById('facebook_share_both_46') || document.getElementById('facebook_share_button_46');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_46') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.parkscomputing.com/2010/04/update-on-ripsaw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A New Article Series: Ripsaw</title>
		<link>http://www.parkscomputing.com/2009/10/a-new-article-series-ripsaw/</link>
		<comments>http://www.parkscomputing.com/2009/10/a-new-article-series-ripsaw/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 23:43:00 +0000</pubDate>
		<dc:creator>Paul Parks</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[ripsaw]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[utilities]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://nightowl/?p=30</guid>
		<description><![CDATA[Several years ago I wrote a Windows application called &#8220;Ripsaw&#8221; that implemented the basic functionality of the Unix tail utility in a graphical application, with a few twists of my own. I had intended to release the application as an open-source project, and although I still use the tool quite a bit I never got [...]]]></description>
			<content:encoded><![CDATA[<p>Several years ago I wrote a Windows application called &#8220;Ripsaw&#8221; that implemented the basic functionality of the Unix <a href="http://en.wikipedia.org/wiki/Tail_%28Unix%29">tail</a> utility in a graphical application, with a few twists of my own. I had intended to release the application as an open-source project, and although I still use the tool quite a bit I never got around to giving it the necessary polish for a public release. I&#8217;ve only shared it with a few friends and co-workers.</p>
<p>I&#8217;ve just downloaded Beta 2 of <a href="http://www.microsoft.com/visualstudio/en-us/products/2010/default.mspx">Microsoft Visual Studio 2010</a>, and I&#8217;ve decided to create a new version of Ripsaw from the ground up so that I can become familiar with the new IDE and compiler. Besides being a chance to finally get Ripsaw right, this will also be an opportunity to create a series of articles on how I develop a complete application, from the first ideas through design, implementation, testing, and release. I&#8217;ll walk you through all of the design decisions and trade-offs, the problems I run into along the way, and the development methodologies I use.</p>
<p>I would really appreciate your feedback, ideas, suggestions, and criticisms. This is going to be fun!</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.parkscomputing.com%2F2009%2F10%2Fa-new-article-series-ripsaw%2F&amp;t=A%20New%20Article%20Series%3A%20Ripsaw" id="facebook_share_button_30" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_30') || document.getElementById('facebook_share_icon_30') || document.getElementById('facebook_share_both_30') || document.getElementById('facebook_share_button_30');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_30') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.parkscomputing.com/2009/10/a-new-article-series-ripsaw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Drag Sensitivity Utility</title>
		<link>http://www.parkscomputing.com/2009/04/windows-drag-sensitivity-utility/</link>
		<comments>http://www.parkscomputing.com/2009/04/windows-drag-sensitivity-utility/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 19:10:00 +0000</pubDate>
		<dc:creator>Paul Parks</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[utilities]]></category>

		<guid isPermaLink="false">http://nightowl/?p=18</guid>
		<description><![CDATA[Inspired by an article by Raymond Chen about how to correctly change the Windows mouse drag sensitivity, I wrote a quick utility called dragsens. It&#8217;s a small command-line utility that will allow you to change the number of pixels the mouse has to travel before a drag operation is initiated. Just download and unzip the [...]]]></description>
			<content:encoded><![CDATA[<p>Inspired by an article by Raymond Chen about  <a href="http://blogs.msdn.com/oldnewthing/archive/2009/04/10/9541813.aspx">how to correctly change the Windows mouse drag sensitivity</a>, I wrote a quick <a href="http://www.parkscomputing.com/dragsens.zip">utility called <em>dragsens</em></a>. It&#8217;s a small command-line utility that will allow you to change the number of pixels the mouse has to travel before a drag operation is initiated. Just download and unzip the utility, then run it at the command line, supplying a single parameter that is the number of pixels for the mouse to travel.</p>
<p>If you&#8217;d like modify the utility, or examine its source, you may <a href="http://www.parkscomputing.com/code/dragsens_src.zip">download the Visual Studio 2008 project</a>. If you just want the utility itself, you may <a href="http://www.parkscomputing.com/dragsens.zip">download a ZIP of the executable</a>.<br />
<span id="more-18"></span></p>
<h3 id="about">About the Utility</h3>
<p>The utility is actually very simple. It accepts a single parameter, which is the number of pixels the mouse must travel with a button depressed before the motion registers as a drag action. Rather than separate out the width and height, I just set both to the same number since this is generally all that&#8217;s necessary.</p>
<div class="example">
<pre>BOOL success = FALSE;

success = SystemParametersInfo(SPI_SETDRAGWIDTH, numPixels, NULL, SPIF_UPDATEINIFILE | SPIF_SENDCHANGE);

if (!success)
{
  DWORD error = GetLastError();
  std::wcout < < L"Error " << std::hex << error << std::dec << " while setting drag width." << std::endl;
  return 1;
}

success = SystemParametersInfo(SPI_SETDRAGHEIGHT, numPixels, NULL, SPIF_UPDATEINIFILE | SPIF_SENDCHANGE);

if (!success)
{
  DWORD error = GetLastError();
  std::wcout << L"Error " << std::hex << error << std::dec << " while setting drag height." << std::endl;
  return 1;
}</pre>
</pre>
</div>
<p>It would be fairly simple to modify the application to set the width and height independently, if you so desired.</p>
<h3 id="update">Update</h3>
<p>I&#8217;m already at version 1.1. I decided to add a version resource and support for a &#8220;/?&#8221; parameter.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.parkscomputing.com%2F2009%2F04%2Fwindows-drag-sensitivity-utility%2F&amp;t=Windows%20Drag%20Sensitivity%20Utility" id="facebook_share_button_18" style="font-size:11px; line-height:13px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; text-decoration:none; display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; margin: 5px 0; height:15px; border:1px solid #d8dfea; color: #3B5998; background: #fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif) no-repeat top right;">Share</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_18') || document.getElementById('facebook_share_icon_18') || document.getElementById('facebook_share_both_18') || document.getElementById('facebook_share_button_18');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_18') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://www.parkscomputing.com/2009/04/windows-drag-sensitivity-utility/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

