silveredge78
Joined: 25 Jul 2006 Posts: 481 Location: Midwest, USA
|
Posted: Thu Sep 21, 2006 10:54 pm Post subject: Adding Email to Junk Sender List in Outlook 2003 |
|
|
I get a lot of spam in my inbox. So I created these two hotkeys to quickly add emails to my Junk Sender List, and thus move them to my Junk E-mail folder.
Ctrl+Alt+F1 moves a single email.
Ctrl+Alt+F2 asks how many you want to move, and then moves them all. Note, to use this, they need to be consecutively all junk. As in, selecting the first of 40 spam emails that are all together in your email folder.
I have also limited the hotkey to only work in the main window of Outlook 2003 so as to not conflict with other hotkeys in other applications.
| Code: | #IfWinActive ahk_class rctrl_renwnd32 ; Outlook Main Window Only
^!F1::Send !ajb ; Add to Outlook Junk Email list
^!F2::
InputBox, Iterations, Block Sender, Enter the number of times to loop:
If ErrorLevel <> 0
Return
Loop
{
SendInput, !ajb ; Add to Outlook Junk Email list
If A_Index = %Iterations%
Break
}
Return
#IfWinActive
|
If you have any comments, please let me know. _________________ SilverEdge78 |
|