I have found a bug with Editor's Undo option.
It appears if you are utilizing the Command Locator.
Just type simple code manually and use Command Locator to input CompareBitmaps, FindImagePos, StringReplace... etc. Then start Undo process.
Something like this
Code: Select all
Label>Start
CompareBitmaps>Pic_1,Pic_2,nPercent
If>a>b
Goto>Start
Endif
FindImagePos>Pic_Needle,SCREEN,0,0,XArr,YArr,NumFound
Label>NextStep
Press F1
StringReplace>String,Substr1,Substr2,strNewString
Position>Substr3,Str,1,nPos,TRUE