View Single Post
  #2  
Old 03-31-2007, 09:41 AM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default 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 />
Reply With Quote