Windows linux Software Super Tips

All Tips For Os & Software

 
Home
Add to Technorati Favorites

Recycle Bin Edits
Friday, March 2, 2007
Fooling with the recycle bin. Why not make the icon context menu act like other icon context menu's.

Add rename to the menu:
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:50,01,00,20

Add delete to the menu:
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:60,01,00,20

Add rename and delete to the menu:
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:70,01,00,20

Restore the recycle bin to win 95 defaults including un-deleting the icon after deletion:
... Restore the icon.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E}]
@="Recycle Bin"
... reset win 95 defaults
. [HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:40,01,00,20

Other edits to the recycle bin icon:
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\ShellFolder]
"Attributes"=hex:40,01,01,20 ... standard shortcut arrow
"Attributes"=hex:40,01,02,20 ... another shortcut arrow
"Attributes"=hex:40,01,04,20 ... and another shortcut arrow
"Attributes"=hex:40,01,08,20 ... make it look disabled (like it's been cut)

I added the above edits for fun. But it gets you thinking.
Note: Adding rename and delete to the context menu takes effect instantly. To restore the icon after deletion requires screen refresh (F5).
 
0 Comments:
Post a Comment
<< Home
 
Search



Previous Post
Archives
Links
    Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online Add to My AOL Add to Technorati Favorites!
Powered by

BLOGGER

© 2005 Windows linux Software Super Tips
eXTReMe Tracker