Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

Refresh Finder windows via AppleScript Desktop
For a long time, I was very annoyed with the lack of a Refresh command in Finder windows, until I found out that I could force any Finder window to refresh just by creating a new folder and then deleting it. So I wrote the following simple script to automate it:
tell application "Finder"
  delete (make new folder at (front window))
end tell
I've added the script to the Finder toolbar, so that refreshing any Finder window takes just one click.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[11,702 views]  

Refresh Finder windows via AppleScript | 8 comments | Create New Account
Click here to return to the 'Refresh Finder windows via AppleScript' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
I assume you have not upgraded to 10.4
Authored by: slaterecords on Tue, May 31 2005 at 10:53AM PDT
…as Finder refreshing/updating has been fixed in 10.4.

[ Reply to This | # ]
I assume you have not upgraded to 10.4
Authored by: doneitner on Fri, Jun 3 2005 at 1:07AM PDT
Fixed in what way? I upgraded from Panther to Tiger. Maybe I haven't tested it enough but I haven't noticed any change in folder refreshes.

And unfortunately there's still no simple/official way to sort all folders first and then all files by name, size, etc. Every advancement in the way folders works still leaves this very handy feature lacking.

[ Reply to This | # ]
I assume you have not upgraded to 10.4
Authored by: user12717 on Tue, Jun 14 2005 at 2:41PM PDT
The update problem hasn't been completely fixed in 10.4. I work daily with a mixed network of Windows and OS X computers and I constantly run into the problem of the Finder not properly updating Samba folders. If I open a folder on a remote Windows machine using Samba, and then the files in that folder are modified from the Windows machine, the Samba folder isn't always updated by the Finder. I've tried every trick and setting I can think to fix this problem, because it is very annoying, but the only one that is 100% effective is to create a new file or folder in the Finder and then delete it, it forces the Finder to flush its cache and reread the folder.

[ Reply to This | # ]
Refresh Finder windows via AppleScript
Authored by: scotty321 on Tue, May 31 2005 at 11:01AM PDT
Yes, as the poster above stated, this issue has been fixed in 10.4.

[ Reply to This | # ]
Refresh Finder windows via AppleScript
Authored by: macintron on Tue, May 31 2005 at 11:22AM PDT
This is easier (from an old hint):

try
  tell application "Finder" to update items of front window
end try


[ Reply to This | # ]
Refresh Finder windows via AppleScript
Authored by: m@ on Tue, May 31 2005 at 12:45PM PDT
i found this little app rather useful prior to 10.4. Really useful to sync what you see with what you are doing at the CLI.

FinderSync

http://www.manyetas.com/findersync.html

[ Reply to This | # ]
Refresh Finder windows via AppleScript
Authored by: pmaiorana on Tue, May 31 2005 at 6:32PM PDT
Those of you still on Panther should check out the Nudge contextual menu plugin. It provides the same functionality.

[ Reply to This | # ]
Refresh Finder windows via AppleScript
Authored by: starb on Fri, Sep 23 2005 at 3:53PM PDT
I think this is the same hint as this:
http://www.macosxhints.com/article.php?story=20040520143650679

[ Reply to This | # ]