I'm trying to run a macro from the command line to delete recurring sections of a file by having it repeat 10,000 times. Currently it's not exiting UE because the message window comes up stating: Search string not found!. Is there a way to make this macro automatically exit back to the command line?
UEDIT32 gh.xml /M,E,10000="bidshift.MAC/remove1500"
remove1500 macro commands:
InsertMode
ColumnModeOff
HexOff
UnixReOff
EndSelect
Find "<start-time>1500</start-time>"
EndSelect
Key UP ARROW
Key UP ARROW
Key UP ARROW
Key UP ARROW
Key HOME
StartSelect
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key END
EndSelect
Key DEL
UEDIT32 gh.xml /M,E,10000="bidshift.MAC/remove1500"
remove1500 macro commands:
InsertMode
ColumnModeOff
HexOff
UnixReOff
EndSelect
Find "<start-time>1500</start-time>"
EndSelect
Key UP ARROW
Key UP ARROW
Key UP ARROW
Key UP ARROW
Key HOME
StartSelect
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key DOWN ARROW
Key END
EndSelect
Key DEL