Indeed, as mentioned in another thread, currently the Arrow Key part odf the macro is not working. Probably since Mojave (though I thought it was still working shortly after installing Mojave, but my memory may fool me
).
Anyway, something with the handling of the Arrow keys seems to have changed. I’m trying to find a solution. If anybody (maybe @peternlewis?) has an idea, please don’t hesitate to post.