computerguy4513 Posted August 24, 2021 Author Posted August 24, 2021 For anyone looking to resolve, here is the code I used: ;Sleep(5000) ;Windows Security Alert If Not WinWait('Windows Security Alert', "", 30) then Exit WinActivate('Windows Security Alert') WinWaitActive('Windows Security Alert') ControlClick('Windows Security Alert','','[CLASS:Button;INSTANCE:6]') Sleep(10000) If Not WinWait('Windows Security Alert', "", 30) Then Exit WinActivate('Windows Security Alert') WinWaitActive('Windows Security Alert') ControlClick('Windows Security Alert','','[CLASS:Button;INSTANCE:6]') Sleep(2000) If WinWait('Windows Security Alert', "", 10) = 0 then exit Exit
Nine Posted August 24, 2021 Posted August 24, 2021 I do not believe you need the third attempt. Although it does not hurt. Glad to see your issue was solved. Please mark it as is. Thanks. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
JockoDundee Posted August 24, 2021 Posted August 24, 2021 1 hour ago, Nine said: Please mark it as is. Please sign my book Code hard, but don’t hard code...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now