Hi
Here is the script you just have to edit the path to your Party client.
bye
Chris
Code:
; PartyAutoLogin v0.10
; Author: chris228 @ 2+2
; Date: 2008-11-20
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
CoordMode Mouse, Screen
DetectHiddenWindows On
DetectHiddenText On
;=========================
;======= Settings ========
;=========================
party_path:="D:\Temp\PartyGaming"
start_party:=1
;=========================
;======= Program =========
;=========================
if ( start_party = 1 )
{
Process Exist, PartyGaming.exe
if ( errorlevel = 0 )
run "%party_path%\PartyGaming.exe" -P=PartyPoker, "%party_path%"
}
WinWait Party Account Login ahk_class #32770
WinGet id, id, Party Account Login ahk_class #32770
WinActivate ahk_id%id%
WinGet controls, ControlList, ahk_id%id%
IfInstring controls, Button2
{
ControlSend Button2, {Space}, ahk_id%id%
return
}
else {
WinGetPos x, y, w, h, ahk_id%id%
MouseGetPos mx, my
x:=x+95*(w/570)
y:=y+153*(h/324)
Click %x%, %y%
MouseMove %mx%, %my%, 0
return
}
Last edited by chris228; 11-20-2008 at 08:10 AM.