Jump to content

Autoit Messes Up Keyboard/mouse After Quit


 Share

Recommended Posts

After I use my script made for autoit and after use quit it manually, my keyboard and mouse buttons don't do what they are suppose to. For instance, to open a file I double left click but instead it opens the files properties. For the most part keyboard buttons don't do anything but some act so strangely I don't really have any clue how the buttons do what they do lol. Only way to fix it is to restart my computer. I remember I only seen this happen a couple times when using autoit version .91, now with .93 I see it almost everytime I quit the scirpt. I have added quite a bit to my script since using .91 and it might be possible I'm quiting while autoit is doing something, but still it should not mess my keyboard and mouse up like this. Any clues what could cause autoit to do this? Is there anyway to reset keyboard/mouse controls without restarting windows?

Edited by ravenfyre
Link to comment
Share on other sites

Ok I think I tracked it down. I left the script running and kept on opening my computer to see if it would open or I would go to properties.

I noticed when the script went into the part of the script with DO/UNTIL, it messed up but once it left the DO/UNTIL loop then everything was fine. If I quit the script when it's during this loop then everything is still messed up and even when I rerun the script it does not fix this.

Please take a look at this because it is quite annoying. The only thing within my do/until loop is a If pixelcolor = Then command and exit command if the loop has repeated a number of times by using $count = $count +1.

Edited by ravenfyre
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...