Maybe:
- enumerate the windows on the system
- find the one with the text "Windows Security"
- find it's children's HWND and search for the text fields
- SetWindowText (HWND, etc ... )
- Send a message to the "Ok" button
Tell us if it works or not ...
質問
I do: open start menu, run, nameofserver, then I get this:
How to pass two strings (user name and password), put them on the form login and then simulate an enter press? If I grant login, stop to test, if not continue to put the strings and try to enter.
How can I do that through a program in C, C++ or C#? Obviously is only academic, thanks in advance.
解決
Maybe:
Tell us if it works or not ...