Using GetMouse
Using GetMouse
I have a collection of about 15 buttons and in each I want to record the position of the cursor using GetMouseX & Y. I cannot figure out how to do this since when I click the TypeItIn button to run the macro, the cursor has to move off the position I want to save in order to click the TypeItIn button. So the variables always reference the position of the TII button. Assigning a hot key to run the TII macros is not an option; too cumbersome. How to solve?
Re: Using GetMouse
You can assign a shortcut key to the button to activate it.
In the Button Edit window, click on the Shortcut Key button to open the shortcut key window.
As an example, check the Alt and Control boxes and select A from the character list. Then click the Update Key button.
Close the shortcut key window and click the Close button to close the Button Edit window.
Now press the Control-Alt-A key combination to activate the button.
In the Button Edit window, click on the Shortcut Key button to open the shortcut key window.
As an example, check the Alt and Control boxes and select A from the character list. Then click the Update Key button.
Close the shortcut key window and click the Close button to close the Button Edit window.
Now press the Control-Alt-A key combination to activate the button.