Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Entering password automatically

11 views
Skip to first unread message

Ivan Denisovich

unread,
Apr 6, 2021, 3:16:09 PM4/6/21
to
Can someone please recommend a simple Windows 10 script which will cause the password to be entered into the relevant field when the program is started?

Many thanks for all suggestions.

JJ

unread,
Apr 6, 2021, 9:39:14 PM4/6/21
to
It's not THAT simple. Scrips after all, are programs. And programs do things
very specifically. You'll have to provide more details.

Ivan Denisovich

unread,
Apr 7, 2021, 11:20:09 AM4/7/21
to

> It's not THAT simple. Scrips after all, are programs. And programs do things
> very specifically. You'll have to provide more details.

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.

JJ

unread,
Apr 7, 2021, 8:26:52 PM4/7/21
to
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.

Ivan Denisovich

unread,
Apr 8, 2021, 11:58:50 AM4/8/21
to

> 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.

OK, should the sendkeys command be used for this?

Thanks again for your help.
0 new messages