Keep an eye on the apps that are using your clipboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

6 lines
273 B

from tkinter.messagebox import askokcancel
def ask_for_permission(window_name, pid, path) -> bool:
details = f"The process {pid} ({path}) with the window named '{window_name}' wants to access your clipboard data."
return askokcancel("Clipboard-Watcher", details)