trigger_actions_programmatically

summary: trigger actions programmatically

description:

It’s possible to invoke any action programmatically, by using either of those two:

  • ida_kernwin.execute_ui_requests()

  • ida_kernwin.process_ui_action()

Ideally, this script should be run through the “File > Script file…” menu, so as to keep focus on “IDA View-A” and have the ‘ProcessUiActions’ part work as intended.

keywords: actions

level: intermediate

Classes

print_req_t

Functions

ProcessUiActions(actions[, flags])

Module Contents

trigger_actions_programmatically.ProcessUiActions(actions, flags=0)
Parameters:
  • actions – A string containing a list of actions separated by semicolon, a list or a tuple

  • flags – flags to be passed to process_ui_action()

Returns:

Boolean. Returns False if the action list was empty or execute_ui_requests() failed.

class trigger_actions_programmatically.print_req_t(s)

Bases: object

s