| View previous topic :: View next topic |
| Author |
Message |
mpcluever
Joined: 23 Feb 2006 Posts: 22
|
Posted: Sun Oct 29, 2006 4:22 pm Post subject: how to make it wait for a mouse click |
|
|
I have two identical windows open and want to size them to each fit exactly half the screen vertically. i'm having problems with winactivate as they are both named the same. How can i make it wait for a mouseclick? that way i can run the script, click the first window and it would resize it, then click the next window and let it resize that one.
2nd question: how do i make a mouseclick in relation to the SCREEN and not the window?
Thanks for any help! you guys are the greatest! _________________ Matt P Cluever |
|
| Back to top |
|
 |
AiKscroll
Joined: 06 Jun 2005 Posts: 179 Location: Northern Virginia
|
Posted: Sun Oct 29, 2006 6:11 pm Post subject: |
|
|
| Code: |
CoordMode, Mouse, Screen
|
_________________ _AiK |
|
| Back to top |
|
 |
jps
Joined: 02 Sep 2006 Posts: 253 Location: Scotland
|
|
| Back to top |
|
 |
Carlol
Joined: 14 Aug 2006 Posts: 151 Location: CPH
|
Posted: Sun Oct 29, 2006 9:39 pm Post subject: |
|
|
2nd question: how do i make a mouseclick in relation to the SCREEN and not the window?
>>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<<
On Screen: 971, 274 (less often used)
In Active Window: 970, 248
from Window Spy, which comes with the AHK packet!  |
|
| Back to top |
|
 |
.AHK
Joined: 26 Apr 2006 Posts: 662 Location: USA
|
Posted: Sun Oct 29, 2006 10:45 pm Post subject: |
|
|
| Quote: |
2nd question: how do i make a mouseclick in relation to the SCREEN and not the window? |
AiKscroll already answered that.
| Code: |
CoordMode, Mouse, Screen
|
|
|
| Back to top |
|
 |
|