Last active
January 1, 2026 09:22
-
-
Save ajkessel/b382d5bb63dc5b9b17dc7f2ee8f9789f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; This AutoHotkey script looks for the popup that occurs in Microsoft Outlook when the user toggles the conversation view and automatically clicks "all mailboxes" | |
| ; It is intended to be called from https://gist.github.com/ajkessel/0124db8cf957a9591e604df18236dba8 | |
| #Requires AutoHotkey v2.0 | |
| #SingleInstance force | |
| SetControlDelay -1 | |
| count := 0 | |
| IsVisible := False | |
| sleep 10 | |
| while not IsVisible AND count < 100 { | |
| try { | |
| IsVisible := ControlGetVisible("All mailboxes","Microsoft Outlook") | |
| } catch { | |
| sleep 10 | |
| } | |
| count := count + 1 | |
| } | |
| try { | |
| ControlClick "All mailboxes","Microsoft Outlook" | |
| } catch { | |
| sleep 10 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment