Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Internet Poker > Software

Notices

Software Discussions about gambling-related and poker software.

Reply
 
Thread Tools Display Modes
Old 01-22-2011, 01:29 PM   #106
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Posts: 10,209
Re: Voice control with AHK scripts?

So I'm giving voice recognition (DNS v11) yet another try: have got myself a decent desk mounted microphone this time (this) so that I can't use "not finding the headphones" as an excuse to not bother using it

So far, I'm pretty impressed as DNS v11 seems to work pretty well with only a very minor amount of training (in the past I've tried/used v9 and v10, and v11 seems significantly better "out of the box").

I still haven't created any poker-based scripts with it yet, but I'm more hopeful after seeing it work (I just wish it would work with Firefox a bit better - it was only last week I finally decided I'd had enough of Internet Explorer and all its bugs and made the switch).

Juk

Last edited by jukofyork; 01-22-2011 at 01:33 PM. Reason: LOL, after reading this post back I'm not quite so sure if it's working well or not now, as it was full of typos :-(
jukofyork is offline   Reply With Quote
Old 01-24-2011, 03:54 PM   #107
centurion
 
Bartolomeo6's Avatar
 
Join Date: Feb 2010
Posts: 102
Re: Voice control with AHK scripts?

Hi, I'm using WSR + macros and TN... I had problem with Middle Mouse Button click... I like to use it as a shove (I mean without a bet), and would like to have a macro for saying like "ship it" as a Middle click and I found that in SendKeys it's {ClickMiddle} command, but it doesn't work... there is some kind of error. Any clues? Is it proper command for middle click button or it's impossible to have such a macro?

best regards
Bartolomeo6 is offline   Reply With Quote
Old 01-24-2011, 10:46 PM   #108
Pooh-Bah
 
aura's Avatar
 
Join Date: Aug 2005
Location: Emanating
Posts: 4,772
Re: Voice control with AHK scripts?

I haven't tried this, but it should work.

Code:
<speechMacros>
<command>
 
<listenFor>Ship it</listenFor>
<mouse command="click" button="middle"/> 
 
</command>
</speechMacros>
Good luck!
aura is offline   Reply With Quote
Old 01-25-2011, 03:16 PM   #109
centurion
 
Bartolomeo6's Avatar
 
Join Date: Feb 2010
Posts: 102
Re: Voice control with AHK scripts?

Quote:
Originally Posted by aura View Post
I haven't tried this, but it should work.

Code:
<speechMacros>
<command>
 
<listenFor>Ship it</listenFor>
<mouse command="click" button="middle"/> 
 
</command>
</speechMacros>
Good luck!
Yeah, cool indeed it works!!! thank you very much! to keep up the momentum - is it possible to make macro for XButtons or maybe wheelUP/WheelDown ? would be great...

thanks for help anyway, see ya
Bartolomeo6 is offline   Reply With Quote
Old 01-26-2011, 01:36 AM   #110
Pooh-Bah
 
aura's Avatar
 
Join Date: Aug 2005
Location: Emanating
Posts: 4,772
Re: Voice control with AHK scripts?

Quote:
Yeah, cool indeed it works!!! thank you very much!
You're welcome.

Here's one for double clicking.
Code:
<speechMacros>
<command>
 
<listenFor>double click</listenFor>
<mouse button="left" command="dblclick"/> 
 
</command>
</speechMacros>
I couldn't figure out how to scroll up/down using the mouse or the xbuttons with macros, but you can easily use arrow keys or pgup/pgdn macros.

Pretty much everything a mouse can do can be done by keys (except some clicking stuff).

If what you need this for is to increase/decrease your bet, I just set TNFT for a key combo in "bet sizing" & have a macro for it.

Here's what I have for increasing the bet by one BB.

TNFT set for <alt> + Up

I then set up a send keys macro with the voice command "more chips" & the same code as TNFT, which is {{ALT}}{UP} for the macro.

Hope that helps. :-)




edit: jukofyork, you might want to read this thread for more lols. Enjoy!

Last edited by aura; 01-26-2011 at 01:50 AM. Reason: (I'm not ghey)
aura is offline   Reply With Quote
Old 01-26-2011, 01:41 AM   #111
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Posts: 10,209
Re: Voice control with AHK scripts?

aura, LOLing at your avatar Some of those "durrr-ete" pictures are just WRONG!

Juk
jukofyork is offline   Reply With Quote
Old 02-12-2011, 10:51 AM   #112
centurion
 
Join Date: Jul 2004
Posts: 174
Re: Voice control with AHK scripts?

Hi,

Im using windows speech recognition software and macros and cant figure out how to move the mouse pointer to a specific table. i can cycle them using TN but this is too slow when ten tabling.

I would like to just say 1, 7, 2 etc to correspond to a particular table, my tables are always in the same spot as i use placemint.

Any ideas how to program a macro for this?

Thanks Paul.

Last edited by simpsp31; 02-12-2011 at 11:12 AM.
simpsp31 is offline   Reply With Quote
Old 02-12-2011, 01:30 PM   #113
Pooh-Bah
 
aura's Avatar
 
Join Date: Aug 2005
Location: Emanating
Posts: 4,772
Re: Voice control with AHK scripts?

^^^^^ If you're just using macros, then this should work.

Code:
<speechMacros>
<command>
 
<listenFor>one fold</listenFor>
<mouse button="left" command="click" position="65536,65536" positionStyle="virtual" /> 
 
</command>
</speechMacros>
The position is wrong here. That should click in the bottom right of your screen.

You can get your specific x and y positions (the "65536" numbers in the code) with AHK's windowspy.

So you could have commands for folding/checking/betting on each table if you want.

I know there's an AHK script that has a nifty little gui. It is easily configurable and will do the same thing (click on a position on the screen when a key combo is pushed). I'll try to find it later today.

This should get you started anyways.

Good luck!
aura is offline   Reply With Quote
Old 02-12-2011, 02:12 PM   #114
Pooh-Bah
 
aura's Avatar
 
Join Date: Aug 2005
Location: Emanating
Posts: 4,772
Re: Voice control with AHK scripts?

Found the script.

I edited it to add more possible positions.

The gui tells you how to do it, but I'll explain a bit.

Code:
; M2Moo's Mouse Clicker 
; AHK Script version 1, Sept. 24, 2009 
; By Michael J. Moore
; Released under  GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

; AHK (AutoHotKey) Script for recording a mouse location and replaying mouse movements to 
; the recorded location or clicks on that location

; Usage:
;  Type charaters 'r' or 't' to record a mouse location 1 or 2 respectively. 
;  Type charaters 'f' or 'g' to move back to location 1 or 2 respectively. 
;  Type charaters 'v' or 'b' to click at location 1 or 2 respectively.


;make coordinates relative to the screen
CoordMode,Mouse,Screen

; The GUI:
Gui, +AlwaysOnTop
Gui, Add, Text,, Type  q, w, e, r, z, x, c, v, p, o, i, or u to record a mouse location. 
Gui, Add, Text,, Type ^q, ^w, ^e, ^r, ^z, ^x, ^c, ^p, ^o, ^i, or ^u to move back to that location. 
Gui, Add, Text,, Type !q, !w, !e, !r, !z, !x, !c, !p, !o, !i, or !u to click at that location.
Gui, Add, Text,, Mouse QX:
Gui, Add, Text,, Mouse QY:
Gui, Add, Text,, Mouse WX:
Gui, Add, Text,, Mouse WY:
Gui, Add, Text,, Mouse EX:
Gui, Add, Text,, Mouse EY:
Gui, Add, Text,, Mouse RX:
Gui, Add, Text,, Mouse RY:
Gui, Add, Text,, Mouse ZX:
Gui, Add, Text,, Mouse ZY:
Gui, Add, Text,, Mouse XX:
Gui, Add, Text,, Mouse XY:
Gui, Add, Text,, Mouse CX:
Gui, Add, Text,, Mouse CY:
Gui, Add, Text,, Mouse VX:
Gui, Add, Text,, Mouse VY:
Gui, Add, Text,, Mouse PX:
Gui, Add, Text,, Mouse PY:
Gui, Add, Text,, Mouse OX:
Gui, Add, Text,, Mouse OY:
Gui, Add, Text,, Mouse IX:
Gui, Add, Text,, Mouse IY:
Gui, Add, Text,, Mouse UX:
Gui, Add, Text,, Mouse UY:
Gui, Add, Text,ym, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Text,, 
Gui, Add, Edit, vQX , 100
Gui, Add, Edit, vQY , 100
Gui, Add, Edit, vWX , 100
Gui, Add, Edit, vWY, 100
Gui, Add, Edit, vEX, 100
Gui, Add, Edit, vEY, 100
Gui, Add, Edit, vRX , 100
Gui, Add, Edit, vRY , 100
Gui, Add, Edit, vZX , 100
Gui, Add, Edit, vZY, 100
Gui, Add, Edit, vXX, 100
Gui, Add, Edit, vXY, 100
Gui, Add, Edit, vCX , 100
Gui, Add, Edit, vCY , 100
Gui, Add, Edit, vVX, 100
Gui, Add, Edit, vVY, 100
Gui, Add, Edit, vPX , 100
Gui, Add, Edit, vPY, 100
Gui, Add, Edit, vOX, 100
Gui, Add, Edit, vOY, 100
Gui, Add, Edit, vIX , 100
Gui, Add, Edit, vIY , 100
Gui, Add, Edit, vUX , 100
Gui, Add, Edit, vUY, 100
Gui, Add, Button, default, Exit  ; Run ButtonExit when the button is pressed.
Gui, Show,, M2Moo's click recorder
return  ; End of auto-execute section. The script is idle until the user does something.

ButtonExit:
GuiClose:
ExitApp 

q:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, QX, %xpos%
GuiControl,, QY, %ypos%
return

^q:: 
Gui, Submit, NoHide 
MouseMove,  %QX%, %QY%
return

!q:: 
Gui, Submit, NoHide 
Click %QX%, %QY%
return

w:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, WX, %xpos%
GuiControl,, WY, %ypos%
return

^w:: 
Gui, Submit, NoHide 
MouseMove,  %WX%, %WY%
return

!w:: 
Gui, Submit, NoHide 
Click %WX%, %WY%
return

e:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, EX, %xpos%
GuiControl,, EY, %ypos%
return

^e:: 
Gui, Submit, NoHide 
MouseMove,  %EX%, %EY%
return

!e:: 
Gui, Submit, NoHide 
Click %EX%, %EY%
return

r:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, RX, %xpos%
GuiControl,, RY, %ypos%
return

^r:: 
Gui, Submit, NoHide 
MouseMove,  %RX%, %RY%
return

!r:: 
Gui, Submit, NoHide 
Click %RX%, %RY%
return

z:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, ZX, %xpos%
GuiControl,, ZY, %ypos%
return

^z:: 
Gui, Submit, NoHide 
MouseMove,  %ZX%, %ZY%
return

!z:: 
Gui, Submit, NoHide 
Click %ZX%, %ZY%
return

x:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, XX, %xpos%
GuiControl,, XY, %ypos%
return

^x:: 
Gui, Submit, NoHide 
MouseMove,  %XX%, %XY%
return

!x:: 
Gui, Submit, NoHide 
Click %XX%, %XY%
return

c:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, CX, %xpos%
GuiControl,, CY, %ypos%
return

^c:: 
Gui, Submit, NoHide 
MouseMove,  %CX%, %CY%
return

!c:: 
Gui, Submit, NoHide 
Click %CX%, %CY%
return

v:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, VX, %xpos%
GuiControl,, VY, %ypos%
return

^v:: 
Gui, Submit, NoHide 
MouseMove,  %VX%, %VY%
return

!v:: 
Gui, Submit, NoHide 
Click %VX%, %VY%
return

p:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, PX, %xpos%
GuiControl,, PY, %ypos%
return

^p:: 
Gui, Submit, NoHide 
MouseMove,  %PX%, %PY%
return

!p:: 
Gui, Submit, NoHide 
Click %PX%, %PY%
return

o:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, OX, %xpos%
GuiControl,, OY, %ypos%
return

^o:: 
Gui, Submit, NoHide 
MouseMove,  %OX%, %OY%
return

!o:: 
Gui, Submit, NoHide 
Click %OX%, %OY%
return

i:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, IX, %xpos%
GuiControl,, IY, %ypos%
return

^i:: 
Gui, Submit, NoHide 
MouseMove,  %IX%, %IY%
return

!i:: 
Gui, Submit, NoHide 
Click %IX%, %IY%
return

u:: 
Gui, Submit, NoHide 
MouseGetPos, xpos, ypos 
GuiControl,, UX, %xpos%
GuiControl,, UY, %ypos%
return

^u:: 
Gui, Submit, NoHide 
MouseMove,  %UX%, %UY%
return

!u:: 
Gui, Submit, NoHide 
Click %UX%, %UY%
return
Put your mouse where you want to click.

Push "q". That sets your "q" position there.

Now, to go back there, you push control + q.
Also, if you want to click there, push alt + q. <--- you don't have to push ctrl + q to get there... just push alt + q and it'll get there and click.

Go to a different position and push "w".

Your combos are ctrl + w and alt + w.

Repeat as necessary.


All you have to do then is to use the same key combo in a WSR macro.

Easy peasy!


One caveat! It makes sense that you will not be able to type a "q" without setting the new position for "q"!!! An easy solution is to change that command (like make it ctrl + alt + q or something). All you need to do is "edit script" by right clicking it in explorer. I recommend using notepad++ for this.


Good luck!
aura is offline   Reply With Quote
Old 02-13-2011, 08:52 AM   #115
centurion
 
Join Date: Jul 2004
Posts: 174
Re: Voice control with AHK scripts?

Aura,

Thanks for these but i've run into problems with both, i can get the speech macros to work for the first table in the upper left hand corner but it doesnt seem to work for any other coordinates on the monitor (30inch max 2560x1600 extended desktop).

The second script works fine when setting it up but i cant find a save button to save the coordinates, it just resets to zero when restarted.

Appreciate any help you can give me on these.

Paul.
simpsp31 is offline   Reply With Quote
Old 02-13-2011, 10:48 AM   #116
centurion
 
Join Date: Jul 2004
Posts: 174
Re: Voice control with AHK scripts?

No worries, I just entered the coords manually in the script and it works perfectly.

Only problem is its far too hectic to 10 table, i dont think its feasible to play this many tables properly using voice.

Thanks for your help.

Paul.
simpsp31 is offline   Reply With Quote
Old 02-13-2011, 11:08 AM   #117
newbie
 
Jeff_S's Avatar
 
Join Date: Jul 2009
Location: Reston, VA
Posts: 23
Re: Voice control with AHK scripts?

Quote:
Originally Posted by simpsp31 View Post
No worries, I just entered the coords manually in the script and it works perfectly.

Only problem is its far too hectic to 10 table, i dont think its feasible to play this many tables properly using voice.

Thanks for your help.

Paul.
Paul,

Just FYI, we have found there is certainly a limit to the number of tables you can play properly using voice. We have found 6 tables is just about the limit, but then again everyone is different. We combat the table switching issue by allowing the user to say "1" or "2" to jump to "Table 1" and "Table 2" etc, any savings in words helps. No question about it though, having to think what you want to say and then say it is significantly slower than hectically moving the mouse around and clicking or using keyboard shortcuts.

I've seen you tube videos of players playing 51 tables on Poker Stars so you know what ANYTHING is possible.

Jeff
Jeff_S is offline   Reply With Quote
Old 02-13-2011, 11:12 AM   #118
Pooh-Bah
 
aura's Avatar
 
Join Date: Aug 2005
Location: Emanating
Posts: 4,772
Re: Voice control with AHK scripts?

No problem.

Yeah, that's one thing about using your voice. It takes time to even say a few syllables, so that'll start backing things up when you're playing nine.

Four is easy as pie.... six is doable... and the more you add on, the harder it gets.

One thing not mentioned is- in TN there's the command to go to the next urgent table in line. I've found that this command really helps to sort of catch up if I'm behind.

"urgent" then appropriate command (fold/check/bet/etc.)
"urgent" + command

and repeat until you've caught up.

Voice is still pretty awesome as long as you have a number of tables that you can keep up with.

Glad to see that you are at least trying it.

I think people are missing out on something pretty cool (and practical) when they overlook this (voice controlled poker).


glgl

Last edited by aura; 02-13-2011 at 11:19 AM. Reason: Jeff came up with the 6 table comfortable max as well. :-)
aura is offline   Reply With Quote
Old 02-13-2011, 02:31 PM   #119
centurion
 
Join Date: Jul 2004
Posts: 174
Re: Voice control with AHK scripts?

Yeah i found 6 was fine, any more and you spend all your brain power on controlling the logisitics rather than cultivating reads etc. I could barely read my hand with 10 goining lol.

I was however very surprised how well the actual macro\TN\windows speech combo worked though, was very smooth and accurate up to 6 tables.

Again thanks for your help with this.
simpsp31 is offline   Reply With Quote
Old 04-12-2012, 09:51 AM   #120
enthusiast
 
Join Date: Oct 2009
Posts: 75
Re: Voice control with AHK scripts?

After reading this topic, I still dont understand a lot of it. Because of the introduction of Zoom poker I'm desperately looking for a voice recognition program. Offering 250$ for anyone who can get me a working solution. Please PM me
Stefan1983 is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 02:29 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive