Skip to content

Instantly share code, notes, and snippets.

@LucaTNT
Created April 26, 2017 18:36
Show Gist options
  • Save LucaTNT/36e4aaf87471680ea563171a095f8bb9 to your computer and use it in GitHub Desktop.
Save LucaTNT/36e4aaf87471680ea563171a095f8bb9 to your computer and use it in GitHub Desktop.
Script that forces the refresh of the current Finder window
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