Many people have the habit of using 'shift + del' very often (atleast I do). So, I wanted to figure out a way so as to prevent shift + del happening in the background. Autohotkey came again to rescue me.
Here are the steps.
1) Install latest version of Autohotkey
2) Create a new text file somewhere in your Desktop.
3) Rename it to my_script.ahk
4) Open the file using any text editor and paste the below content into it.
+Del::Send {Delete}
In the above '+' denotes shift. So, what the script means to autohotkey is that, whenever user presses shift + del, send just del to the process and not shift + del.
5) Make a shortcut to the above created file.
6) Copy that shortcut to your startup folder.
When the system is restarted, you can enjoy using shift + del, and still see the files in Recycle bin.
Disclaimer: Please note that moving files frequently to recycle bin and not cleaning it up often can make the bin full and you lose your deleted data, as windows may not push data to recycle bin and delete it directly.
Here are the steps.
1) Install latest version of Autohotkey
2) Create a new text file somewhere in your Desktop.
3) Rename it to my_script.ahk
4) Open the file using any text editor and paste the below content into it.
+Del::Send {Delete}
In the above '+' denotes shift. So, what the script means to autohotkey is that, whenever user presses shift + del, send just del to the process and not shift + del.
5) Make a shortcut to the above created file.
6) Copy that shortcut to your startup folder.
When the system is restarted, you can enjoy using shift + del, and still see the files in Recycle bin.
Disclaimer: Please note that moving files frequently to recycle bin and not cleaning it up often can make the bin full and you lose your deleted data, as windows may not push data to recycle bin and delete it directly.
No comments:
Post a Comment