Created
July 23, 2022 14:49
-
-
Save Sangdol/bff520b39778e268aef45a7f592596aa to your computer and use it in GitHub Desktop.
An AppleScript to un-minimize a window of the currently focused application.
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
# https://talk.automators.fm/t/unminimize-windows-of-the-current-application/12360/5 | |
tell application id ("com.apple.systemevents") ¬ | |
to tell (process 1 where it is frontmost) ¬ | |
to tell (windows whose attribute named "AXMinimized"'s value is true) ¬ | |
to if (it exists) then set the value of its attribute named "AXMinimized" of item 1 to false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment