James Posted May 5, 2008 Posted May 5, 2008 Hi all,I have been trying to work out how to hook any mouse events. I specifically need the mouse wheel, which I know the key code for this is, 0x020A.James Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
MikeP Posted May 5, 2008 Posted May 5, 2008 (edited) I would need that too.. I've been doing a lot of research but couldn't get what I would need. In particular.. knowing how to use that function or finding examples would be nice but it seems impossible :#Include <WinAPI.au3> _WinAPI_Mouse_Event($iFlags[, $iX = 0[, $iY = 0[, $iData = 0[, $iExtraInfo = 0]]]])this function seems to have all we would need but returns .. nothing so I really dunnow how to use it. Edited May 5, 2008 by MikeP
James Posted May 5, 2008 Author Posted May 5, 2008 I've been looking for a while. I looked into converting VB6 code but even then there is a patch to fix it. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
someone Posted May 5, 2008 Posted May 5, 2008 I think the UDF MrCreatoR made will work for you. Looks cool I've been interested in trying it out While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd
MikeP Posted May 5, 2008 Posted May 5, 2008 Thanks ! I'll look into this when I got more time but it seems to fit our needs
James Posted May 5, 2008 Author Posted May 5, 2008 Thanks and it works without hooking an AutoIt GUI! Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
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