#1
|
|||
|
|||
I need help mixing two scripts for Stars. Betpot and joystick/mouse
I have a 360 controller and I use it as a mouse using this script http://www.autohotkey.com/docs/scrip...stickMouse.htm
It turns the controller into a mouse. "A" is the left click button, "B" is the right click button, and up and down on the pad is the mouse wheel. I want to know how to combine this with the betpot script. I don't want all the functions of the betpot script though. I just want to have the "X" button click the "fold to any bet" button, I want "Y" to click "call" and I want left and right on the pad to increase the slider bar up or down a bet. There might be more buttons I want, or not these exact ones. I can't do all of it right now. Would this even be possible? I would need help though because I have no idea how to creat scripts and I would need help editing one. |
#2
|
|||
|
|||
Re: I need help mixing two scripts for Stars. Betpot and joystick/mouse
I figured out how to do it and it works, but it doesn't work when the poker table is the active window. It only works on the desktop and some windows for whatever reason.
If I have the poker table open and click "B" for raise, it will not move to the right position (675x750), it will move to the taskbar and click it for some reason, even though it's not set to move there. If I left click anywhere on the desktop to activate it, leaving the table open but not active, then press "B", it will click the raise button like I want it to. So, it only works when the active window is the desktop. I want it to click on the right spot no matter what windows are active or open. Does anyone know how I do that??? This is what I wrote in the bottom of my script to get the controller buttons to become hotkeys. I'm sure there is other stuff I gotta write, but I don't know what. joy2:: Click, 675, 700 joy3:: click, 15, 580 joy4:: click, 548, 700 joy5:: click, 675, 675 joy6:: click, 780, 675 joy7:: click, 400, 280 |
#3
|
|||
|
|||
Re: I need help mixing two scripts for Stars. Betpot and joystick/mouse
It works perfectly if I maximize the stars table window, but it won't work at it's default size, wtf?
|
#4
|
|||
|
|||
Re: I need help mixing two scripts for Stars. Betpot and joystick/mous
Put at the top:
Coordmode, Mouse, Screen (or maybe something else with coordmode --> www.autohotkey.com/docs/commands/CoordMode.htm |
#5
|
|||
|
|||
Re: I need help mixing two scripts for Stars. Betpot and joystick/mous
Thank you for trying to help, but I have tried that already.
I put that in there in different combinations too. So it looks like this. CoordMode, ToolTip, Screen joy2:: click, 675, 700 Anybody else know what to do? |
|
|