Home > Software engineering >  VB analog keyboard output text
VB analog keyboard output text

Time:04-18

Private Sub Timer1_Timer ()
SetCursorPos Text3. Text, Text4 Text 'positioning coordinates, I click on a notepad white space inside the
Mouse_event MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0
Mouse_event MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 'click the current focus
Timer2. Enabled=True
Timer1. Enabled=False
End Sub


I want to be a software is the contents of the frame the TEXT1, analog keyboard output

Such as: notepad is open, and then click start software will automatically locate the coordinates notepad, at that time, began to put my TEXT1 text in it, and output to the notepad, one by one,

  • Related