mparo Posted February 6, 2021 Share Posted February 6, 2021 Hello, I am doing a program for a game and i want to block only the mouse input and let the keyboard open, so i can't use the BlockInput function. I have seen thread on the forum telling to use the _MouseTrap function, i tried it but this is nos convenient for what i want to do. I have seen a code on github wich seems to be good, but i don't really know how github works so i can't figure how to add the code in my scripts. I think i have to download something, but what do i need to download and where to place it ? If you got another solution feel free to share it, i'm all ears. Thank's for your time Link to comment Share on other sites More sharing options...
mparo Posted February 6, 2021 Author Share Posted February 6, 2021 I didn't find edit function, so i'm double posting, here's the github link i forgot to share : https://github.com/xwxbug/autoit-cn/blob/master/Examples/ACN/_BlockInputEx Example (Block Mouse only).au3 Link to comment Share on other sites More sharing options...
Developers Jos Posted February 6, 2021 Developers Share Posted February 6, 2021 Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team 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