08-12-2009, 07:46 AM
Suppose that you run the code :
Then on the 3rd OnScreenDisplay execution (Category-1) this item loops 1000 and then it aborts on :
Any advice is mostly welcome.
Regards
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 :
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