Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Find out which application that prevent other applications from accessing the clipboard
- hwnd:= DllCall("USER32\GetOpenClipboardWindow")
- if (hwnd != 0) {
- WinGet, pid, PID, ahk_id %hwnd%
- WinGet, path, ProcessPath, ahk_id %hwnd%
- MsgBox, 16, Clipboard Owner Finder, Clipboard is being owned by an application.`n`nProcess ID: %pid%`n`nPath:`n%path%.
- } else {
- MsgBox, 64, Clipboard Owner Finder, Clipboard is not being owned by an application.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement