PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   Windows XP Help and Support (http://www.pcbanter.net/forumdisplay.php?f=15)
-   -   Entering password automatically (http://www.pcbanter.net/showthread.php?t=1111283)

Ivan Denisovich April 6th 21 08:16 PM

Entering password automatically
 
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[_14_] April 7th 21 02:38 AM

Entering password automatically
 
On Tue, 6 Apr 2021 12:16:07 -0700 (PDT), Ivan Denisovich wrote:
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.


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 April 7th 21 04:20 PM

Entering password automatically
 

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[_14_] April 8th 21 01:26 AM

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.

Ivan Denisovich April 8th 21 04:58 PM

Entering password automatically
 

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.


All times are GMT +1. The time now is 11:03 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters