<?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>Office Warfare &#187; Tool</title>
	<atom:link href="http://officewarfare.net/index.php/category/tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://officewarfare.net</link>
	<description>Articles and software about and for warring with your co-workers</description>
	<lastBuildDate>Thu, 01 Apr 2010 16:21:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Update to Window Hider (Kill Switch)</title>
		<link>http://officewarfare.net/index.php/update-to-window-hider-kill-switch/</link>
		<comments>http://officewarfare.net/index.php/update-to-window-hider-kill-switch/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 20:34:38 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=246</guid>
		<description><![CDATA[So I got to thinking the other day that another potentially nice feature for WindowHider would be a kill switch.  In case of course your boss knows you use WindowHider and comes by looking to see what you are up to, with then intention of double clicking on WindowHider in the task bar and choosing [...]]]></description>
			<content:encoded><![CDATA[<p>So I got to thinking the other day that another potentially nice feature for WindowHider would be a kill switch.  In case of course your boss knows you use WindowHider and comes by looking to see what you are up to, with then intention of double clicking on WindowHider in the task bar and choosing to show the windows.</p>
<p>So ofcource I went ahead and added a kill switch.  Go to the settings page and configure another key combonation, just like you do for the key combo to hide windows.  Then when that key combo is triggered any hidden windows will be closed and so will window hider itself.   Go ahead and download the newest version at the <a href="http://officewarfare.net/index.php/window-hider/">WindowHider page.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/update-to-window-hider-kill-switch/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Update to ArrangeByImage</title>
		<link>http://officewarfare.net/index.php/update-to-arrangebyimage/</link>
		<comments>http://officewarfare.net/index.php/update-to-arrangebyimage/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 21:57:57 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Offense]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=207</guid>
		<description><![CDATA[As I attempted to anoy those around me with ArrangeByImage today I realized one major flaw.  The original (now updated) code did nothing about the align to grid option on the desktop.  I fiddled a bit and found the style that sets that on the desktop and I am now removing &#8220;Align To Grid&#8221; when [...]]]></description>
			<content:encoded><![CDATA[<p>As I attempted to anoy those around me with ArrangeByImage today I realized one major flaw.  The original (now updated) code did nothing about the align to grid option on the desktop.  I fiddled a bit and found the style that sets that on the desktop and I am now removing &#8220;Align To Grid&#8221; when you run the program.  And in the interest of saving others the effort to find out how this is done here is a code snippet in c# / Win32API. Note this will actually work for any listview which is technically what the desktop is.</p>
<pre class="brush:c-sharp">
        [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]
        static extern IntPtr SendMessage(HandleRef hWnd, uint Msg, IntPtr wParam, IntPtr lParam);

        [DllImport("user32.dll", SetLastError = true)]
        static extern IntPtr FindWindow(string lpszClass, string lpszWindow);

        [DllImport("user32.dll", SetLastError = true)]
        static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow);

        const uint LVM_SETEXTENDEDLISTVIEWSTYLE = 4150;
        const uint LVM_GETEXTENDEDLISTVIEWSTYLE = 4151;
        const uint LVS_EX_SNAPTOGRID = 524288;

        private void turnOffSnapToGrid()
        {
            IntPtr programmanagerWindow = FindWindow(null, "Program Manager");
            IntPtr desktopWindow = FindWindowEx(programmanagerWindow, IntPtr.Zero, "SHELLDLL_DefView", null);
            IntPtr listviewWindow = FindWindowEx(desktopWindow, IntPtr.Zero, "SysListView32", null);
            HandleRef desktopReference = new HandleRef(null, listviewWindow);

            int CurrentSettings = (int) SendMessage(desktopReference, LVM_GETEXTENDEDLISTVIEWSTYLE, IntPtr.Zero, IntPtr.Zero);
            IntPtr ptr = new IntPtr(CurrentSettings &amp; ~LVS_EX_SNAPTOGRID);
            SendMessage(desktopReference, LVM_SETEXTENDEDLISTVIEWSTYLE, IntPtr.Zero, ptr);
        }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/update-to-arrangebyimage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated ArrangeByImage</title>
		<link>http://officewarfare.net/index.php/updated-arrangebyimage/</link>
		<comments>http://officewarfare.net/index.php/updated-arrangebyimage/#comments</comments>
		<pubDate>Sun, 31 May 2009 05:12:47 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Offense]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=202</guid>
		<description><![CDATA[Made an update to ArrangeByImage so it now supports command line switches.  This is in keeping with the general purpose of this site which is to annoy your co-workers.  Now you can run ArrangeByIcon on a friends computer and watch their confused face.  Have Fun!
]]></description>
			<content:encoded><![CDATA[<p>Made an update to ArrangeByImage so it now supports command line switches.  This is in keeping with the general purpose of this site which is to annoy your co-workers.  Now you can run ArrangeByIcon on a friends computer and watch their confused face.  Have Fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/updated-arrangebyimage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arrange By Image</title>
		<link>http://officewarfare.net/index.php/arrange-by-image/</link>
		<comments>http://officewarfare.net/index.php/arrange-by-image/#comments</comments>
		<pubDate>Sat, 30 May 2009 19:00:58 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=191</guid>
		<description><![CDATA[New app released, ArrangeByImage.  My co-worker Mike and I modified some code he found and came up with this.  Check out the link for full back story, screen shots,  and the app with source code.   ArrangeByImage allows you to arrange the icons on your desktop based on the black lines in a bitmap image.
]]></description>
			<content:encoded><![CDATA[<p>New app released, <a href="http://officewarfare.net/index.php/arange-by-image/">ArrangeByImage</a>.  My co-worker Mike and I modified some code he found and came up with this.  Check out the link for full back story, screen shots,  and the app with source code.   ArrangeByImage allows you to arrange the icons on your desktop based on the black lines in a bitmap image.</p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/arrange-by-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Major Update to Window Hider</title>
		<link>http://officewarfare.net/index.php/major-update-to-window-hider/</link>
		<comments>http://officewarfare.net/index.php/major-update-to-window-hider/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 17:36:28 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=174</guid>
		<description><![CDATA[I spent the last few days doing a major overhaul on Window Hider.  Rebuilt the GUI, added some features, and overall just beefed it up.  I also added a page dedicated to Window Hider since it is one of the most popular downloads.
I expanded the hot corner features a little to allow you to choose [...]]]></description>
			<content:encoded><![CDATA[<p>I spent the last few days doing a major overhaul on Window Hider.  Rebuilt the GUI, added some features, and overall just beefed it up.  I also added a <a href="http://officewarfare.net/index.php/window-hider/" target="_self">page</a> dedicated to Window Hider since it is one of the most popular downloads.</p>
<p>I expanded the hot corner features a little to allow you to choose if the hot corner will only hide the windows or if it will toggle hide and show.  I added this feature mostly because when you lock your computer it puts the mouse at 0,0 and will unhide your windows without your knowing it.  Also it is a little to easy to hit that corner on accident while your boss is standing there.  Set this feature on the settings page.</p>
<p>Second I added the ability to filter the processes based on their title.  So now you can have two copies of Internet Explorer for example, one with work on it and the other with hulu or some other favorite site.  The filter just looks to see if the title contains the string so partial strings work as well.  Further you can leave the process name field blank to just hide all processes by name.</p>
<p>Third I improved the process adding method.  Now there is a form that pops up and gathers information so you can more easily define what your looking for.  Also I added an icon on the add process dialog that when drug over the top of other windows will fill in the boxes with that windows process and title.</p>
<p><a href="http://officewarfare.net/index.php/window-hider/" target="_self">Check it out here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/major-update-to-window-hider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update to Window Hider</title>
		<link>http://officewarfare.net/index.php/update-to-window-hider/</link>
		<comments>http://officewarfare.net/index.php/update-to-window-hider/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 22:01:33 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=151</guid>
		<description><![CDATA[My boss is a bit more tech savvy than your average management employee and he also reads my website periodically and so he assumes, quite incorrectly i assure you, that I am always running Window Hider and misconstrues and frantic keyboard mashing when he enters the room as me attempting to hide things from him. [...]]]></description>
			<content:encoded><![CDATA[<p>My boss is a bit more tech savvy than your average management employee and he also reads my website periodically and so he assumes, quite incorrectly i assure you, that I am always running Window Hider and misconstrues and frantic keyboard mashing when he enters the room as me attempting to hide things from him.  Which got me thinking that while a key combo to hide/unhide your windows is a good idea it is also a bit noisy.  </p>
<p>My solution to the problem was to add a &#8220;hot corner&#8221;.  What that means is if you move your mouse to the upper left hand corner of the (primary) screen it will also trigger the hide/unhide mechanism.  This is a much quieter and stealthy operation.  This can of course be disable by a check box and it does nothing to interfere with the key combo to hide/unhide.  Anyways not much else to it so I present you with </p>
<p><a href='http://officewarfare.net/wp-content/uploads/2009/04/winhider11.zip'>WinHider1.1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/update-to-window-hider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update to owexec</title>
		<link>http://officewarfare.net/index.php/update-to-owexec/</link>
		<comments>http://officewarfare.net/index.php/update-to-owexec/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 15:59:24 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Offense]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=130</guid>
		<description><![CDATA[Made a couple small revision to owexec at the request of  readers.  PSEXEC has a flag that allows you to reference a local file and have PSEXEC copy it over to the destination which is kinda handy.  So I added the -copy flag to owexec.  If you add -copy to the command line then it [...]]]></description>
			<content:encoded><![CDATA[<p>Made a couple small revision to owexec at the request of  readers.  PSEXEC has a flag that allows you to reference a local file and have PSEXEC copy it over to the destination which is kinda handy.  So I added the -copy flag to owexec.  If you add -copy to the command line then it will find the file on the local computer and copy it over to the admin$ share on the destination computer.  Then execute it from there.  Not a terribly necessary flag but it can be helpful.  The second update is the flag -nowait which just makes it not ask you to press a key at the end before exiting.  Enjoy.</p>
<p><a href="http://officewarfare.net/index.php/owexec/">owexec page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/update-to-owexec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adjusting the volume from the command prompt</title>
		<link>http://officewarfare.net/index.php/adjusting-the-volume-from-the-command-prompt/</link>
		<comments>http://officewarfare.net/index.php/adjusting-the-volume-from-the-command-prompt/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 17:12:40 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Offense]]></category>
		<category><![CDATA[Skill - Basic]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=123</guid>
		<description><![CDATA[As requested via the tip line, a command line app to adjust the volume of a computer.  The general use for this is to copy it over to a computer and run it using psexec or owexec.  Then it is just as easy as doing the command
setvol &#60;volume percent&#62;
For example &#8220;setvol 100&#8243; or &#8220;setvol &#8220;10&#8243;.   [...]]]></description>
			<content:encoded><![CDATA[<p>As requested via the tip line, a command line app to adjust the volume of a computer.  The general use for this is to copy it over to a computer and run it using psexec or owexec.  Then it is just as easy as doing the command</p>
<p>setvol &lt;volume percent&gt;</p>
<p>For example &#8220;setvol 100&#8243; or &#8220;setvol &#8220;10&#8243;.   The program will accept just about anything on the command line, try to convert it to a number and set the volume with it.  Passing nothing will set the volume to 0 and passing strings has unpredictable results but will not error.  Also, this adjusts the Wave volume slider not the master slider so it is more difficult for the layman to fix the problem.</p>
<p><a href="http://officewarfare.net/wp-content/uploads/2009/04/setvol.zip">Download setvol here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/adjusting-the-volume-from-the-command-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>psexec running processes as another user (owexec)</title>
		<link>http://officewarfare.net/index.php/psexec-running-processes-as-another-user-owexec/</link>
		<comments>http://officewarfare.net/index.php/psexec-running-processes-as-another-user-owexec/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 21:20:33 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Offense]]></category>
		<category><![CDATA[Skill - Advanced]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=108</guid>
		<description><![CDATA[You may not know this but when you use PSEXEC to start a process on another persons computer the process belongs to you.  This has some interesting side effects as well as a few concerns.  First off the big concern is that since now the user has, in their control, a window of say Internet [...]]]></description>
			<content:encoded><![CDATA[<p>You may not know this but when you use PSEXEC to start a process on another persons computer the process belongs to you.  This has some interesting side effects as well as a few concerns.  First off the big concern is that since now the user has, in their control, a window of say Internet Explorer with your permissions attached to it, they can now browse to any network share you have access to with that window.  As a domain admin that is kinda scary.  So what we need is a way to run a process remotely as the user that is logged in locally.  I spent a bunch of time a few months back researching this and had built a solution for an application I wrote and then I promptly forgot about it.</p>
<p>However yesterday someone came across this site by searching &#8220;psexec run under currently logged in account&#8221; which got me thinking about it again, I figured if other people out there are interested I should take the code I have and make it useful for others, so I did.  I went ahead and wrote a PSEXEC like program that I lovingly called OWExec that allows you to start a process on a remote system in the context of one of the users logged in currently.</p>
<p>This program bears some explaining so I went ahead and made it its own page <a href="http://officewarfare.net/index.php/owexec/">here</a>, follow the link to download and for instructions on use.</p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/psexec-running-processes-as-another-user-owexec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Process Monitor</title>
		<link>http://officewarfare.net/index.php/process_monitor/</link>
		<comments>http://officewarfare.net/index.php/process_monitor/#comments</comments>
		<pubDate>Fri, 02 May 2008 20:05:50 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://officewarfare.net/?p=47</guid>
		<description><![CDATA[Welcome back folks, So I told you about monitoring processes but sometimes using a script isn&#8217;t so easy.  So I bring ProcessMonitor a tool for monitoring the new processes as they launch on your computer.  It monitors the processes and adds them to a list in a text box.  Most recent at the top.
Download Here
]]></description>
			<content:encoded><![CDATA[<p>Welcome back folks, So I told you about monitoring processes but sometimes using a script isn&#8217;t so easy.  So I bring ProcessMonitor a tool for monitoring the new processes as they launch on your computer.  It monitors the processes and adds them to a list in a text box.  Most recent at the top.</p>
<p><a title="Process Monitor" href="http://officewarfare.net/2008/05/02/processmanger/processmonitor/">Download Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officewarfare.net/index.php/process_monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
