4

As a beginner I'm trying to use IDC to clear output window in IDA Pro,but I don't know which function will work.

My IDA Pro version is 6.1.

3 Answers 3

6

Easy

form = idaapi.find_tform("Output window")
idaapi.switchto_tform(form, True);
idaapi.process_ui_action("msglist:Clear");
1
5

I don't think there is one, so I tend to Ctrl-X in the console window, which is the same as right-clicking and picking Clear from the context menu, before running my IDC scripts.

2
form = idaapi.find_widget("Output window")
idaapi.activate_widget(form, True)
idaapi.process_ui_action("msglist:Clear")
print('---------------IDA Python Running at {}---------------------'.format(datetime.datetime.now()))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.