![]() |
#111
|
|||
|
|||
![]()
[ QUOTE ]
The color-changing highlighter script doesn't work anymore. It keeps stuck on the first color. Anybody got a working color-changing script? [/ QUOTE ] Oops, should have read the newest code. [img]/images/graemlins/cool.gif[/img] Thanks for this awesome script. |
#112
|
|||
|
|||
![]()
I'd prefer Adde fix it since it sounds like he probably made some changes that affect it. If he doesnt touch it by the morning I'll take a look into it...
|
#113
|
|||
|
|||
![]()
I took a look at color changing today and it seems to be working fine for me. Are you sure you have it configured properly and are using the latest version?
|
#114
|
|||
|
|||
![]()
The color changing is working, I just didn't adjust the code.
That's why I said: "I should have read the newest code." [img]/images/graemlins/smile.gif[/img] |
#115
|
|||
|
|||
![]()
Been away. I like it when problems are solved automagically. My favorit type of problems. [img]/images/graemlins/wink.gif[/img]
Adde |
#116
|
|||
|
|||
![]()
Is there anyway to get it to highlight the other tables instead of the one table in the top left corner? No matter what table is awaiting my desicion it will only highlight the top left table. so basically the top left table is constantly flashing and none of the other tables are.
my settings: <font class="small">Code:</font><hr /><pre> AQ_Ex = 1 ; set to 0 to ignore advance action buttons timeBeep = 0 ; beep once if you have x seconds left - set to 0 to never beep timeContBeep = 0 ; beep - beep - beep - beep ... timeFlash = 1 ; flashes the gui instead of beeping (though you can have both) shiftColors = 0 ; set to 1 to use move through a range of color (written by SamIAm) style = chatbox ; options: Bar, BottomBar, or Chatbox barX = 3 ; these apply only to "BottomBar" style barY = 500 ; they are dynamic - configure them on a table of normal size, barW = 790 ; then use with any table size barH = 76 ; roundCorners = 0 ; set to 1 if you want rounded corners on TopBar (does not apply to BottomBar and others) skipUnderMouse = 0 ; set to 1 if window under mouse should not be highlighted skipUnderMouseTitle = 0 ; set to 1 if window with mouse under window titlebar should not be highlighted buttonFlash = 1 ; set to 1 to flash bar when non-advance buttons are shown barTopH = 0 ; set height of TopBar; set to 0 to use default height of window titlebar barTopY = 0 ; set Y coordinate where TopBar should be located activate_on_mouse_over = 1 ; set to 1 to activate table when mouse is over highlight bar flash_speed = 2 ; set flash speed (1=fast, 2=medium, 3=slower, etc) </pre><hr /> |
#117
|
|||
|
|||
![]()
[ QUOTE ]
Is there anyway to get it to highlight the other tables instead of the one table in the top left corner? No matter what table is awaiting my desicion it will only highlight the top left table. so basically the top left table is constantly flashing and none of the other tables are. [/ QUOTE ] Try [style=Bar] and [style=BottomBar] and see if these works. If yes, there's a problem with ChatBox and I can look at it. Adde |
#118
|
|||
|
|||
![]()
[ QUOTE ]
[ QUOTE ] Is there anyway to get it to highlight the other tables instead of the one table in the top left corner? No matter what table is awaiting my desicion it will only highlight the top left table. so basically the top left table is constantly flashing and none of the other tables are. [/ QUOTE ] Try [style=Bar] and [style=BottomBar] and see if these works. If yes, there's a problem with ChatBox and I can look at it. Adde [/ QUOTE ] yeah just tried it per your and Perfect10s instructions...the BAR option works perfectly. didnt try the other, but the chatbox option remains stuck on the top left table. anyway enjoying the program so far now that it be working, good stuff. |
#119
|
|||
|
|||
![]()
Fixed the chatbox bug now. If you prefer Chatbox over Bar, update your script.
http://overcards.com/wiki/moin.cgi/TableHighlighter Adde |
#120
|
|||
|
|||
![]()
I was wondering if it would be possible to get a color shift like Dave posted below (for an older version of the script) but for the newest version. any ideas on how Id incorporate it into the latest version?
[ QUOTE ] Hi Adde, I am glad you like my alterations to this script - let me re-state, I am now finding this script an essential part of my Party multi-tabling aresenal [img]/images/graemlins/smile.gif[/img] Many thanks. I have actually made a few more modifications now. I have changed the <font color="blue">TH_DoHighlight:</font> function to this - (new parts in <font color="blue">blue</font>, I think): Basically, this retrieves the countdown timer from "static3" (if it is visible), and makes the highlight bar cycle through varying colours depending upon the urgency of action required - it starts off cyan, then green, if it gets to less than 6 seconds, it goes red and also beeps the PC speaker [img]/images/graemlins/smile.gif[/img] -------------------------------------------------------------------------- TH_DoHighlight: <font color="blue"> th_bar_color = 00FFFF ;cyan ControlGet, s3vis, Visible, , Static3, ahk_id%tableID% if (s3vis) { ControlGetText, remaining, Static3, ahk_id%tableID% If( InStr(remaining, "You have") AND InStr(remaining, "secs to respond")) { StringMid, remaining, remaining, InStr(remaining, "You have")+9 StringMid, remaining, remaining, InStr(remaining, "secs to respond")-2,, L ;MsgBox %remaining% If(remaining <= 6) { th_bar_color = FF0000 ;red SoundBeep, 1500, 20 Sleep, 30 } Else If(remaining <= 9) { th_bar_color = FF8000 ;orange } Else If(remaining < 12) { th_bar_color = FFFF00 ;yellow } Else If(remaining < 16) { th_bar_color = 00FF00 ;green } } } </font> CoordMode, Pixel, Relative if (th_tables_arr%indexThis%2 = TRUE) { <font color="blue"> Gui, %guiNum%: Color, %th_bar_color%</font> continue } WinGetPos, x, y, w, h, ahk_id%tableID% px := x + th_bar_left py := y + th_bar_top Gui, %guiNum%: +Alwaysontop +Lastfound +Owner Gui, %guiNum%: Color, %th_bar_color% WinSet, Transparent, %th_bar_trans% Gui, %guiNum%: -Caption Gui, %guiNum%: Show, w%w% h%th_bar_height% x%px% y%py% NoActivate th_tables_arr%indexThis%2 := TRUE } -------------------------------------------------------------------------- There must be a more elegant way of doing this, but I am somewhat new to this AHK business... With this I can now play 8+ table of 6-max no problem... it is excellent, again, many thanks. My modifications I think are very crude, and surely there is a cleaner way of doing this? Is there an equivalent of the switch/case construct in AHK or must these things be done with many else/if statements? Many thanks, dave. [/ QUOTE ] |
![]() |
|
|