Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/NotifyWhenMicrosoftOutlookReminderWindowIsOpen.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,13 @@ Loop
outlookProcessName := (Settings.OutlookProcessName).Value
secondsToWaitForWindowToBeClosed := (Settings.SecondsBeforeAlertsAreReTriggeredWhenOutlookRemindersWindowIsStillOpen).Value

; Wait for a window with the matching Outlook reminders text in it's title to appear.
WinWait, %outlookRemindersWindowTitleTextToMatch%,

; Get the ID of the window if it does indeed belong to the Outlook process.
outlookRemindersWindowId := GetOutlookRemindersWindowId(outlookRemindersWindowTitleTextToMatch,outlookProcessName)

; If the found window doesn't belong to Outlook.exe, keep waiting for the actual Outlook reminders window.
if (outlookRemindersWindowId = 0)
{
Sleep, 10000
continue
}

Expand Down