Quote:
Originally Posted by XChamp
Does anyone know how to make this script highlight the active table?
thanks.
After some experimenting, I found a solution that works:
You'll have to find the similar section of code in the script and then paste this in. Basically, I deleted a line of code, added another in its place, and then swapped in "active_id" in each makegui() call parameter.
This makes the active window highlighted, regardless if it is pokerstars or not. I like it this way, plus I don't know how to discriminate between windows well.
Also, if you use this code, the script no longer highlights the urgent tables (which I disliked), but you probably need to keep "highlight urgent table" checked because this piece of code is written in that section of the subroutine.
I know this is really and amateur solution...but i've never written a script before.
Good luck.
Code:
if ( ActivateUrgent = 1) {
WinGet, active_id, ID, A
if ( AlternateDetection = 1 ) {
color:=TableColor(most_urgent_table)
if ( color != tablecolor ) {
if ( Highlight = 1 || MoveMouse = 1)
makegui(active_id, Highlight, MoveMouse, beep, x_mouse, y_mouse)
}
}
else {
if ( Highlight = 1 || MoveMouse = 1)
makegui(active_id, Highlight, MoveMouse, beep, x_mouse, y_mouse)
}
}
else {
if ( Highlight = 1 || MoveMouse = 1)
makegui(active_id, Highlight, MoveMouse, beep, x_mouse, y_mouse)
}