I went through the script for a little while yesterday trying to fix a couple of the issues people have brought up. If you aren't planning on updating it much in the future you might throw out some comments in your script.
The two things I was looking at was the "skipping the first sng" issue and the "batch" mode not scrolling back up. I believe both issues are in the "RegSNGexec" function.
Code:
Loop 16
{
If (Register=0)
{
GuiControl, , Status, Status: Idle ;TEST
Exit
}
ControlGet, v, Visible, , %regButton%, ahk_id%id%
If (v = 0)
If (scrldwn!="Off")
{
If (ClickdirectionCount<=scrldwn)
{
What is the bolded "If (v=0)" accomplishing? As far as I can tell v is a 1 if the registration button (PokerStarsButtonClass7 or 8 depending on which lobby you use) is visible. From what I can tell v will equal 1 if it says "Register" or "Unregister" and doesn't tell you if you have already registered in the sng or not. Is there a way to decipher if you are already registered for the sng based on this PokerStarsButtonClass?
As far as the batch mode and scrolling down issue shouldn't the second bolded item above "scrldwn" be equal to the number of games in the lobby, not the number of times you want the script to scroll through the lobby each time it tries to register?
Due to the nature of the script it's very hard to test. I am by no means even good in ahk and could be completely way off. I had been asked to take a look at the script and see If I could fix some of the issues people were having.
If you don't have enough time to update the script (completely understandable), maybe you can point others in the right direction.
Thanks,
Amerzel