yalag Posted April 3, 2007 Share Posted April 3, 2007 Hi, I would like a macro that allows me to hold th key 1 and have it automatically repeats the 1 key every 0.2 seconds until I release the key. Is this possible? Thanks! Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 No. Programming-wise it is almost impossible to tell Windows that a key is being pressed really fast, while Windows actually knows that it is being held down. This is contradictory and thus not possible. github.com/jvanegmond Link to comment Share on other sites More sharing options...
yalag Posted April 3, 2007 Author Share Posted April 3, 2007 No. Programming-wise it is almost impossible to tell Windows that a key is being pressed really fast, while Windows actually knows that it is being held down. This is contradictory and thus not possible.What do you mean? sure you can just do a loop likewhile (key is still pressed){fire key;wait 0.2 seconds;}I just need the syntax and how to catch the up and down events Link to comment Share on other sites More sharing options...
jvanegmond Posted April 3, 2007 Share Posted April 3, 2007 No. Programming-wise it is almost impossible to tell Windows that a key is being pressed really fast, while Windows actually knows that it is being held down. This is contradictory and thus not possible. github.com/jvanegmond Link to comment Share on other sites More sharing options...
yalag Posted April 3, 2007 Author Share Posted April 3, 2007 No. Programming-wise it is almost impossible to tell Windows that a key is being pressed really fast, while Windows actually knows that it is being held down. This is contradictory and thus not possible.guess autoit sucks, this can be done with http://www.autohotkey.com/ o well Link to comment Share on other sites More sharing options...
Developers Jos Posted April 3, 2007 Developers Share Posted April 3, 2007 guess autoit sucks, this can be done with autohotkey\ o wellSure... goodbye .. 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...
Recommended Posts