AutoHotkey Community

It is currently May 27th, 2012, 9:44 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: October 29th, 2006, 4:22 pm 
Offline

Joined: February 23rd, 2006, 5:19 pm
Posts: 22
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 29th, 2006, 6:11 pm 
Offline

Joined: June 6th, 2005, 11:35 pm
Posts: 179
Location: Northern Virginia
Code:
KeyWait, LButton


Code:
CoordMode, Mouse, Screen

_________________
_AiK


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 29th, 2006, 9:16 pm 
Offline

Joined: September 2nd, 2006, 6:39 am
Posts: 279
Location: Scotland
Check out this,its pretty cool.
http://www.autohotkey.com/forum/viewtop ... 4807#84807


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 29th, 2006, 9:39 pm 
Offline

Joined: August 14th, 2006, 11:54 am
Posts: 163
Location: CPH
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! :-)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 29th, 2006, 10:45 pm 
Offline

Joined: April 26th, 2006, 4:10 am
Posts: 657
Location: New Mexico, USA
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Maestr0, XstatyK and 56 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group