- Local time
- 12:44 PM
- Posts
- 3,172
- OS
- Windows 11 Pro
not in this case, as its already waiting for that window to populate (via title) and then sending the command to close it once populated. i only put pauses in there out of habbit. not really needed in this script.. even if you remove them, it wont close that any sooner... but if you do not use winwait/winclose, then yes that is what pauses are for. 1000 = 1 second.I will download the autohotkey and play with it. I assume in your code that what it instructs is:
(1) Run Outlook.exe
(2) Pause 200
(3) Wait for ID switch Canceled to load
(4) Pause 200
(5) Close ID switch Canceled popup
(6) Pause 200 and exit
If I'm close, if I change the Sleep 200 after the "WinClose, Identity Switch Cancelled command" to a lower number, say Winclose 50 or such, Would the popup disappear faster? Just curious....
My Computer
System One
-
- OS
- Windows 11 Pro