![]() |
|
#11
|
|||
|
|||
|
Sure, I will post my code when I get home. It is basically the code from the www.onlinepokerfaq.com website on mouseless poker, but modified by some if statements to determine what poker site you are on. Here is the code from onlinepokerfaq.com
; Fold 1:: ;MouseClick, left, 240, 474 ;Sleep, 100 MouseClick, left, 240, 474 Sleep, 100 return ; Check/Call 2:: ;MouseClick, left, 385, 474 ;Sleep, 100 MouseClick, left, 385, 474 Sleep, 100 return ; Bet/Raise 3:: ;MouseClick, left, 550, 474 ;Sleep, 100 MouseClick, left, 550, 474 Sleep, 100 return ; AutoPost 4:: MouseClick, left, 14, 533 Sleep, 100 return ; SitOut 5:: MouseClick, left, 14, 568 Sleep, 100 return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Define keys for relative motion to the right, to the left, etc. ; For example, "Numpad6" goes one window to the right. ; This depends on where the mouse starts. ; WindowLeft Numpad4:: CoordMode, Mouse, Relative MouseMove,-400,300 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return ; WindowDown Numpad2:: CoordMode, Mouse, Relative MouseMove,400,900 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return ; WindowRight Numpad6:: CoordMode, Mouse, Relative MouseMove,1200,300 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return ; WindowUp Numpad8:: CoordMode, Mouse, Relative MouseMove,400,-300 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Define keys for absolute mouse motion to a particular window. ; For example, "Numpad7" always goes to the upper-left window. ; This does not depend on where the mouse starts. ; WindowNW Numpad7:: CoordMode, Mouse, Screen MouseMove,400,300 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return ; WindowNE Numpad9:: CoordMode, Mouse, Screen MouseMove,1200,300 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return ; WindowSW Numpad1:: CoordMode, Mouse, Screen MouseMove,400,900 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return ; WindowSE Numpad3:: CoordMode, Mouse, Screen MouseMove,1200,900 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return Thanks for your help. I really don't even know where to put your code into this code. I tried putting after the SitOut command. Is this not the right location? Please help Jacob |
|
|