Bjorn_Kruuse-Me
11 years agoOccasional Contributor
Can't get OCR to do what I want
Hi all,
I have made this function:
I have made this function:
function GetNormalStartDelay(){
var normalStartObj = Aliases.WinACP600.dlgWinACP6001972.page32770.Edit;
var normalStartPicture = normalStartObj.Picture(50,10,50,25);
Log.Picture(normalStartPicture);
var OcrObject = OCR.CreateObject(normalStartPicture);
Log.Message(OcrObject.GetText());
}
The picture I take looks like this:
The text that is returned is: "Z .;" and not 2 sec.
Any suggestions as to what I am doing wrong?