Select "Yes" from the security prompt while opening excel file

Get help with using AutoHotkey and its commands and hotkeys
deepathak07
Posts: 1
Joined: 25 Jun 2019, 10:51

Select "Yes" from the security prompt while opening excel file

25 Jun 2019, 12:27

Hello,

Could you please help me with a way to select "Yes" in the prompt mentioned in the attached screenshot?

I have tried the below script and it didn’t work

Code: Select all

SetTimer, dontsave, 5000
dontsave:
WinActivate, Microsoft Excel ahk_class NUIDialog
loop
{
Sleep, 500
ControlSend, !y, Microsoft Excel
ControlSend, !c, Microsoft Excel
Sleep, 156
}
return
Attachments
Capture.PNG
Capture.PNG (67.81 KiB) Viewed 208 times

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], yarsis and 207 guests