Gnrsu Posted March 3, 2015 Share Posted March 3, 2015 how to make autoit script monitor keyboard or mouse to call a function? thanks Link to comment Share on other sites More sharing options...
JohnOne Posted March 3, 2015 Share Posted March 3, 2015 HotKeySet() _IsPressed() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Gianni Posted March 3, 2015 Share Posted March 3, 2015 also MouseGetPos() can be of use Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
TheDcoder Posted March 3, 2015 Share Posted March 3, 2015 IMO OP wants to learn AutoIt for similar tasks EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Gnrsu Posted March 4, 2015 Author Share Posted March 4, 2015 HotKeySet() _IsPressed() HotKeySet() worked, but I cann't see the IsPressed() function? Link to comment Share on other sites More sharing options...
Gnrsu Posted March 4, 2015 Author Share Posted March 4, 2015 also MouseGetPos() can be of use this function is really some far-fetched. Link to comment Share on other sites More sharing options...
Solution SadBunny Posted March 4, 2015 Solution Share Posted March 4, 2015 HotKeySet() worked, but I cann't see the IsPressed() function? It's not IsPressed but _IsPressed (includes the underscore). It's in Misc.au3. See: https://www.autoitscript.com/autoit3/docs/libfunctions/_IsPressed.htm Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
Gnrsu Posted March 5, 2015 Author Share Posted March 5, 2015 Thanks you all, I closed this post, my problem solved! 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