Home > Software engineering >  How to do the EXE "customer number" and "password" trading in the paste to anoth
How to do the EXE "customer number" and "password" trading in the paste to anoth

Time:11-20

How to do the EXE "customer number" and "password" trading in the paste to another EXE program?



CodePudding user response:

Need to code annotated, thank you teacher!

CodePudding user response:

Trading, basic no problem, but the password input box, it is to use the "safety control", estimates that you are no keyboard, not to mention the code to operate,

CodePudding user response:

Correct once, reply on the second floor should be:

customer number basic no problem, but...

CodePudding user response:

Can solve customer number is done, thank you

CodePudding user response:

SetWindowText

CodePudding user response:

refer to the second floor Chen8013 response:
trading, basic no problem, but the password input box, it is to use the "safety control", estimates that you are no keyboard, let alone code to operate,

Agree,
Unless driven typing a manipulator,

CodePudding user response:

Sendkeys try
What do you want to be automated trading plugins?
As the personage inside course of study to tell you, the client the order of the plugin to produce backend monitoring, it is easy to identify, then each month passed,

CodePudding user response:

The personage inside course of study or reference

CodePudding user response:

I need to recommend clswindow again,
It needs two or three lines,

 Dim w As New clsWindow 
W.G etWindowByTitleEx (" new era "). SetElementTextByClassName "Edit", "12345678"
Baron etElementTextByClassName "Edit", "8888888", 2


Relevant information reference: https://blog.csdn.net/sysdzw/article/details/9083313

CodePudding user response:

references 9 f sysdzw response:
I need to recommend clswindow again,
It needs two or three lines,

 Dim w As New clsWindow 
W.G etWindowByTitleEx (" new era "). SetElementTextByClassName "Edit", "12345678"
Baron etElementTextByClassName "Edit", "8888888", 2


Relevant information reference: https://blog.csdn.net/sysdzw/article/details/9083313

"Transaction password" on the control class is AfxWnd421, not Edit,


I estimate the general code operation method, impossible to input,
Don't know with some "of" the underlying operating interface can input,

CodePudding user response:

references to the tenth floor Chen8013 response:
Quote: references 9 f sysdzw response:

I need to recommend clswindow again,
It needs two or three lines,

 Dim w As New clsWindow 
W.G etWindowByTitleEx (" new era "). SetElementTextByClassName "Edit", "12345678"
Baron etElementTextByClassName "Edit", "8888888", 2


Relevant information reference: https://blog.csdn.net/sysdzw/article/details/9083313

"Transaction password" on the control class is AfxWnd421, not Edit,


I estimate the general code operation method, impossible to input,
Don't know with some "of" the underlying operating interface can input,
I am here to carry forward clswindow, these details are not my concern

CodePudding user response:

11 references sysdzw response:
Quote: reference to the tenth floor Chen8013 response:

Quote: references 9 floor sysdzw response:

I need to recommend clswindow again,
It needs two or three lines,

 Dim w As New clsWindow 
W.G etWindowByTitleEx (" new era "). SetElementTextByClassName "Edit", "12345678"
Baron etElementTextByClassName "Edit", "8888888", 2


Relevant information reference: https://blog.csdn.net/sysdzw/article/details/9083313

"Transaction password" on the control class is AfxWnd421, not Edit,


I estimate the general code operation method, impossible to input,
Don't know with some "of" the underlying operating interface can input,
I am here to carry forward clswindow, these details are not my concern

CodePudding user response:

With autoHotKey can fix
Account:=1111111111
Trading password:=666666
Communication password:=2330
Wintitle:="ahk_class # 32770
"Wintitle IfWinExist, % %
{
ControlSetText Edit1, account % %
ControlSetText AfxWnd421, trade password % %
ControlSetText Edit2, communication password % %
ControlClick, for the
}

CodePudding user response:

The
reference 13 floor cicnmg126 reply:
with autoHotKey can fix
Account:=1111111111
Trading password:=666666
Communication password:=2330
Wintitle:="ahk_class # 32770
"Wintitle IfWinExist, % %
{
ControlSetText Edit1, account % %
ControlSetText AfxWnd421, trade password % %
ControlSetText Edit2, communication password % %
ControlClick, for the
}


Can use autoHotKey fix, VB6 certainly can fix, by means of the API operations



In addition, I think you said "subclass name" is a bit odd:
1. Enter account control, should be a Simple style of the Combo Box, it "embedded" an edit Box;
Enter "captcha" controls, should also edit box;
Their "class name" should be "Edit", can't understand why would be Edit1 and Edit2!
2. "sure" and "cancel", is a command button, is obviously "similar controls,"
Their "class name" should be "Button", can't understand why would be "for" and "Button2"!

Especially the two command button, you're unlike "subclass name" is the name of the class, it is like "controls",
nullnullnullnullnullnullnullnullnull
  •  Tags:  
  • API
  • Related