Class DialogAuto

Info

Class monitors for a dialog and sends a predefined key sequence to handle the dialog.

Class

class odevgui_win.dialog_auto.DialogAuto[source]

Dialog Automation

static monitor_dialog(send_key: str) None[source]
static monitor_dialog(send_key: str, title_info: DialogTitle) None
static monitor_dialog(send_key: SendKeyInfo) None
static monitor_dialog(send_key: SendKeyInfo, title_info: DialogTitle) None

Monitors for a dialog and press the button via its short cut keys such as alt+y.

Parameters:
  • send_key (str | SendKeyInfo) – The key for the alt shortcut such as y or n or c

  • title_info (DialogTitle, Optional) – Dialog Title info

Return type:

None

Note

If send_key is a string then it is sent as with ALT send_key=c results on ALT+c being sent to dialog.

If send_key is SendKeyInfo then its values is sent to dialog verbatim.