Created
November 8, 2020 18:45
-
-
Save danielrotaermel/089ad6264b21d7866d31892047ee8551 to your computer and use it in GitHub Desktop.
applescript to close picture-in-picture. I use this script with a keyboard shortcut in better touch tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Author: Daniel Rotärmel | |
tell application "System Events" | |
if exists (window 1 of process "PIPAgent") then | |
click button 1 of (window 1 of process "PIPAgent") | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment