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


Click here to return to the 'Prevent accidental window closure in a given app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Prevent accidental window closure in a given app
Authored by: connell on Mar 22, '04 10:07:58PM

Thanks. I finally used this:

defaults write com.apple.finder NSUserKeyEquivalents '{"Secure Empty Trash"="@$~\U0008";}'

Unfortunately, entering \U0008 for delete directly in the property list editor or by editing the plain text com.apple.finder.plist did not work. So I had to do it in the terminal, which for some reason when I ran the above command removed all my previous shortcuts which I had entered in via the system prefs.

But now it works!



[ Reply to This | # ]
Prevent accidental window closure in a given app
Authored by: tim1724 on Mar 23, '04 12:23:32AM
Try using this format when you want to add new items without deleting old ones:

defaults write com.apple.finder NSUserKeyEquivalents -dict-add "Secure Empty Trash" "@$~\U0008"

---
Tim Buchheim

[ Reply to This | # ]