10

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

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

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

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

5
  • 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
0

AutoHotkey CAN`T do this. It is complicated to be explained but AutoHotkey send to focused window so you cant send command to desktop.

1
  • 1
    Please read the question again carefully. Your answer does not answer the original question. – DavidPostill Jan 22 '17 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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