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.

user6903
  • 411
  • 4
  • 11

3 Answers3

6

Easy

form = idaapi.find_tform("Output window")
idaapi.switchto_tform(form, True);
idaapi.process_ui_action("msglist:Clear");
LighFusion
  • 272
  • 2
  • 10
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.

0xC0000022L
  • 10,908
  • 9
  • 41
  • 79
Simeon Pilgrim
  • 942
  • 6
  • 15
1
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()))
zmrbak
  • 11
  • 1