PP AHK request
Hey guys,
It would be extremely useful to have an AHK script that prevents the party tables from resizing. I think we all sometimes accidently click the right border of a table, making it resize a little bit leading to even more party lag. Does anyone know of a script that can lock the tables making them non-resizable? Thanks |
Re: PP AHK request
<font class="small">Code:</font><hr /><pre> #NoEnv
#Persistent #SingleInstance force WinWait PartyPoker.com: WinGet, pid, pid SetTimer, timer, 1000 return timer: WinGet, list, list, Good Luck ahk_pid%pid% Loop % list { WinGet, style, style, % "ahk_id" list%a_index% if (Style & 0x40000) WinSet, Style, -0x40000, % "ahk_id" list%a_index% } return </pre><hr /> |
Re: PP AHK request
Thanks a lot, it doesn't seem to work though.
I have the latest AHK, what can be wrong? |
Re: PP AHK request
Are you running Party with Swedish language setting or something? It looks for the 'Good Luck' in the window title.
|
Re: PP AHK request
No, it's english and says Good Luck
|
Re: PP AHK request
Stick this in the loop:
msgbox % (Style & 0x40000) after the WinGet command. It should say either 1 or 0... |
Re: PP AHK request
so the complete code should be like this:
#NoEnv #Persistent #SingleInstance force WinWait PartyPoker.com: WinGet, pid, pid msgbox % (Style & 0x40000) SetTimer, timer, 1000 return timer: WinGet, list, list, Good Luck ahk_pid%pid% Loop % list { WinGet, style, style, % "ahk_id" list%a_index% if (Style & 0x40000) WinSet, Style, -0x40000, % "ahk_id" list%a_index% } return I tried this but it doesn't work [img]/images/graemlins/frown.gif[/img] |
Re: PP AHK request
No, after the, err, third WinGet command. Inside the loop.
|
Re: PP AHK request
Do i need Roland's functions for this to work btw?
|
Re: PP AHK request
No.
|
All times are GMT -4. The time now is 06:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.