Hello, and welcome to FTR.
Yes, you are correct, ControlClick will click at specified co-ordinates without moving the mouse pointer. So, try this:
Code:Esc:: MouseGetPos,,,win ControlClick, x188 y365, ahk_id %win% return
|
06-20-2012 06:07 PM
#1
| |
![]()
|
|
|
06-20-2012 10:02 PM
#2
| |
Hello, and welcome to FTR. | |
Last edited by Rage2100; 06-20-2012 at 10:16 PM. | |
|
06-21-2012 12:12 AM
#3
| |
![]()
|
Thanks. |
|
06-22-2012 12:10 PM
#4
| |
![]()
|
How difficult is it to make a script for the bet slider, were it increases/decreases the bet size by a small bb?. I have tried in the past but they havent turned out to great and planned on using you script to see if I could make one out of that. |
Last edited by LoneGoose; 06-22-2012 at 05:31 PM. | |
|
06-22-2012 08:57 PM
#5
| |
I don't play at Ongame, but I will try and help you out. | |
Last edited by Rage2100; 06-22-2012 at 11:06 PM. | |
|
06-23-2012 12:34 AM
#6
| |
![]()
|
This is what Win Spy said: |
Last edited by LoneGoose; 06-23-2012 at 12:46 AM. | |
|
06-23-2012 10:28 AM
#7
| |
Ok, it looks like the bet box doesn't show a class name, so you will have to copy the contents of the bet box to the clipboard, add a value to it, and then paste the new value back into the bet box. | |
|
06-23-2012 07:34 PM
#8
| |
![]()
|
Thanks for that, it works a treat, I changed the bit for the wheelup/wheeldown from click to control click cause it was dragging my cursor again, and thought that might be the reason why I cant get my hotkeys to work, so I just went back to your original code and again couldn't get any of my hotkeys to work. This is what the script looks like so far: |
|
06-24-2012 10:57 AM
#9
| |
I'm not sure why your hotkeys don't work. Have you got another script running that uses the same hotkeys? Or maybe the poker client uses certain hotkeys of its own. Anyway, the code for increasing and decreasing the bet size using ControlClick is below. | |
|
06-24-2012 05:37 PM
#10
| |
![]()
|
Damn sorry about that, I forgot all about that on Ongame they have F1,F2 and F3 as hotkeys, that will be why it kept making that funny lil noise |
Last edited by LoneGoose; 06-24-2012 at 05:51 PM. | |
|
06-25-2012 10:09 AM
#11
| |
The script needs to know what value to use for the BB and SB, so you cannot have two different values for each. | |
|
All content © 2003 - 2013 FlopTurnRiver.com |
Advertising |
Partners |
Testimonials |
T & C |
Contact Us |
FTR News & Press |
Site Map |
Search FTR
|
![]() |
| This is not a gambling website. |