diff --git a/gui/macro_editor.py b/gui/macro_editor.py index 7492d66..39c0ba7 100644 --- a/gui/macro_editor.py +++ b/gui/macro_editor.py @@ -243,7 +243,15 @@ class CommandBuilder(QWidget): elif cmd_type == "app": from PySide6.QtWidgets import QInputDialog - cmd, ok = QInputDialog.getText(self, "App Command", "Enter application command:") + cmd, ok = QInputDialog.getText( + self, "App Command", + "Enter application command:\n\n" + "Examples:\n" + " Windows: notepad.exe\n" + " Windows: \"C:\\Program Files\\App\\app.exe\"\n" + " Linux: firefox https://example.com\n" + " macOS: open -a Safari" + ) if not ok or not cmd: return command["command"] = cmd @@ -314,7 +322,13 @@ class CommandBuilder(QWidget): elif cmd_type == "app": text, ok = QInputDialog.getText( - self, "Edit App", "Enter application command:", + self, "Edit App", + "Enter application command:\n\n" + "Examples:\n" + " Windows: notepad.exe\n" + " Windows: \"C:\\Program Files\\App\\app.exe\"\n" + " Linux: firefox https://example.com\n" + " macOS: open -a Safari", text=cmd.get("command", "") ) if ok and text: