Shift+Del on my Windows computer is interpreted as cut to the clipboard. How can I make it no different than just Delete alone?
-
Odd, shift-del on normal windows computers is supposed to mean delete permanently (skip the recycle bin). – Joel Coehoorn Jan 20 '11 at 22:14
-
Not in Windows 7 (and similar versions). See en.wikipedia.org/wiki/… – Adam Jan 20 '11 at 22:16
-
In Windows 7 Shift+Del is supposed to be permanent delete. I use it everyday to skip the recycle bin. support.microsoft.com/kb/126449 – Benjamin Anderson Jan 20 '11 at 22:21
-
Maybe just in Windows Server then? It is listed in other places ( en.wikipedia.org/wiki/… ) as meaning cut and that's definitely what it's doing here – Adam Jan 20 '11 at 22:25
-
7I suspect the OP is talking about in a text or word processor, not Windows Explorer/Desktop. – martineau Jan 20 '11 at 22:26
This AutoHotkey script works for me:
+Del::Send {Delete}
If it doesn't, try this:
+Del::
KeyWait Shift
Send {Delete}
return
According to AutoHotkey Tips and Remarks, you might need to use KeyWait so that the Shift doesn't get applied to the right hand side as well.
I suggest installing it like this:
- Download and install AutoHotkey, allowing it to associate with
.ahkfiles - Open Notepad and paste the script in
- Save it anywhere and call it
shortcuts.ahk - Open the folder where you saved it in Windows Explorer
- Double click on
shortcuts.ahkto open it and activate it immediately - Right click and drag
shortcuts.ahkto Start->(All) Programs->Startup, then release the right button - Click on Create Shortcut
Regardless of what context you're referring to, and although I haven't done this exact thing, I'm fairly confident the free AutoHotKey utility could do it.
At a minimum, the AHK script would just need to be a single line containing this:
+Delete::Send {Delete}
This would be in effect globally (i.e. on the Desktop, in Explorer windows, and in all applications). If necessary, it could be made context-sensitive so that it only applied to specific situations (RTFM).
-
I tried, but I don't really know AutoHotKey, what's the code for Shift + Del? I tried +{Delete} but it didn't work – Adam Jan 20 '11 at 22:26
-
+{Delete}or+{Del}represents shift+delete. You could create an AHK script for that combination which just maps it toSend {Delete}. – martineau Jan 20 '11 at 22:34 -
-
-
I've updated my answer with the syntactically correct AHK code -- thanks @Mikel. – martineau Jan 20 '11 at 23:12
AutoHotkey CAN`T do this. It is complicated to be explained but AutoHotkey send to focused window so you cant send command to desktop.
-
1Please read the question again carefully. Your answer does not answer the original question. – DavidPostill♦ Jan 22 '17 at 16:49