1. #1
    hackerman1 is offline Moderator
    Join Date
    Dec 2008
    Location
    Sweden
    Posts
    1,525

    Default Notification for new emails in Outlook 2010

    Hi !


    Notification for new emails in Outlook 2010



    There is a builtin option for notification in Outlook 2010, but the problem is that itīs only visible for a very short time.
    If you are not looking at the computer when it shows, then you will not see that you have got new emails.


    I wrote a small program that fix the problem bý creating a permanent notification on your screen.
    It creates a new window that does not go away until you have acknowledged it by typing "Y" or "y",
    upper or lower-case doesnīt matter.
    This also means that you get a new "open window" below the screen, so if another windows hides the notification-windows
    you will still see it.
    If the notification-window is not your topmost window then you will have to select it before you type "Y".

    ------------------------------------------------------------------------
    @ECHO OFF
    SETLOCAL
    SETDOS/S0:0
    WINDOW /POS=30,-4,150,100
    COLOR BRI RED ON BRI YELLOW
    IF %EMAIL == YES EXIT
    IF EXIST "R:\NEW EMAIL.DAT" EXIT
    SET EMAIL=YES
    COPY/Q NUL > "R:\NEW EMAIL.DAT"
    :A
    CLS
    INKEY /K"Y" /P NEW EMAIL ! %%K
    ECHO.
    ECHO %K
    BEEP 0 18
    IF "%K" NE "Y" GOTO A
    DEL/Q "R:\NEW EMAIL.DAT"
    UNSET EMAIL
    EXIT
    [/CODE

    -------------------------------------------------------------------------

    save it as fx. "New email.btm"

    Note:
    this line controls where the window will be on the screen:WINDOW /POS=30,-4,150,100
    format is width, height, left, down

    The easiest way to change it is to run the bat-file so the windows popups, then drag the windows where you want it,
    then rightclick on the windowbar and select properties, under "Window position" you will see the coordinates
    then change the last 2 in the line

    you will have to change the path for "
    NEW EMAIL.DAT" in these two lines in the program to where you want to have the dat-file, maybe in your temp-folder...?

    COPY/Q NUL > "R:\NEW EMAIL.DAT"
    DEL/Q "R:\NEW EMAIL.DAT"

    And, since this is a BTM-file and not a BAT-file, you will need TCC/LE, the FREE version of Take Command,
    software available here: #1 Windows Command Prompt | Windows Console CMD Command Line

    Personally i prefer TCC over CMD since it has more commands, is more user-friendly and lets you do more advanced programming.
    Do not ask me how to do this in CMD...


    To enable the new notification in Outlok 2010:
    Files → Manage rules and alerts → New rule
    Click "Apply rule on messages i recieve"
    Scroll down
    Mark "On this computer only"
    Click "Next"
    Mark "Start application"
    If you want to play some soundfile also Mark "Play sound"
    In the lower window click "a sound"
    Navigate to and select the sound you want
    Click on "application"
    Change filtetype to "all files"
    Navigate to and select "New email.btm"
    Click "Next"
    In the exceptions-window click "Next"
    Name the rule
    Mark "Create this rule on all accounts"
    Click "Finish"
    Last edited by hackerman1; 18th April 2015 at 07:20.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Log in

Log in

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22