Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Shift+Del on my Windows computer is interpreted as cut to the clipboard. How can I make it no different than just Delete alone?

share|improve this question
    
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
6  
I suspect the OP is talking about in a text or word processor, not Windows Explorer/Desktop. –  martineau Jan 20 '11 at 22:26

2 Answers 2

up vote 3 down vote accepted

This should 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 .ahk files
  • 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.ahk to open it and activate it immediately
  • Right click and drag shortcuts.ahk to Start->(All) Programs->Startup, then release the right button
  • Click on Create Shortcut
share|improve this answer

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).

share|improve this answer
    
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 to Send {Delete}. –  martineau Jan 20 '11 at 22:34
    
+{Del}::Send {Delete} gave me an error Invalid hotkey –  Adam Jan 20 '11 at 22:35
    
Try +Del::Send {Delete} without the {} around the first Del. –  Mikel Jan 20 '11 at 22:40
    
I've updated my answer with the syntactically correct AHK code -- thanks @Mikel. –  martineau Jan 20 '11 at 23:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.