5.3.1.8.8.1.1. cli.cmd_gui.frame_run.run_gui.RunFrame

class cli.cmd_gui.frame_run.run_gui.RunFrame(parent: Notebook, text_widget: Text)

Bases: BaseFrame

‘Run Program/Script’ frame

apply_preset_cb(event: Event | None = None) → None

Apply selected preset values to the input fields.

check_thread() → None

Poll execution thread and update status when it finishes.

delete_presets_cb() → None

Delete preset file and combobox values.

load_presets() → list[dict[str, str]]

Load presets from cache file.

run_cb() → None

Run script or program based on selected mode and input fields.

save_log_cb() → None

Save current run log into a timestamped file.

save_preset(new_preset: dict[str, str]) → None

Save input as preset for quick reuse and add new presets at the top.

save_presets_to_file() → None

Save presets in cache directory for next sessions.

select_directory_cb() → None

Open directory dialog and write selected item into Entry widget.

select_target_file_cb() → None

Open filedialog and write selected item into Entry widget.