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
  #11  
Old 12-05-2006, 09:53 PM
ferb ferb is offline
Senior Member
 
Join Date: Jul 2004
Location: $55
Posts: 347
Default Re: Fix for party auto timebank script?

Only working for SNGs?
Reply With Quote
  #12  
Old 12-06-2006, 01:14 PM
K䲰䮥n K䲰䮥n is offline
Senior Member
 
Join Date: May 2006
Posts: 3,616
Default Re: Fix for party auto timebank script?

[ QUOTE ]
Only working for SNGs?

[/ QUOTE ]

Ok that's strike two. I really need to ask you. Stupid or lazy?
Reply With Quote
  #13  
Old 12-06-2006, 05:33 PM
ferb ferb is offline
Senior Member
 
Join Date: Jul 2004
Location: $55
Posts: 347
Default Re: Fix for party auto timebank script?

Both.
Reply With Quote
  #14  
Old 01-12-2007, 02:19 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: Fix for party auto timebank script?

[ QUOTE ]
I got it! This works now.



#Persistent
#SingleInstance Ignore
#NoEnv

checkfield = AfxWnd42u37 ; AfxWnd42u37 is timebank control
LobbyWindowTitle = Poker Lobby ; identify poker lobby substring
TableWindowTitle = Buy-in. ; identify pokertable substring
interval = 1000 ; period between refreshes

Loop
{
TableIDList(LobbyId())
Sleep %interval%
}

LobbyId()
{
local rid
SetTitleMatchMode 2
WinGet, rid, ID, %LobbyWindowTitle%
return rid
}

TableIDList(lobbyID)
{
local pid,rlist,this_id,name,result
SetTitleMatchMode 2
WinGet, pid, PID, ahk_id%lobbyID%
WinGet, rlist, LIST, %TableWindowTitle% ahk_pid%pid%
Loop %rlist%
{
this_id := rlist%a_index%
If this_id != %lobbyID%
{
WinGetTitle, name, ahk_id%this_id%
ControlGet, result, Visible, , %checkfield%, ahk_id%this_id%
if (result)
{
ControlClick %checkfield%, ahk_id%this_id% ;Click timebank
}
}
}
return
}

[/ QUOTE ]
Just a quick thanks for making this work again! Just moved back to Party today and as luck would have it on the day they added back the 12 table limit, so this is kinda essential now.

Anyway, thanks again - Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #15  
Old 01-12-2007, 02:51 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: Fix for party auto timebank script?

I've added this script to the Overcards wiki. See here:

http://www.overcards.com/wiki/moin.c...tyAutoTimeBank

Juk [img]/images/graemlins/smile.gif[/img]
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 12:03 PM.


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