Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SchBenedikt authored Aug 7, 2023
1 parent ffbadc6 commit 4fecb9c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions commands/open_app/open_explorer.py
Original file line number Diff line number Diff line change
@@ -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}")
8 changes: 8 additions & 0 deletions commands/open_app/open_taskmanager.py
Original file line number Diff line number Diff line change
@@ -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}")

0 comments on commit 4fecb9c

Please sign in to comment.