The new nimrecorder 7.2.65 no longer prints a hard copy of the error when a script fails. It captures the screen but not the error.
The same script has been used for previous versions without issues.
With previous versions of nimrecorder:
With nimrecorder 7.2.65
Below is the subroutine.
Subroutine is called for all failure code.
Sub Failure(target$, id$, OP_REF$, message$)
errormsg$= TargetAppName$ + ": " + message$ + " during step: " + target$ + ". " + OP_REF$
nimQoSStop()
nimQoSSendNull(target$)
nimAlarm(2, errormsg$, target$, id$) '*****Uncomment this line to enable alarming*****
nimEnd()
MsgFrame(errormsg$, 1)
Print_Screen()
RemoveFrame(1)
Clean_Up()
EndSub
Release : 20.4
Nimrecorder 7.2.65
Nimrecorder 7.2.65 is 100% new - instead of a fat client app it's a webapp. WinTask includes the Nimrecorder script editor which is now also a webapp.
Everything has changed even the Help interface, functions, how to use it, etc.
Adding a pause of 3 seconds between MsgFrame() and Print_Screen() corrected the issue and now the error is properly captured.
'Subroutine is called for all failure code.
Sub Failure(target$, id$, OP_REF$, message$)
errormsg$= TargetAppName$ + ": " + message$ + " during step: " + target$ + ". " + OP_REF$
nimQoSStop()
nimQoSSendNull(target$)
nimAlarm(2, errormsg$, target$, id$) '*****Uncomment this line to enable alarming*****
nimEnd()
MsgFrame(errormsg$, 1)
pause 3
Print_Screen()
RemoveFrame(1)
Clean_Up()
EndSub