Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2006, 01:28 PM
captainwan captainwan is offline
Senior Member
 
Join Date: Nov 2005
Posts: 128
Default ahk question

Does Autohotkeys functions like "MouseGetPos" for example support multiple monitors setup?
Reply With Quote
  #2  
Old 09-16-2006, 01:39 PM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default Re: ahk question

Good question. Adde?
Reply With Quote
  #3  
Old 09-16-2006, 06:57 PM
Sandra Bullett Sandra Bullett is offline
Senior Member
 
Join Date: Mar 2006
Posts: 135
Default Re: ahk question

<font class="small">Code:</font><hr /><pre>

coordmode, mouse, screen

loop
{

mousegetpos, xpos, ypos
msgbox,,, the mouse is at x%xpos% y%ypos%,1


}
</pre><hr />

returns values that shows it treats multiple monitors as one desktop, eg. x2600 y500
Reply With Quote
  #4  
Old 09-16-2006, 07:02 PM
Adde Adde is offline
Senior Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 2,453
Default Re: ahk question

I've never had any problems with MouseGetPos and two monitors. Treats it like Sandra says, as one desktop. Never tried with more than two though.

Adde
Reply With Quote
  #5  
Old 09-16-2006, 08:08 PM
captainwan captainwan is offline
Senior Member
 
Join Date: Nov 2005
Posts: 128
Default Re: ahk question

Thanks
Reply With Quote
  #6  
Old 09-16-2006, 09:04 PM
MrMoo MrMoo is offline
Senior Member
 
Join Date: Sep 2004
Location: Las Vegas
Posts: 750
Default Re: ahk question

If you're calculating specific coordinates, keep the SysGet command in mind. "SysGet, VirtualWidth, 78" will give you the full resolution of both monitors. Some multi monitor software can have different modes that can screw some stuff up.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.