Open Side Menu Go to the Top

09-12-2012 , 08:44 AM
Hey guys,

So I'm a computer/scripting noob, I have been using this script for HEM1 for last couple years but I want to change to PT4, can someone adapt the script or is this not possible?

I have tried it and it does bring up the PTR page but not actually search person it says this in search box:

Player: zo***k5 on OnGame

The script is:

^q::
MouseGetPos
WinGetTitle title,ahk_class #32770
clipboard:= title
title:=title
WinClose, %title%
internetbrowser=C:\Users\wyvo\AppData\Local\Google \Chrome\Application\chrome.exe
ptr=http://www.pokertableratings.com/search.php?player=
url:=ptr . Clipboard

Run %internetbrowser% -new-tab "%url%"

Return

Willing to pay for your time!

Thanks

Last edited by wyvo; 09-12-2012 at 08:49 AM.
PTR auto script for PT4 Quote
PTR auto script for PT4
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
PTR auto script for PT4
09-12-2012 , 11:09 AM
what player does it search for? look in the browser window that pops up and copy and paste the URL that it takes you to

i'm guessing that this script was grabbing the player name from the HEM hud. so youll instead need to grab it from the PT4 hud, probably this line needs to be updated with a different classname:

WinGetTitle title,ahk_class #32770
PTR auto script for PT4 Quote
09-12-2012 , 11:34 AM
Quote:
Originally Posted by greg nice
what player does it search for? look in the browser window that pops up and copy and paste the URL that it takes you to

i'm guessing that this script was grabbing the player name from the HEM hud. so youll instead need to grab it from the PT4 hud, probably this line needs to be updated with a different classname:

WinGetTitle title,ahk_class #32770
yes it was grabbing from HEM notes section from HUD

http://www.pokertableratings.com/sea...%20on%20OnGame

that's what happens when i do the same cntrl Q in the PT4 notebox

thanks
PTR auto script for PT4 Quote
09-13-2012 , 08:17 PM
so now its grabbing this:

"Player: zosiek5 on OnGame"

no idea where thats coming from, you're gonna have to debug it and grab it from PT4s hud now instead
PTR auto script for PT4 Quote
09-20-2012 , 06:31 AM
not sure how to do that^^^

any1 able to help?
PTR auto script for PT4 Quote
10-09-2012 , 04:23 AM
still not managed to get this to work, can any1 help get this working?

thanks
PTR auto script for PT4 Quote
10-11-2012 , 10:10 PM
Try this:
Code:
#NoEnv 
SendMode Input 
#SingleInstance, force
^q::
MouseGetPos
WinGetTitle title,ahk_class #32770
WinClose, %title%
if (regexmatch(title, "Player:\s(.*?)\son\s", m))
{
  ;msgbox, %m1%
  ptr=http://www.pokertableratings.com/search.php?player=
  url:=ptr . m1
  ;msgbox, %url%
  internetbrowser=C:\Users\wyvo\AppData\Local\Google\Chrome\Application\chrome.exe
  Run %internetbrowser% -new-tab "%url%"
}

Return
let me know if it works or not, I have no PTR
PTR auto script for PT4 Quote
10-12-2012 , 10:01 AM
it works, awesome thanks alot
PTR auto script for PT4 Quote
PTR auto script for PT4
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
PTR auto script for PT4

      
m