Created
August 30, 2017 06:15
-
-
Save Boerworz/79443c0ac704178864d8152880204e31 to your computer and use it in GitHub Desktop.
AppleScript to re-open the main window of almost any app
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
set applicationPath to (POSIX path of (path to frontmost application as text)) | |
do shell script "open \"" & applicationPath & "\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment