Falcon213 Posted June 21, 2008 Posted June 21, 2008 (edited) I am trying write a script that would prevent the foreground application from receiving the mouse 4 button, while sending it to another. The problem though, is that there doesn't seem to be any way to capture or send and event from mouse buttons beyond left, right, and middle. I have noticed that there are some "key" assignments for {BROWSER_BACK} and {BROWSER_FORWARD}, however these do not seem to work for my use. The very basic version of what I tried: HotKeySet("{BROWSER_BACK}", "myfunc") ;should be set to MB4? While(True) ;keep running until forced to stop Sleep(100) WEnd Func myfunc () ControlSend("otherapp", "", "", "{BROWSER_BACK}") ;By default the HotKey key is thrown out, so send it where I want it to go instead EndFunc So does something exist to represent MB4 and MB5? TIA Edited June 21, 2008 by Falcon213
Falcon213 Posted June 21, 2008 Author Posted June 21, 2008 Look in help file for the function IsPressed()Hrm I even read something about that function yet somehow passed it up.Thanks!
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