<?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>Some Thoughts &#187; code(ish)</title>
	<atom:link href="http://arongahagan.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://arongahagan.com</link>
	<description>For His glory and our joy</description>
	<lastBuildDate>Mon, 03 Oct 2011 18:04:53 +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>WTS Bookstore Blogpartner Tools</title>
		<link>http://arongahagan.com/wts-bookstore-bookmarklet-tools_655/</link>
		<comments>http://arongahagan.com/wts-bookstore-bookmarklet-tools_655/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 20:00:21 +0000</pubDate>
		<dc:creator>Aron</dc:creator>
				<category><![CDATA[code(ish)]]></category>

		<guid isPermaLink="false">http://arongahagan.com/?p=655</guid>
		<description><![CDATA[After getting tired of searching through my email for my WTS Bookstore blogpartner id every time I link to a book on their site, I decided to make a bookmarklet to make the process a bit easier. (A bookmarklet is like a mini javascript application that can be built in to a web browser bookmark.) [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wtsbooks.com"><img class="alignleft" title="Visit WTS Bookstore" src="http://www.wtsbooks.com/images/blog80.jpg" alt="" width="80" height="80" /></a>After getting tired of searching through my email for my WTS Bookstore blogpartner id every time I link to a book on their site, I decided to make a bookmarklet to make the process a bit easier. (A bookmarklet is like a mini javascript application that can be built in to a web browser bookmark.) Then I thought some of you fine folks might like to have one too, so I made a little webapp that will create one for you (with your blogpartner id, of course, not mine).</p>
<p>Simply enter your blogpartner id, click the button, and the hyperlink below the button will automagically become your very own bookmarklet. Drag the link to your toolbar or somewhere else handy. Next time you want to link to a book, find it at <a href="http://www.wtsbooks.com" target="_blank">WTS Books.com</a>, then click the bookmarklet. Your blogpartner id will automatically be appended to the URL in your browser&#8217;s address bar. There&#8217;s a video how-to available too, which you can watch after you&#8217;ve made your bookmarklet. The tool is available <a title="make my bookmarklet" href="http://www.arongahagan.com/wts/wts_blogPartners1.html" target="_blank">here</a>.</p>
<p>For those those a little more web-savvy, I&#8217;ve also created a small script that will automatically append your blogpartner id to every wtsbooks.com link on your site (without overwriting existing ones). You can either paste the code directly into your html header, or link to an external .js file. Either way, you&#8217;ll need to update your html <code>&lt;body&gt;</code> tag to call the <code>changeAllLinks</code> function on the <code>onload </code>event (<code>&lt;body onload="changeAllLinks()"&gt;</code>). Note that you should replace my blogpartner id with your own&#8230;unless of course you don&#8217;t want to&#8230;which would be fine with me. I will assume you know what you&#8217;re doing, so please don&#8217;t expect a whole lot of &#8220;technical support&#8221; on this one. The script is available <a title="get my script" href="http://www.arongahagan.com/wts/wts_blogPartners3.js" target="_blank">here</a>.</p>
<p>Enjoy!</p>
<p>[Update: <a href="http://ggentry.blogspot.com" target="_blank">Greg</a> just reminded me about <a href="http://inthylight.100webspace.net/wtsbutton.php" target="_blank">this tool</a>, which is <em>way </em>cooler than mine. But the script above might be helpful to some.]</p>
]]></content:encoded>
			<wfw:commentRss>http://arongahagan.com/wts-bookstore-bookmarklet-tools_655/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automatic Updates Loop Killer</title>
		<link>http://arongahagan.com/automatic-updates-loop-killer_438/</link>
		<comments>http://arongahagan.com/automatic-updates-loop-killer_438/#comments</comments>
		<pubDate>Sat, 19 Aug 2006 14:06:41 +0000</pubDate>
		<dc:creator>Aron</dc:creator>
				<category><![CDATA[code(ish)]]></category>

		<guid isPermaLink="false">http://arongahagan.com/?p=438</guid>
		<description><![CDATA[Hit by that annoying &#8220;Automatic Updates has encountered a problem and needs to close&#8221; loop when you start up your rig? Try the following: Create a new text document on your desktop, title it fixmyrig.bat, and drop the following code in it: net stop WuAuServ cd %windir% rd /s /q %windir%\SDold ren %windir%\SoftwareDistribution SDold net [...]]]></description>
			<content:encoded><![CDATA[<p>Hit by that annoying &#8220;Automatic Updates has encountered a problem and needs to close&#8221; loop when you start up your rig? Try the following:</p>
<ol>
<li>Create a new text document on your desktop, title it <em>fixmyrig.bat</em>, and drop the following code in it:<br />
<code>net stop WuAuServ<br />
cd %windir%<br />
rd /s /q %windir%\SDold<br />
ren %windir%\SoftwareDistribution SDold<br />
net start WuAuServ<br />
</code></li>
<li>Save it, close it, then double-click it to run it.</li>
<li>Restart your rig to see if it worked. It did for me!</li>
</ol>
<p>Hope this helps all you fine folks out there. If anyone wants/needs an explanation, let me know. Or follow the HT link just after this sentence. (HT: <a href="http://groups.google.com/group/microsoft.public.windowsupdate/browse_frm/thread/b6f27b9a848223a8/a3f99b091da237ca?lnk=st&#038;q=%22automatic+updates+has+encountered+a+problem%22&#038;rnum=4&#038;hl=en#a3f99b091da237ca">MichaelM</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://arongahagan.com/automatic-updates-loop-killer_438/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delayed Shutdown (Windows)</title>
		<link>http://arongahagan.com/delayed-shutdown-windows_191/</link>
		<comments>http://arongahagan.com/delayed-shutdown-windows_191/#comments</comments>
		<pubDate>Sun, 08 May 2005 04:18:36 +0000</pubDate>
		<dc:creator>Aron</dc:creator>
				<category><![CDATA[code(ish)]]></category>

		<guid isPermaLink="false">http://arongahagan.com/?p=191</guid>
		<description><![CDATA[Ever wanted to fall asleep to your mp3 playlist? Now you can. Here&#8217;s how: 1. create a new text file and type &#8216;shutdown -s -f -t 2000&#8242; 2. save it as &#8216;shutdown.bat&#8217; (no .txt file extentsion) somewhere convenient 3. click it to shutdown! Notes: - the -s means to shutdown the local pc - the [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to fall asleep to your mp3 playlist? Now you can. </p>
<p>Here&#8217;s how:<br />
1. create a new text file and type &#8216;shutdown -s -f -t 2000&#8242;<br />
2. save it as &#8216;shutdown.bat&#8217; (no .txt file extentsion) somewhere convenient<br />
3. click it to shutdown!</p>
<p><strong>Notes</strong>:<br />
- the -s means to shutdown the local pc<br />
- the -f means to force processes to shutdown without user intervention<br />
- the -t sets the time until shutdown, in <strike>milli</strike>seconds &#8211; change this to whatever you want. (2000=33 min. <strike>and</strike> [&#038;] change)<br />
- to stop the timer at any time before shutdown actually starts, hit Windows-R and type &#8216;command&#8217; when the command window pops up, just type &#8216;shutdown -a&#8217; (which means, &#8216;abort the shutdown.&#8217;) then hit enter. then type exit, and hit enter.</p>
<p>enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://arongahagan.com/delayed-shutdown-windows_191/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Duplicate Emails in Outlook 2002/2003</title>
		<link>http://arongahagan.com/delete-duplicate-emails-in-outlook-20022003_127/</link>
		<comments>http://arongahagan.com/delete-duplicate-emails-in-outlook-20022003_127/#comments</comments>
		<pubDate>Wed, 13 Apr 2005 21:20:09 +0000</pubDate>
		<dc:creator>Aron</dc:creator>
				<category><![CDATA[code(ish)]]></category>

		<guid isPermaLink="false">http://arongahagan.com/?p=127</guid>
		<description><![CDATA[Many people have problems with getting duplicate emails in Outlook 2002/2003. I don&#8217;t know why this happens, and I don&#8217;t know how to stop it from happening. However, I have modified some code I found (somewhere) that will loop through your Inbox (and subfolders) and delete any duplicate emails it finds. If you have a [...]]]></description>
			<content:encoded><![CDATA[<p>Many people have problems with getting duplicate emails in Outlook 2002/2003. I don&#8217;t know why this happens, and I don&#8217;t know how to stop it from happening.</p>
<p>However, I have modified some code I found (somewhere) that will loop through your Inbox (and subfolders) and delete any duplicate emails it finds.</p>
<p>If you have a lot of emails in your Inbox (or subfolders), it may take a few seconds (and your screen may go blank for a moment) &#8211; but don&#8217;t worry. It&#8217;s working hard to relieve your stress. It will run twice, each time notifying you of how many emails it has deleted. (Once seemed to miss a few here and there. Go figure.)</p>
<p>Copy and paste the code from <a href="http://arongahagan.com/code/deleteduplicateemails.txt">this file</a> into a New Module in Outlook. (In Outlook, hit Alt+F11, then Insert->Module.)</p>
<p>And, you&#8217;ll have to have macro security on low to run this macro.</p>
]]></content:encoded>
			<wfw:commentRss>http://arongahagan.com/delete-duplicate-emails-in-outlook-20022003_127/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook TimeSheet</title>
		<link>http://arongahagan.com/outlook-timesheet_115/</link>
		<comments>http://arongahagan.com/outlook-timesheet_115/#comments</comments>
		<pubDate>Fri, 08 Apr 2005 05:03:42 +0000</pubDate>
		<dc:creator>Aron</dc:creator>
				<category><![CDATA[code(ish)]]></category>

		<guid isPermaLink="false">http://arongahagan.com/?p=115</guid>
		<description><![CDATA[[UPDATE: This is no longer available for distribution--sorry. -AG 7.14.05] Just developed this little tool &#8211; &#8220;TimeSheet&#8221; &#8211; for a friend of mine. It loops through your calendar for a selected date range and outputs the total hours by category (or subject, company, location, whatever&#8211;I could change it for whatever you need). If you put [...]]]></description>
			<content:encoded><![CDATA[<p>[UPDATE: This is no longer available for distribution--sorry. -AG 7.14.05]</p>
<p>Just developed <a href="http://arongahagan.com/code/timesheet.htm">this little tool</a> &#8211; &#8220;TimeSheet&#8221; &#8211;  for a <a href="http://lukemiddleton.blogspot.com">friend</a> of mine. It loops through your calendar for a selected date range and outputs the total hours by category (or subject, company, location, whatever&#8211;I could change it for whatever you need).</p>
<p>If you put a client&#8217;s or project&#8217;s name in the &#8220;Categories&#8221; field, this would be a super easy way to track your work. It creates a printable report using a Post Item, which could be saved to a &#8216;clients&#8217; or &#8216;projects&#8217; folder as needed. </p>
<p>If you&#8217;d like me to customize this tool for you, sign in and leave a comment &#8211; I&#8217;ll keep your comment hidden and contact you via email. (There would be a nominal fee, depending on how much customization you&#8217;d need.)</p>
]]></content:encoded>
			<wfw:commentRss>http://arongahagan.com/outlook-timesheet_115/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Save and Strip Picture Attachments in Outlook</title>
		<link>http://arongahagan.com/save-and-strip-picture-attachments-in-outlook-2003_108/</link>
		<comments>http://arongahagan.com/save-and-strip-picture-attachments-in-outlook-2003_108/#comments</comments>
		<pubDate>Mon, 04 Apr 2005 19:17:35 +0000</pubDate>
		<dc:creator>Aron</dc:creator>
				<category><![CDATA[code(ish)]]></category>

		<guid isPermaLink="false">http://arongahagan.com/?p=108</guid>
		<description><![CDATA[Ever get an email with 24 pictures attached? Now you can click a button and save them all to the directory of your choice AND remove them from your inbox. This little VBA code will save the pictures to the directory you choose, remove the pictures from the email, append a permanent link to the [...]]]></description>
			<content:encoded><![CDATA[<p>Ever get an email with 24 pictures attached? </p>
<p>Now you can click a button and save them all to the directory of your choice AND remove them from your inbox. This little VBA code will save the pictures to the directory you choose, remove the pictures from the email, append a permanent link to the body of the email to the location of each picture on your hard drive (for later reference), and attach a very small blank text file to the email (for a complicated reason which I won&#8217;t go into.) The code works on multiple emails, but you&#8217;ll have to select the directory for each selected email. (If this is a problem, let me know, and I&#8217;ll change it for you.)</p>
<p>This is not reversible, so be careful about which directory you move your pictures to. The directory must be made prior to moving the pictures.</p>
<p>To do this:<br />
1. Paste the code from <a href="http://arongahagan.com/code/saveandstrippics.txt">saveandstrippics.txt</a>  into an Outlook code module and hit CTRL-S to save it.<br />
2. Select the email(s) from which you want to save and strip the pictures.<br />
3. Tools&#8211;>Modules&#8230;&#8211;>SaveAndStripPics.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://arongahagan.com/save-and-strip-picture-attachments-in-outlook-2003_108/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sick of Fax Numbers as Email in Outlook?</title>
		<link>http://arongahagan.com/fax-numbers-as-email-in-outlook-2003_107/</link>
		<comments>http://arongahagan.com/fax-numbers-as-email-in-outlook-2003_107/#comments</comments>
		<pubDate>Mon, 04 Apr 2005 18:42:16 +0000</pubDate>
		<dc:creator>Aron</dc:creator>
				<category><![CDATA[code(ish)]]></category>

		<guid isPermaLink="false">http://arongahagan.com/?p=107</guid>
		<description><![CDATA[Sick of seeing fax numbers as valid email addresses in Outlook 2003? This code will prepend &#8220;fax: &#8221; to all of the fax numbers in Outlook (BusinessFax, HomeFax, and OtherFax) so it won&#8217;t be recognized as a valid email address. To do this: 1. Copy the text from this file: fixfax.txt 2. Open Outlook and [...]]]></description>
			<content:encoded><![CDATA[<p>Sick of seeing fax numbers as valid email addresses in Outlook 2003? </p>
<p>This code will prepend &#8220;fax: &#8221; to all of the fax numbers in Outlook (BusinessFax, HomeFax, and OtherFax) so it won&#8217;t be recognized as a valid email address.</p>
<p>To do this:<br />
1. Copy the text from this file: <a href="http://arongahagan.com/code/fixfax.txt">fixfax.txt</a><br />
2. Open Outlook and hit ALT-F11 to open the Visual Basic Editor (VBE)<br />
3. Insert&#8211;>Module.<br />
4. Paste the code into the module and hit CTRL-S to save it.<br />
5. Go back to Outlook and view your contacst as a &#8220;Phone List&#8221;<br />
6. Select them all.<br />
7. Tool&#8211;>Macros&#8230;&#8211;>FixFax</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://arongahagan.com/fax-numbers-as-email-in-outlook-2003_107/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

