Open Side Menu Go to the Top
Register
 for tiny AHK script  for tiny AHK script

11-20-2008 , 07:04 AM
I want something that presses the login button automatically as soon as it appears on party poker.

$25 to anyone who makes me one, or tells me of an existing script that works for the new party software.
 for tiny AHK script Quote
11-20-2008 , 08:05 AM
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.
 for tiny AHK script Quote
11-20-2008 , 08:55 AM
thanks, I'll try it now, please PM me shipping details
 for tiny AHK script Quote

      
m