Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Click OnScreenDisplay
#3
Works great! my macro does update it every second or so, so it's not staying down for very long. any ideas on maybe changing my macro to allow it?

Function OSD_clock
Code:
Copy      Help
_monitor=0
int w=win(" - [email protected] - Microsoft Outlook" "rctrl_renwnd32")
Acc a.Find(w "OUTLINEITEM" "Inbox*" "class=NetUIHWND" 0x1005)
str value=" "
#compile "__AudioMixer"
value=a.Value
err+
str s
int z
rep
,AudioMixer x
,s.time("%X   %d - %a")
,s.from("  " s " ")
,err-
,w=win(" - [email protected] - Microsoft Outlook" "rctrl_renwnd32")
,a.Find(w "OUTLINEITEM" "Inbox*" "class=NetUIHWND" 0x1005)
,value=a.Value
,err+
,,value="Outlook not connected"
,if len(value)>0
,,value.replacerx(" unread message.*" "")
,s.from(s "   " value)
,z=x.GetMute
,if z=1
,,s.from(s " Ѭ" )
,else
,,s.findreplace(" Ѭ" "")
,OnScreenDisplay_Rd s -1 675 -2 "Copperplate Gothic Bold" 14 0x00ffff 25|0x8000 "tim4924" 0x343434
,0.1
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)