diff --git a/commands/open_app/open_explorer.py b/commands/open_app/open_explorer.py new file mode 100644 index 0000000..3dd62d7 --- /dev/null +++ b/commands/open_app/open_explorer.py @@ -0,0 +1,8 @@ +import os +from tkinter import messagebox + +def open_explorer(): + try: + os.system("start explorer") + except Exception as e: + messagebox.showerror("Error", f"Error opening Microsoft Windows Explorer: {e}") diff --git a/commands/open_app/open_taskmanager.py b/commands/open_app/open_taskmanager.py new file mode 100644 index 0000000..f8621eb --- /dev/null +++ b/commands/open_app/open_taskmanager.py @@ -0,0 +1,8 @@ +import os +from tkinter import messagebox + +def open_windows_taskmanager(): + try: + os.system("start taskmgr") # Command to open Microsoft Excel + except Exception as e: + messagebox.showerror("Error", f"Error opening Windows Task-Manager: {e}")