Shift+Del on my Windows computer is interpreted as cut to the clipboard. How can I make it no different than just Delete alone?
3 Answers
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
- 9,026
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).
- 4,487
-
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
SHIFT+DELETEon the Destop & in Windows Explorer windows means "Delete the selected item permanently without placing the item in the Recycle Bin" -- see List of the keyboard shortcuts that are available in Windows XP. – martineau Jan 20 '11 at 22:49