<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Pimping Microsoft Outlook</title>
	<atom:link href="http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/</link>
	<description>A blog on my latest adventures, pictures, and travels</description>
	<lastBuildDate>Sat, 14 Aug 2010 01:30:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Julian</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-15600</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Fri, 25 Jun 2010 11:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-15600</guid>
		<description>Can I ask about something specific that is a problem for me?

My company has obtained an email archiving system that replaces the archive functionality in Outlook 2003 client and beyond (the standard Archive menu item shows as &quot;Disabled by your system administrator&quot; in the File menu for instance). 

This new archiving system will archive all items older than 90 days and put them into a folder which is actually remote on the archiving server.  This folder is seen under my mailbox root and is called EV.  In fact there are a number of sub-folders under this EV folder that pertain to a number of years that the contents will be retained - yes, this system is a document retention system primarily.  These sub folders are named like 001 Year or 003 years or 010 years etc.

My beef is that I get so much email that my email quota is exceeded in about three weeks so I want to be able to archive all items older than say 21 days into a folder of the same name which will reside under one of the sub folders I mentioned above.  In this case, I want to use the &quot;010 Years&quot; sub folder to archive everything to.

So the logic would be:

Search through all emails in all sub-folders of the mailbox (except the EV folder).
If an email was received 21 days or more ago, move the email to a folder of the same name beneath the Mailbox-&gt;EV folder while respecting any folder hierarchy.

i.e. if an email received 22 days ago is found in he folder Mailbox-&gt;Finance-&gt;Monthly Stuff then it should be moved to exist in the folder Mailbox_&gt;EV-&gt;010 Years-&gt;Finance-&gt;Monthly Stuff .

Do this until all folders have been looked into and all messages meeting the age criteria have been located and moved.

Has anyone got this functionality they can offer?

Thanks.

Julian</description>
		<content:encoded><![CDATA[<p>Can I ask about something specific that is a problem for me?</p>
<p>My company has obtained an email archiving system that replaces the archive functionality in Outlook 2003 client and beyond (the standard Archive menu item shows as &#8220;Disabled by your system administrator&#8221; in the File menu for instance). </p>
<p>This new archiving system will archive all items older than 90 days and put them into a folder which is actually remote on the archiving server.  This folder is seen under my mailbox root and is called EV.  In fact there are a number of sub-folders under this EV folder that pertain to a number of years that the contents will be retained &#8211; yes, this system is a document retention system primarily.  These sub folders are named like 001 Year or 003 years or 010 years etc.</p>
<p>My beef is that I get so much email that my email quota is exceeded in about three weeks so I want to be able to archive all items older than say 21 days into a folder of the same name which will reside under one of the sub folders I mentioned above.  In this case, I want to use the &#8220;010 Years&#8221; sub folder to archive everything to.</p>
<p>So the logic would be:</p>
<p>Search through all emails in all sub-folders of the mailbox (except the EV folder).<br />
If an email was received 21 days or more ago, move the email to a folder of the same name beneath the Mailbox-&gt;EV folder while respecting any folder hierarchy.</p>
<p>i.e. if an email received 22 days ago is found in he folder Mailbox-&gt;Finance-&gt;Monthly Stuff then it should be moved to exist in the folder Mailbox_&gt;EV-&gt;010 Years-&gt;Finance-&gt;Monthly Stuff .</p>
<p>Do this until all folders have been looked into and all messages meeting the age criteria have been located and moved.</p>
<p>Has anyone got this functionality they can offer?</p>
<p>Thanks.</p>
<p>Julian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-15275</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Tue, 15 Jun 2010 20:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-15275</guid>
		<description>Moderator:  Sorry, didn&#039;t intend to paste all that code, just a snippet surrounded by code tags!

By the way, thanks for the code, it makes my email management process a breeze!</description>
		<content:encoded><![CDATA[<p>Moderator:  Sorry, didn&#8217;t intend to paste all that code, just a snippet surrounded by code tags!</p>
<p>By the way, thanks for the code, it makes my email management process a breeze!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drew</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-15273</link>
		<dc:creator>Drew</dc:creator>
		<pubDate>Tue, 15 Jun 2010 20:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-15273</guid>
		<description>I have also put together a modified version of the code for Outlook 2010, adding the SUPERGRID2 control to the list.  However, I took a different approach than Peter and was able to keep the &quot;archiving&quot; portion working.  Instead of using the macro code, I made a Quick Step that moved the current message to the folder of my choice and marked it read.  It was a lot easier to set up.  I only then had to change the autohotkey script to run CTRL-SHIFT-1 to send the selected messages to the archive folder.</description>
		<content:encoded><![CDATA[<p>I have also put together a modified version of the code for Outlook 2010, adding the SUPERGRID2 control to the list.  However, I took a different approach than Peter and was able to keep the &#8220;archiving&#8221; portion working.  Instead of using the macro code, I made a Quick Step that moved the current message to the folder of my choice and marked it read.  It was a lot easier to set up.  I only then had to change the autohotkey script to run CTRL-SHIFT-1 to send the selected messages to the archive folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-14130</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 21 Apr 2010 19:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-14130</guid>
		<description>Thanks Peter. I&#039;ll get around to testing and updating this code for Outlook 2010 soon enough. Just haven&#039;t had the time and am not yet running 2010 as my main environment.

Also, I added spaces between elements of the ctrlList variable above (so that it would wrap properly). People might need to remove them if using the code.</description>
		<content:encoded><![CDATA[<p>Thanks Peter. I&#8217;ll get around to testing and updating this code for Outlook 2010 soon enough. Just haven&#8217;t had the time and am not yet running 2010 as my main environment.</p>
<p>Also, I added spaces between elements of the ctrlList variable above (so that it would wrap properly). People might need to remove them if using the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Tyrrell</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-14129</link>
		<dc:creator>Peter Tyrrell</dc:creator>
		<pubDate>Wed, 21 Apr 2010 18:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-14129</guid>
		<description>I modified the AHK scirpt to make it work with Outlook 2010 on Windows 7. I added a SUPERGRID2 control to the list, and modified some special key mappings, e.g. Reply is CTRL-R not ALT-R. Can&#039;t find a shortcut for the archive macro, though.

;********************
;Hotkeys for Outlook 2010
;********************

;As best I can tell, the window text &#039;NUIDocumentWindow&#039; is not present 
;on any other items except the main window. Also, I look for the phrase
; &#039; - Microsoft Outlook&#039; in the title, which will not appear in the title (unless 
;a user types this string into the subject of a message or task).
#IfWinActive - Microsoft Outlook ahk_class rctrl_renwnd32, NUIDocumentWindow
	;y::HandleOutlookKeys(&quot;!.&quot;, &quot;y&quot;) ;calls archive macro 
	f::HandleOutlookKeys(&quot;^f&quot;, &quot;f&quot;) ;forwards message
	r::HandleOutlookKeys(&quot;^r&quot;, &quot;r&quot;) ;replies to message
	a::HandleOutlookKeys(&quot;^+r&quot;, &quot;a&quot;) ;reply all
	v::HandleOutlookKeys(&quot;^+v&quot;, &quot;v&quot;) ;Move message box
	+u::HandleOutlookKeys(&quot;^u&quot;, &quot;+u&quot;) ;marks messages as unread
	+i::HandleOutlookKeys(&quot;^q&quot;, &quot;+i&quot;) ;marks messages as read (^q is read/unread toggle)
	j::HandleOutlookKeys(&quot;{Down}&quot;, &quot;j&quot;) ;move down in list
	+j::HandleOutlookKeys(&quot;{Down}{Enter}&quot;, &quot;+j&quot;) ;move down and select next item
	k::HandleOutlookKeys(&quot;{Up}&quot;, &quot;k&quot;) ;move up
	+k::HandleOutlookKeys(&quot;{Up}{Enter}&quot;, &quot;+k&quot;) ;move up and select next item
	o::HandleOutlookKeys(&quot;^o&quot;, &quot;o&quot;) ;open message
	s::HandleOutlookKeys(&quot;{Insert}&quot;, &quot;s&quot;) ;toggle flag (star)
	c::HandleOutlookKeys(&quot;^n&quot;, &quot;c&quot;) ;new message
	/::HandleOutlookKeys(&quot;^e&quot;, &quot;/&quot;) ;focus search box
	.::HandleOutlookKeys(&quot;+{F10}&quot;, &quot;.&quot;) ;Display context menu
#IfWinActive

;Passes Outlook a special key combination for custom keystrokes or normal key value, depending on context
HandleOutlookKeys( specialKey, normalKey ) {
  ;Activates key only on main outlook window, not messages, tasks, contacts, etc. 
  IfWinActive, - Microsoft Outlook ahk_class rctrl_renwnd32, NUIDocumentWindow, ,
  {
  
     ;Find out which control in Outlook has focus
     ControlGetFocus, currentCtrl
     ;MsgBox, Control with focus = %currentCtrl%
        
     ;set list of controls that should respond to specialKey. Controls are the list of emails and the main (and minor) controls of the reading pane, including controls when viewing certain attachments.
     ;Currently I handle archiving when viewing attachments of Word, Excel, Powerpoint, Text, jpgs, pdfs
     ;The control &#039;RichEdit20WPT1&#039; (email subject line) is used extensively for inline editing. Thus it had to be removed. If an email&#039;s subject has focus, it won&#039;t archive...
     ctrlList = Acrobat Preview Window1, AfxWndW5, AfxWndW6, EXCEL71, MsoCommandBar1, OlkPicturePreviewer1, paneClassDC1, RichEdit20WPT2, RichEdit20WPT4, RichEdit20WPT5, RICHEDIT50W1, SUPERGRID1, SUPERGRID2, _WwG1
     
     if currentCtrl in %ctrlList%
     {
        Send %specialKey%
     ;Allow typing normalKey somewhere else in the main Outlook window. (Like the search field or the folder pane.)
     } else {
        Send %normalKey%
     }
     
  ;Allow typing normalKey in another window type within Outlook, like a mail message, task, appointment, etc.
  } else {
     Send %normalKey%
  }
}</description>
		<content:encoded><![CDATA[<p>I modified the AHK scirpt to make it work with Outlook 2010 on Windows 7. I added a SUPERGRID2 control to the list, and modified some special key mappings, e.g. Reply is CTRL-R not ALT-R. Can&#8217;t find a shortcut for the archive macro, though.</p>
<p>;********************<br />
;Hotkeys for Outlook 2010<br />
;********************</p>
<p>;As best I can tell, the window text &#8216;NUIDocumentWindow&#8217; is not present<br />
;on any other items except the main window. Also, I look for the phrase<br />
; &#8216; &#8211; Microsoft Outlook&#8217; in the title, which will not appear in the title (unless<br />
;a user types this string into the subject of a message or task).<br />
#IfWinActive &#8211; Microsoft Outlook ahk_class rctrl_renwnd32, NUIDocumentWindow<br />
	;y::HandleOutlookKeys(&#8220;!.&#8221;, &#8220;y&#8221;) ;calls archive macro<br />
	f::HandleOutlookKeys(&#8220;^f&#8221;, &#8220;f&#8221;) ;forwards message<br />
	r::HandleOutlookKeys(&#8220;^r&#8221;, &#8220;r&#8221;) ;replies to message<br />
	a::HandleOutlookKeys(&#8220;^+r&#8221;, &#8220;a&#8221;) ;reply all<br />
	v::HandleOutlookKeys(&#8220;^+v&#8221;, &#8220;v&#8221;) ;Move message box<br />
	+u::HandleOutlookKeys(&#8220;^u&#8221;, &#8220;+u&#8221;) ;marks messages as unread<br />
	+i::HandleOutlookKeys(&#8220;^q&#8221;, &#8220;+i&#8221;) ;marks messages as read (^q is read/unread toggle)<br />
	j::HandleOutlookKeys(&#8220;{Down}&#8221;, &#8220;j&#8221;) ;move down in list<br />
	+j::HandleOutlookKeys(&#8220;{Down}{Enter}&#8221;, &#8220;+j&#8221;) ;move down and select next item<br />
	k::HandleOutlookKeys(&#8220;{Up}&#8221;, &#8220;k&#8221;) ;move up<br />
	+k::HandleOutlookKeys(&#8220;{Up}{Enter}&#8221;, &#8220;+k&#8221;) ;move up and select next item<br />
	o::HandleOutlookKeys(&#8220;^o&#8221;, &#8220;o&#8221;) ;open message<br />
	s::HandleOutlookKeys(&#8220;{Insert}&#8221;, &#8220;s&#8221;) ;toggle flag (star)<br />
	c::HandleOutlookKeys(&#8220;^n&#8221;, &#8220;c&#8221;) ;new message<br />
	/::HandleOutlookKeys(&#8220;^e&#8221;, &#8220;/&#8221;) ;focus search box<br />
	.::HandleOutlookKeys(&#8220;+{F10}&#8221;, &#8220;.&#8221;) ;Display context menu<br />
#IfWinActive</p>
<p>;Passes Outlook a special key combination for custom keystrokes or normal key value, depending on context<br />
HandleOutlookKeys( specialKey, normalKey ) {<br />
  ;Activates key only on main outlook window, not messages, tasks, contacts, etc.<br />
  IfWinActive, &#8211; Microsoft Outlook ahk_class rctrl_renwnd32, NUIDocumentWindow, ,<br />
  {</p>
<p>     ;Find out which control in Outlook has focus<br />
     ControlGetFocus, currentCtrl<br />
     ;MsgBox, Control with focus = %currentCtrl%</p>
<p>     ;set list of controls that should respond to specialKey. Controls are the list of emails and the main (and minor) controls of the reading pane, including controls when viewing certain attachments.<br />
     ;Currently I handle archiving when viewing attachments of Word, Excel, Powerpoint, Text, jpgs, pdfs<br />
     ;The control &#8216;RichEdit20WPT1&#8242; (email subject line) is used extensively for inline editing. Thus it had to be removed. If an email&#8217;s subject has focus, it won&#8217;t archive&#8230;<br />
     ctrlList = Acrobat Preview Window1, AfxWndW5, AfxWndW6, EXCEL71, MsoCommandBar1, OlkPicturePreviewer1, paneClassDC1, RichEdit20WPT2, RichEdit20WPT4, RichEdit20WPT5, RICHEDIT50W1, SUPERGRID1, SUPERGRID2, _WwG1</p>
<p>     if currentCtrl in %ctrlList%<br />
     {<br />
        Send %specialKey%<br />
     ;Allow typing normalKey somewhere else in the main Outlook window. (Like the search field or the folder pane.)<br />
     } else {<br />
        Send %normalKey%<br />
     }</p>
<p>  ;Allow typing normalKey in another window type within Outlook, like a mail message, task, appointment, etc.<br />
  } else {<br />
     Send %normalKey%<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-12887</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Wed, 27 Jan 2010 17:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-12887</guid>
		<description>Sorry Alan. You&#039;d really have to ask Google (though of course I doubt they&#039;d give you the time of day...) I&#039;ve used it successfully with POP accounts, IMAP accounts on Gmail, and now Exchange accounts. The only thing I can think of is that Google Apps Sync is somehow &quot;listening&quot; for changes in a non-standard way. This is pure speculation of course.

One thing that might be interesting is if you could use the Outlook 2010 beta. If Google App Sync is compatible with it, Outlook 2010 has quick actions that you could customize to file messages away to your folder of choice. This would replace the macro part of the archive button. You could still use AHK to call the shortcut of this Outlook action, giving you a single key press to invoke. If that causes problems too, then there&#039;s nothing more I can think of besides ditching Google app sync or getting them to fix it.</description>
		<content:encoded><![CDATA[<p>Sorry Alan. You&#8217;d really have to ask Google (though of course I doubt they&#8217;d give you the time of day&#8230;) I&#8217;ve used it successfully with POP accounts, IMAP accounts on Gmail, and now Exchange accounts. The only thing I can think of is that Google Apps Sync is somehow &#8220;listening&#8221; for changes in a non-standard way. This is pure speculation of course.</p>
<p>One thing that might be interesting is if you could use the Outlook 2010 beta. If Google App Sync is compatible with it, Outlook 2010 has quick actions that you could customize to file messages away to your folder of choice. This would replace the macro part of the archive button. You could still use AHK to call the shortcut of this Outlook action, giving you a single key press to invoke. If that causes problems too, then there&#8217;s nothing more I can think of besides ditching Google app sync or getting them to fix it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-12886</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Wed, 27 Jan 2010 13:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-12886</guid>
		<description>I am using Google Apps Sync for Outlook. This Macro doesn&#039;t seem to play well with it. Email simply disappears. Anyone here have a solution?

I found a link here where someone had the same problem as me, but it seems they haven&#039;t found a fix.

http://www.experts-exchange.com/articles/Software/Office_Productivity/Groupware/Outlook/How-to-make-an-%27Archive%27-button-in-Outlook.html</description>
		<content:encoded><![CDATA[<p>I am using Google Apps Sync for Outlook. This Macro doesn&#8217;t seem to play well with it. Email simply disappears. Anyone here have a solution?</p>
<p>I found a link here where someone had the same problem as me, but it seems they haven&#8217;t found a fix.</p>
<p><a href="http://www.experts-exchange.com/articles/Software/Office_Productivity/Groupware/Outlook/How-to-make-an-%27Archive%27-button-in-Outlook.html" >http://www.experts-exchange.com/articles/Software/Office_Productivity/Groupware/Outlook/How-to-make-an-%27Archive%27-button-in-Outlook.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-12236</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Tue, 01 Dec 2009 18:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-12236</guid>
		<description>@gmmazza, to respond over a month after the question... I don&#039;t know. :) I don&#039;t use IMAP so I&#039;m afraid you&#039;re on your own if IMAP works differently in some way.</description>
		<content:encoded><![CDATA[<p>@gmmazza, to respond over a month after the question&#8230; I don&#8217;t know. <img src='http://www.ocellated.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I don&#8217;t use IMAP so I&#8217;m afraid you&#8217;re on your own if IMAP works differently in some way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam k</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-12081</link>
		<dc:creator>adam k</dc:creator>
		<pubDate>Wed, 04 Nov 2009 13:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-12081</guid>
		<description>this is a great script and definitely help with productivity when you live in outlook all day</description>
		<content:encoded><![CDATA[<p>this is a great script and definitely help with productivity when you live in outlook all day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gmmazza</title>
		<link>http://www.ocellated.com/2009/03/18/pimping-microsoft-outlook/comment-page-1/#comment-12012</link>
		<dc:creator>gmmazza</dc:creator>
		<pubDate>Mon, 26 Oct 2009 20:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocellated.com/?p=621#comment-12012</guid>
		<description>Hi Jay, I just installed the script to move files, I want to know if you have several imap inboxes and I want to move the message to the corresponding folder in each acount:
acount (top level folder) do [(&quot;top level folder&quot;.inbox to &quot;top level folder&quot;.archive&quot;)  
pe: acount work [(work.inbox) to (work.archive)]
acount personal [(personal.inbox) to (personal.archive)]

I found this: 

Set objFolder = objNS.Folders(&quot;Top-level folder&quot;).Folders(&quot;Nested folder&quot;)

That can work? I don&#039;t have any Idea of programming that&#039;s why I bother you.
Just get me a direction, I will try to discover what to do.
Thank you!</description>
		<content:encoded><![CDATA[<p>Hi Jay, I just installed the script to move files, I want to know if you have several imap inboxes and I want to move the message to the corresponding folder in each acount:<br />
acount (top level folder) do [("top level folder".inbox to "top level folder".archive")<br />
pe: acount work [(work.inbox) to (work.archive)]<br />
acount personal [(personal.inbox) to (personal.archive)]</p>
<p>I found this: </p>
<p>Set objFolder = objNS.Folders(&#8220;Top-level folder&#8221;).Folders(&#8220;Nested folder&#8221;)</p>
<p>That can work? I don&#8217;t have any Idea of programming that&#8217;s why I bother you.<br />
Just get me a direction, I will try to discover what to do.<br />
Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
