Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

iPoker folding script

  • 11-05-2007 1:57am
    #1
    Registered Users, Registered Users 2 Posts: 2,364 ✭✭✭


    Those with a middle mouse button might find this useful. Script to check/fold you if you click middle mouse button on any iPoker window.

    To use downloaded and open iPoker.exe. After you can quit it by right-clicking the icon in bottom right of your screen.

    I've only tried it on one client, don't know if the buttons are in different places on other clients.

    Here's the script if you want to modify it. Anyone know how to get input from a mouse wheel in AutoIt? Could make raising easier if I could do that.

    edit: bug;it will fold you when you return to a table if you have clicked middle button outside table.
    fixed
    edit2: it now checks you when possible.
    #include <Misc.au3>
    $dll = DllOpen("user32.dll")
    
    ; Main procedural program below
    While 1
    
    	; Fold if centerbutton clicked on window
    	If _IsPressed("04", $dll) Then
    	foldCurrent()
    	EndIf
    	Sleep ( 20 )
    WEnd	
    
    ;Folds the current window
    Func foldCurrent()
    	MouseUp("middle")
    	; Only do this if we are in a poker window
    	AutoItSetOption("WinTitleMatchMode", 2)
    	If WinActive(" - $") Then
    		; Get the current mouse position so we can return to it after
    		$mPos = MouseGetPos()
    		; Get the position of the current active window
    		$pos = WinGetPos("")
    		MouseClick ( "left" , $pos[0]+254, $pos[1]+522 , 1 , 0 ) ; main fold
    		Sleep ( 10 )
    		MouseClick ( "left" , $pos[0]+254, $pos[1]+550 , 1 , 0 ) ; check/fold
    		Sleep ( 15 )
    		MouseClick ( "left" , $pos[0]+367, $pos[1]+425 , 1 , 0 ) ; press check option if we pressed fold when we can check
    		;MouseClick ( "left" , $pos[0]+245, $pos[1]+585 , 1 , 0 );fold to ANY BET BUTTON
    		; Move mouse back to initial position
    		MouseMove($mPos[0] , $mPos[1],0)
    	EndIf
    EndFunc
    
    
    
    
    Use at your own risk, don't blame me if it folds your aces.


Comments

  • Closed Accounts Posts: 1,639 ✭✭✭[nicK]


    i have no use for the above but fair play to you for all the work your doing adding various tools to the ipoker network..
    keep up the good work buddy!


  • Registered Users, Registered Users 2 Posts: 2,364 ✭✭✭Mr. Flibble


    No worries. I just made it for myself and decided to put it up.

    Does anyone know of any other scripts for iPoker out there? I did a search but only found a 2&2 thread with phantom_lord pleading for one :o


  • Registered Users, Registered Users 2 Posts: 3,042 ✭✭✭slegs


    Does it work when the third button is the mouse wheel i.e. When you click the mouse wheel instead of rolling it?


  • Registered Users, Registered Users 2 Posts: 2,364 ✭✭✭Mr. Flibble


    slegs wrote:
    Does it work when the third button is the mouse wheel i.e. When you click the mouse wheel instead of rolling it?
    I'm gonna guess yes. I've only tried it on my apple mightymouse. The mouse wheel is the 3rd button on that so I guess its the same for all mice like that.


Advertisement