Jump to content
Sign in to follow this  
James

Hooking mouse events

Recommended Posts

MikeP

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 by MikeP

Share this post


Link to post
Share on other sites
someone

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

Share this post


Link to post
Share on other sites
MikeP

Thanks ! I'll look into this when I got more time but it seems to fit our needs :)

Share this post


Link to post
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
Sign in to follow this  

×