patgenn123 Posted July 11, 2008 Report Share Posted July 11, 2008 Hello all! I am working on a macro that needs to run if it is in a certain area. I don't want to use the ACTIVATION TAB Mouse click to trigger it. Rather I am running the macro every x seconds and if the mouse is there in that area, trigger the macro. How do I get a rectangular area covered in the macro? I looked at certain things, but couldn't find what I was looking for. It definately would be similar to the ACTIVATION tab with "left, top, right, bottom" coordinates, but I would like it similar to a mouse hover where it's triggered when the mouse is hovering there. Any ideas? Thanks! -P Quote Link to comment Share on other sites More sharing options...
kevin Posted July 11, 2008 Report Share Posted July 11, 2008 Use the Variable Set Integer %N1% from Mouse X Position and Variable Set Integer %N2% from Mouse Y Position commands and then use If Variable commands to see if the values are within the area you want. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.