I don't know what I'm doing wrong. I record my actions and assign each one a keystroke. When I stop recording and run the task I thought I recorded, something else happens.
Recording in Keyboard Maestro is very literal.
You nearly always have to edit the result.