Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Seeking advice on OnScreenDisplay
#1
Suppose that you run the code :

Code:
Copy      Help
OsdClose "osd_inm"
OsdClose "osd_sub"
OnScreenDisplay "Category" -1 10 10 "Times New Roman" 11 0x6030CF 1 "osd_inm" 0xCFEAEB 500
OnScreenDisplay "Subject" -1 10 35 "Arial" 7 0xFF0000 1 "osd_sub" 0xCFEAEB 500
5
OsdClose "osd_inm"
OsdClose "osd_sub"
OnScreenDisplay "Category-1" -1 10 10 "Times New Roman" 11 0x6030CF 1 "osd_inm" 0xCFEAEB 500
OnScreenDisplay "Innews_Subj-1" -1 10 35 "Arial" 7 0xFF0000 1 "osd_sub" 0xCFEAEB 500


Then on the 3rd OnScreenDisplay execution (Category-1) this item loops 1000 and then it aborts on :

Code:
Copy      Help
rep(1000) if(v.created) break; else 0.01 ;;wait for window created because caller may need it immediately

Any advice is mostly welcome.

Regards


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)