04-07-2016, 01:01 PM
if(scan("image:h1B7A5E0B" w 0 16))
fBmp.expandpath
if(!CaptureImageOnScreen(655 340 85 35(fBmp))) ret
typelib MODI {A5EDEDF4-2BBC-45F3-822B-E60C278A1A79} 12.0
MODI.Document doc._create
doc.Create(fBmp)
doc.OCR(MODI.miLANG_ENGLISH -1 0)
MODI.Image im=doc.Images.Item(0)
s1=im.Layout.Text
'BBBBBBBBBB
key (s1)
if(scan("image:h1B7A5E0B" win() 0 16))
fBmp.expandpath
if(scan("image:h841C7961" win() r 16|128 100))
if(!CaptureImageOnScreen(r.left r.top r.right-r.left r.bottom-r.top fBmp)) ret
typelib MODI {A5EDEDF4-2BBC-45F3-822B-E60C278A1A79} 12.0
MODI.Document doc._create
doc.Create(fBmp)
doc.OCR(MODI.miLANG_ENGLISH -1 0)
MODI.Image im=doc.Images.Item(0)
s1=im.Layout.Text
'BBBBBBBBBB
key (s1)
Changed it but I have a problem with MODI instead. Any clue what is happening?
What do you mean by getuserinfo? I can't seem to find much information in QM Help.