Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-21-2007, 01:00 PM
LD123 LD123 is offline
Member
 
Join Date: Nov 2006
Posts: 77
Default 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.
Reply With Quote
  #2  
Old 09-22-2007, 02:01 AM
LD123 LD123 is offline
Member
 
Join Date: Nov 2006
Posts: 77
Default 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
Reply With Quote
  #3  
Old 09-22-2007, 03:12 AM
LD123 LD123 is offline
Member
 
Join Date: Nov 2006
Posts: 77
Default 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?
Reply With Quote
  #4  
Old 09-22-2007, 03:45 AM
Jehaim Jehaim is offline
Senior Member
 
Join Date: Nov 2005
Location: His love is everlasting
Posts: 3,375
Default 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
Reply With Quote
  #5  
Old 09-22-2007, 09:57 AM
LD123 LD123 is offline
Member
 
Join Date: Nov 2006
Posts: 77
Default 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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.