Outlook Reminder Sound Repeat Until Dismissed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

From: Crunch ([email protected])
I've tried a number of possible solutions that involve hooking onto
the Outlook Application.Reminder event, but they all had some
undesirable side-effects. The solution I finally came up with is most
definitely a kluge, but it works just fine.

Using AutoIt (http://www.hiddensoft.com/autoit3/) (I'm certain you can
do the same thing using WSH VBScript), I wrote the following script:

Opt("WinTitleMatchMode", 4)
While 1
$handle = WinGetHandle("classname=#32770", "Click Snooze to be
reminded again")
If Not @error Then
SoundPlay ( "E:\Data\Exchange\Waves\Big Ben Single Chime.wav" ,
1 )
EndIf
Sleep(30* 1000)
WEnd

It's just an endless loop that wakes up every 30 seconds and checks
for the existence of an Outlook Reminder window. If it finds one, it
plays a WAV file.

I start the script from my Windows Startup group and it just runs in
the background while I'm logged on. If a reminder pops up and is still
there 30 seconds later, it keeps playing my sound until the window
goes away.

- Alan G -
 
Back
Top