Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Be kind to the Finder!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Be kind to the Finder!
Authored by: mithras on Nov 15, '07 04:20:03AM

Just to note -- the Finder, as a GUI app, expects to be dealt with more kindly than with the KILL signal. When you send KILL, it doesn't have a chance to save your current window positions and other settings.

So instead of

killall Finder

I'd recommend the slightly more verbose:

osascript -e 'tell app "Finder" to quit'

and then tap the Finder icon in the Dock to relaunch.

---
--
mithrastheprophet.net (coming soonish)

[ Reply to This | # ]

Be kind to the Finder!
Authored by: slambert on Apr 01, '08 12:52:25PM

I was searching exactly for this hint. Many hints involve quitting and restarting the finder. I find it annoying the open window aren't preserved. (Sometimes recently closed windows reappear!)

However I am having trouble applying your hint.
>osascript -e 'tell app "Finder" to quit'

I copied this into Script Editor and when I try to run I get the following Syntax Error:
"A unknown token can't go after this identifier."

Please tell me what I am doing wrong.

-scott



[ Reply to This | # ]
Be kind to the Finder!
Authored by: slambert on Apr 01, '08 01:05:23PM

I figured it out:
>osascript -e 'tell app "Finder" to quit'
to execute from terminal.

>tell app "Finder" to quit
in Script Editor.



[ Reply to This | # ]
Be kind to the Finder!
Authored by: weizilla on Apr 02, '08 02:00:11PM

can't you just hold alt, right click on the finder icon on the dock and click on the "relaunch" menu item?



[ Reply to This | # ]