Serious bug with Undo option

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
observer
Junior Coder
Posts: 44
Joined: Tue Aug 18, 2009 7:55 pm

Serious bug with Undo option

Post by observer » Tue Aug 25, 2009 6:34 pm

Hello everybody!
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

observer
Junior Coder
Posts: 44
Joined: Tue Aug 18, 2009 7:55 pm

Post by observer » Tue Sep 15, 2009 8:58 pm

Hi,
Undo option is unpredictable. It’s really dangerous to utilize it. I was ineffably surprised when I had finalized a code section by
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
(I had typed it manually)
Further, I had found one extra “Endifâ€

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Thu Sep 17, 2009 3:13 am

I can confirm this with MS 11.1.13

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts