Created
April 26, 2017 18:36
-
-
Save LucaTNT/36e4aaf87471680ea563171a095f8bb9 to your computer and use it in GitHub Desktop.
Script that forces the refresh of the current Finder window
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
tell application "Finder" | |
tell front window to update every item | |
try | |
delete (make new file at (front window) with properties {name:".refresh.tmp"}) | |
end try | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment