01-12-2015, 02:16 PM
I'm having an issue with the OnScreenDisplay. I'm having it show some information built from various sources along with the time in hrs min sec and there seems to be some sort of flicker in it every once in a while but I can't seem to narrow down what's causing it. does anyone have any ideas what's causing it?
Function Big_Board
Function Big_Board
rep
,lml_behind.getfile("c:\lml_behind.txt")
,today=_s.timeformat("{D}")
,gLDays= goLive-today
,dCDays= devComp-today
,if dCDays<-100
,,dCDays=0
,,
,countdown=F" DevComp:{dCDays} .:⁞:. SprntEnd:{gLDays} "
,_s.timeformat("{ddd}")
,if _s="Thu"
,,_s="R"
,else
,,_s.left(_s 1)
,,_s.from(_s "")
,s.timeformat("{dd}")
,_s.from(_s "-" s)
,s.timeformat("{h}:{mm}:{ss} ")
,s.from(s _s)
,FirefoxGetTabs(0 FF_names)
,err
,gmail_tab_name=FF_names
,findrx(gmail_tab_name "Inbox.* - kenegray@gmail.com - Gmail" 0 0 gmail_tab_name)
,gmail_tab_name.replacerx("\D" "")
,err
,outl_curr=outl_acc.Value
,err
,,out _error.description
,,end
,outl_curr.replacerx("\D")
,err
,,outl_curr="--"
,if len(gmail_tab_name)=0
,,gmail_tab_name= "--"
,if len(lml_behind)>0
,,lml_min=val(lml_behind)
,,lml_min=lml_min/60
,,lml_min=Round(lml_min 1)
,,if lml_min_prv<>lml_min
,,,lml_min_diff=lml_min-lml_min_prv
,,,lml_min_diff=Round(lml_min_diff 1)
,,,lml_min_prv=lml_min
,,s.from( "LML: " lml_min " LML Diff: " lml_min_diff " .:⁞:. " outl_curr " " gmail_tab_name " " s)
,else
,,s.from( countdown " " outl_curr " " gmail_tab_name " " s)
,,lml_min_prv=0
,OnScreenDisplay(s -1 1317 -2 "Consolas" 12 0x00ffff 1|8|0x8000 "New_Time_Mail" 0x343434)
,0.75