I find that the above action isn't working (yes, I do have "Press and Hold" selected.) Someone else reported that the action wasn't working here, four years ago:
And the response was to not use this action. Well that advice doesn't work for me, for reasons stated in my first post. So can someone confirm the above post that the "Type the Option Modifier (and Press and Hold until end of macro)" action doesn't work? Why was the user told not to use this method to press modifiers?
I found an AppleScript command that looks like this:
tell application "app-name" to key code 124 using option down
The problem is that the word "option" appears to be an AppleScript keyword, not a variable/string, so it doesn't give me any advantage over KM, which also requires hardcoded modifiers.