Two Plus Two Newer Archives

Two Plus Two Newer Archives (http://archives1.twoplustwo.com/index.php)
-   Software (http://archives1.twoplustwo.com/forumdisplay.php?f=47)
-   -   retrieving partypoker windows that are outside of my screen limit (http://archives1.twoplustwo.com/showthread.php?t=368562)

Marnixvdb 03-31-2007 09:21 AM

retrieving partypoker windows that are outside of my screen limit
 
hello

im a a few tourneys and had to restart partypoker - but all of my tables except the first are being opened outside of my screen (2x 30").

I've had this problem before and used partyplanner and 'tile all' on the taskbar to retrieve them in the past, but neither are working now.

Any suggestions for how to get those windows to move those windows to my desktop area?

thanks a lot

Roland 03-31-2007 09:41 AM

Re: retrieving partypoker windows that are outside of my screen limit
 
Try the script below. You'll have to download my functions also.

<font class="small">Code:</font><hr /><pre> #NoEnv
#SingleInstance force
#Include %a_scriptDir%
#Include Functions.ahk

SetTimer, timer, 1000
return

timer:
tables:=tablesParty()
Loop, Parse, tables, `,
{ If isIn(a_loopfield, processed)
continue
WinGetPos, x, y,,, ahk_id%a_loopfield%
If ( y&gt;=a_screenheight || x&gt;=a_screenwidth )
WinMove, ahk_id%a_loopfield%,, 0, 0
processed:=addToList(processed, a_loopfield)
}
return </pre><hr />

Marnixvdb 03-31-2007 10:46 AM

Re: retrieving partypoker windows that are outside of my screen limit
 
Roland,

thanks a lot, it works perfect! Will save me a lot of tilt [img]/images/graemlins/wink.gif[/img]

Marnix

Roland 03-31-2007 11:02 AM

Re: retrieving partypoker windows that are outside of my screen limit
 
No prob. Btw, if you'd like the windows to be moved to a different location on the screen, just change the coords in the 'WinMove' line.

jukofyork 03-31-2007 11:47 AM

Re: retrieving partypoker windows that are outside of my screen limit
 
If you right click the taskbar menu and select "Move" you can use the cursor keys to move the window around also.

Juk [img]/images/graemlins/smile.gif[/img]


All times are GMT -4. The time now is 02:14 PM.

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