frixionburne Posted May 5, 2007 Share Posted May 5, 2007 I need to enable a script when the mouse enters a certain area of the screen. For example: while the mouse is outside a certain box in the lower left/ right/ whatever corner of the screen, the rightclick button acts as it usually would, when the mouse enters that area, the rightclick becomes a function hotkey (hotclick?). Link to comment Share on other sites More sharing options...
xcal Posted May 5, 2007 Share Posted May 5, 2007 MouseGetPos() to check where the mouse is. WinActive() to see if the desktop is focused. _IsPressed() to see if the right mouse button is clicked. How To Ask Questions The Smart Way 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