danilo_vb Posted May 16, 2019 Posted May 16, 2019 Hi did not find much research... I have AutoItX3.dll and I am using visual basic ... My problem is from textbox key send and this key press down and press up... Send("{a down}") ;Holds the A key down Send("{a up}") ;Releases the A key Like the above code, but A will replace the textbox.
ozymandius257 Posted October 30, 2019 Posted October 30, 2019 Are you trying to send the key referred to by the textbox contents? - if so this should work... Dim KeyToSend As String = TextBox1.Text & " down" AutoItX.Send("{" & KeyToSend & "}") Threading.Thread.Sleep(1000) KeyToSend = TextBox1.Text & " up" AutoItX.Send("{" & KeyToSend & "}") Back up my hard drive? - I can't even find reverse gear.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now