Home > Back-end >  Excuse me how my code can't auto login to the specified page? For a great god parsing.
Excuse me how my code can't auto login to the specified page? For a great god parsing.

Time:11-27

#include
#include
#include



Int main ()

{
Char user []="249274755";

Char password []="13537 GHHG";

ShellExecute (0, "open", "http://; Mail.qq.com ", ""," ", SW_SHOWNORMAL);

Sleep (4000);

SetCursorPos (1224, 330);

Mouse_event (MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0).

Mouse_event (MOUSEEVENTF_LEFTUP, 0, 0, 0, 0).

For (int I=0; i <9. I++)

{
Keybd_event (user [I], 0, 0, 0).

Keybd_event (user [I], 0, KEYEVENTF_KEYUP, 0).



}

Sleep (1000);


SetCursorPos (1242, 374);

Mouse_event (MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0).

Mouse_event (MOUSEEVENTF_LEFTUP, 0, 0, 0, 0).

For (int I=0; i <=9; I++)

{
Keybd_event (password [I], 0, 0, 0).

Keybd_event (KEYEVENTF_KEYUP password [I], 0, 0).



}

Sleep (1000);

SetCursorPos (1263, 471);

Mouse_event (MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0).

Mouse_event (MOUSEEVENTF_LEFTUP, 0, 0, 0, 0).




return 0;
}

CodePudding user response:

Question is why a corresponding website, web site open to the browser, the original poster with a command and did not call the browser

The principle of advice learn about web page open ~
  • Related