1

I have a question about changing key behavior. I need to securely delete files on my PC but Windows doesn't support this. I installed Eraser, and it added entry to context menu. Is there some way to change behavior of any key on keyboard and assign some program/application to key?

1 Answer 1

1

You could find out what command Eraser is calling (via system registry) then use Autohotkey to find the selected file then invoke the Eraser command when Del is pressed.

Edit: As ejmin points out be mindful that this change would apply to all uses of the Del key, potentially causing strange behaviour when editing text.

1
  • 2
    This could negatively change the behaviour of the delete button while editing text. Be careful and considerate while overwriting keys.
    – Dan
    Aug 2, 2016 at 11:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .