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


Click here to return to the 'Don't kill finder!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't kill finder!
Authored by: GaelicWizard on Feb 09, '10 09:57:08AM
Here's a rewrite to remove the requirement to enter one's admin password when running this script.
on run {input, parameters}
  do shell script "chmod a-rwx ~/.Trash"
  tell application "Finder" to quit
  launch application "Finder"
  return input
end run
the do shell script… line in the second script would need to be changed to do shell script "chmod u+rwx ~/.Trash".

[ Reply to This | # ]