Jump to content

Detect zero input


Recommended Posts

Anyone know of a simple way to detect if there is no keys or mouse buttons being pressed ?

i can do it but only with a long loop to check each key in turn but i dont want to look at each key to test for zero input cos its uPro hungry.

im sure i must have missed something simple. trying to build a simple screen saver and having fun learning

any help would be great.

Thx for your time,

JackDinn

Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

Link to comment
Share on other sites

Anyone know of a simple way to detect if there is no keys or mouse buttons being pressed ?

i can do it but only with a long loop to check each key in turn but i dont want to look at each key to test for zero input cos its uPro hungry.

im sure i must have missed something simple. trying to build a simple screen saver and having fun learning

any help would be great.

Thx for your time,

JackDinn

Check out the _CheckIdle() function in the code quoted here: http://www.autoitscript.com/forum/index.ph...st&p=343430
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...