18)Smartly cut selection Macro (v11.0.3)

18)Smartly cut selection Macro (v11.0.3)

18)Smartly cut selection.kmmacros (8.2 KB)

Demo:
Image-000534

What does this do?

I use it to perform typical keyboard actions with the mouse: to delete one single character or a selected word plus the space in front of this word.

Often, I am editing a sentence with the mouse: as you can see, I have a lot of features assigned to a button bar for that. When I’m mousing around, I don’t want to switch to the keyboard, that’s why I created this macro.

1 Like

I just noticed a bug in my macro: when a selected word consists of two characters, the first letter of this word is removed, instead of the whole word plus the leading space. I'll try to fix this ...

New attempt:


BTW: The editor I’m using has smart cut and paste enabled.