#1
|
|||
|
|||
Stars Buddy List AHK Script
I thought some people here might be interested in this, I've been using it for a few days and it's helped me a lot. As anyone who plays on Stars knows, they don't have a buddy list, which can make tracking fish a pain. I wrote a very simple ahk script that will go through a list of players line by line and search for that player. If it finds any of them online, it writes their name to a textfile. So, if you have a file of players names like so:
[ QUOTE ] Player1 Player2 Player3 [/ QUOTE ] in c:\buddies.txt (you can change the script to reflect whatever file you want to use), the script will search for all their names on stars. If, for example, it finds Player2 is online, it will write their name to another text file (c:\onlinebuddies by default, but again, change it to whatever you want). It takes me about 3 minutes to search through about 200 names, then I just pop open the text file and I have an up to date list of who's online. I'm sure one of the AHK gurus here could have done a much better job, and this script is pretty primitive. But I thought I'd share it here in case anyone could use it. As usual, It works for me, I can't guarantee it will work for you. [ QUOTE ] #NoEnv #SingleInstance Ignore FileDelete, c:\onlinebuddies.txt Loop, Read, C:\buddies.txt { SetTitleMatchMode, 1 IfWinExist PokerStars Lobby { WinActivate } else return Send, !r Sleep, 10 Send, f {Enter} Send, %A_LoopReadLine% {Enter} Sleep, 1000 IfWinExist, PokerStars, Not Found { Send, {Enter} } else { FileAppend, ( %A_LoopReadLine% ), c:\onlinebuddies.txt Send, {Esc} } } [/ QUOTE ] |
#2
|
|||
|
|||
Re: Stars Buddy List AHK Script
it would be cool if it said which limit/table. i know hardcore geeks can program this.
|
#3
|
|||
|
|||
Re: Stars Buddy List AHK Script
[ QUOTE ]
it would be cool if it said which limit/table. i know hardcore geeks can program this. [/ QUOTE ] Yes, I agree. I couldn't figure it out. If anyone wants to improve this script it would be awesome. |
#4
|
|||
|
|||
Re: Stars Buddy List AHK Script
bump
|
#5
|
|||
|
|||
Re: Stars Buddy List AHK Script
I am so inept that I really need the instructions to start with...
(1) Turn on computer (2) Open file (3) replace/copy whatever Is anyone patient enough to translate the script for ssomeone like me? Or am I better off not even trying? |
#6
|
|||
|
|||
Re: Stars Buddy List AHK Script
this looks very useful, but i am struggling to make it work. i am a total ahk noob, so you have to speak in small words. i have downloaded ahk and created a script with the text you wrote above, and i put a text file with buddies in the same place that you have it. i double-click the script and nothing seems to happen. no onlinebuddies.txt file is created, and the focus never even goes to the poker stars lobby.
any help would be appreciated, cause this thing looks great. edit: alright, figured it out. have to compile, then run... |
#7
|
|||
|
|||
Re: Stars Buddy List AHK Script
[ QUOTE ]
edit: alright, figured it out. have to compile, then run... [/ QUOTE ] If you saved the file as a .ahk, it should run just by double clicking the script. Maybe you saved it as a txt file, ie the file name was buddy.ahk.txt This issue with finding the limit is that Stars only gives the table name and game type. So some one would have to do some work with searching thru the lobby text to find where the table is. |
#8
|
|||
|
|||
Re: Stars Buddy List AHK Script
Hey, I was in AC for the weekend so I didn't see there was a little renewed interest in this. If anyone needs any more help with this, hit me up. I'd love to see some more work done on this, but honestly I'm probably not the one to do it, as I pretty much suck at AHK. Someone better than me probably could find limits buddies are playing, but it would involve searching through the table list, which I'm not sure how to do. But, I've been using it nearly every day since the day I posted it, and basically it works pretty well for narrowing down a list of say, 200 fish into a list of 20 online players.
I may try to put some more work into it today, because I can at least tell if the players are playing sngs, tournies or cash games, which is helpful. For Wynton: 1. Turn on computer. 2. Go to http://www.autohotkey.com 3. Download and install autohotkey software 4. Open a new text file on your desktop - name it buddies.ahk 5. Paste the text in my first post into it, save and close. 6. Open a new text file at c:\ - call it buddies.txt 7. Write a list of players you want to search for, one per line, into this file, save and close. 8. Double click buddies.ahk - wait until your computer stops going crazy (could be a while if it's a long list) 9. This created a new file at c:\onlinebuddies.txt 10. Open onlinebuddies.txt, this is a sublist of your big list containing the names of the people who are online. |
#9
|
|||
|
|||
Re: Stars Buddy List AHK Script
Thanks, wildzer. Very helpful.
|
#10
|
|||
|
|||
Re: Stars Buddy List AHK Script
How do I save as a .ahk file? I keep getting .ahk.txt every time.
|
|
|