Home > Software engineering >  Looking for # class
Looking for # class

Time:11-10

School arrange online classes but I don't want to but I know that our class teacher class school teacher classroom ID range but I how to random number input in the computer consciously let him help me find my only need to determine whether I want to go to class.
In this window will disappear after each input into the input ID class

CodePudding user response:

Use clswindow framework can a few lines of code,
 Dim w As New clsWindow 
If w.G etWindowByTitle (" open class ", 1). The Hwnd & lt;> 0 Then
W.F ocus
SendKeys "100140792" & amp; VbTab & amp; VbCrLf
End the If

At the bottom of the complete code for reference: https://www.kancloud.cn/sysdzw/clswindow/1525000 have a complete engineering package download,

CodePudding user response:

Before he automatically fill in the code I not have to repeatedly enter random number?

CodePudding user response:

1/f, reference version of reply:
use clswindow framework can a few lines of code,
 Dim w As New clsWindow 
If w.G etWindowByTitle (" open class ", 1). The Hwnd & lt;> 0 Then
W.F ocus
SendKeys "100140792" & amp; VbTab & amp; VbCrLf
End the If

At the bottom of the complete code for reference: https://www.kancloud.cn/sysdzw/clswindow/1525000 to download a complete engineering package,

Before he automatically fill in the code I not have to repeatedly enter random number?

CodePudding user response:

You know what is the scope? From 1000 to 2000, then loop 1000 times test ok, but if the number is too big then the test time is too long,
  • Related