Two problems here, really.
I am starting Uedit 12.10+3 from the command line with two files to open and a simple macro to run. Its purpose is to read the (very short) files looking for the string 'ERROR During" at the start of any line, and to run a Tool if found.
The command line is:
According to the Help, the "/M,E" syntax should run the macro and exit Uedit at the end. Uedit does not close, however. "Minimize on last file close" is NOT checked.
The problem with the macro is that the Tool is run twice, even though the ERROR string only occurs in one of the files. The macro is:
InsertMode
ColumnModeOff
HexOff
UnixReOff
Loop 2
Top
Find MatchCase "^PERROR During"
IfFound
RunTool "Entity Chart"
EndIf
CloseFile
EndLoop
Any ideas?
TIA,
Alan
I am starting Uedit 12.10+3 from the command line with two files to open and a simple macro to run. Its purpose is to read the (very short) files looking for the string 'ERROR During" at the start of any line, and to run a Tool if found.
The command line is:
Code: Select all
start uedit32.exe "C:\Bck_Log.log" "C:\Bck_Data.log" /M,E,1="C:\Logs.MAC"
The problem with the macro is that the Tool is run twice, even though the ERROR string only occurs in one of the files. The macro is:
InsertMode
ColumnModeOff
HexOff
UnixReOff
Loop 2
Top
Find MatchCase "^PERROR During"
IfFound
RunTool "Entity Chart"
EndIf
CloseFile
EndLoop
Any ideas?
TIA,
Alan