fff111 Posted December 27, 2012 Share Posted December 27, 2012 I'm using visual basic 6 and I use autoitx3 Lib. Dim Command As New AutoItX3Lib.AutoItX3 Command.Send "h" sleep 100 Command.Send "e" sleep 100 Command.Send "l" sleep 100 Command.Send "l" sleep 100 Command.Send "o" When I put this code on a button click event, it works perfect but when I use another button, Command.Send "w" sleep 100 Command.Send "o" sleep 100 Command.Send "r" sleep 100 Command.Send "l" sleep 100 Command.Send "d" sleep 100 and put this codes on its click event, when I click the second button right after I clicked the first one, it waits for the "hello" to write "world". It's not like "hweolrllod". How can I do this? Link to comment Share on other sites More sharing options...
Developers Jos Posted December 27, 2012 Developers Share Posted December 27, 2012 and put this codes on its click event, when I click the second button right after I clicked the first one,This is an VB question and is working as designed. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
fff111 Posted December 27, 2012 Author Share Posted December 27, 2012 Can't autoit dll file handle more than 1 send key command? When I make hotkeys for typing "hello" and "world", when I trigger hello, than world, it's like this : helworld. The first one stops. Link to comment Share on other sites More sharing options...
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