0

I'm using the following script to fix my issue:

#IfWinActive ahk_class CabinetWClass ; File Explorer
^Backspace::

#IfWinActive ahk_class Notepad
^Backspace::
Send ^+{Left}{Backspace}

#IfWinActive

It turns ctrl+backspace into ctrl+shift+left then backspace

However it only works when there is a space between the 2 works. How can I change this so that it will also identify an "_", "." or preferably any other punctuation as a space?

For example if I attempt to delete the word "bottom" in the file "acacia_door_bottom.png" I will be left with only ".png" instead of "acacia_door_.png" or preferably "acacia_door.png".

Your Answer

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

Browse other questions tagged or ask your own question.