View Single Post
  #4  
Old April 8th 21, 01:26 AM posted to microsoft.public.windowsxp.help_and_support
JJ[_14_]
external usenet poster
 
Posts: 46
Default Entering password automatically

On Wed, 7 Apr 2021 08:20:07 -0700 (PDT), Ivan Denisovich wrote:

Thanks for replying. I have an active logon screen for an app I use. The
username is already entered. I need to enter the password.

The app links to Excel, so if it can be done from Excel script it would
be nice. If not I can use a Windows script via batch file.

Thanks again for helping me out.


Try using the limited GUI & keyboard automation functions of the
`WScript.Shell` object. i.e. activate the password dialog window, and send
the keystrokes for the password. Send keystrokes to navigate the dialog
input to make sure the input focus is on the password field.
Ads