So, I have a script where I am using shell execute to open an excel file and a window security popup shows up saying to enter your network credentials. The issue I am having is that i am not able to send in the password in the input field. I have tried using win exists, win activate, winwaitactive to have focus on the window but it still doesnt work. It doesnt input the password. Here is the code I tried. The path to file is a network path in file explorer so I don’t know if that has anything to do with it.
Shell Execute
(“path to file”)
If Win Exists(“Windows Security”) Then
Sleep(2000)
Send(“password”)
EndIf
If not Win Exists(“Windows Security”) Then
Continue on
Endif