I went to Automator and do not see "services" as an option.I don't know if there is a better way, but I did something similar by creating a service with Automator that does what I want, and assigning a shortcut in System Settings (under the keyboard shortcuts settings, section "services").
I am pretty sure there are some apps that can simplify this, for example I have heard of Karabiner Elements but I haven't tried them.
Sorry for the confusion. I think it's called Workflow in Automator but then you will see it under Services->General in the keyboard shortcuts.I went to Automator and do not see "services" as an option.
Not Workflow, Quick ActionI think it's called Workflow in Automator but then you will see it under Services->General in the keyboard shortcuts.

tell application "System Events"
keystroke "qwerty:uiop"
end tell
You can’t use Command-H, it’s used for hide in most apps. You can use Command+Shift+HFor example if I want to enter qwerty:uiop by simply pressing command-h, how can I do this?
I had found shortcut.app and created the shortcut, but I don't see how to execute it, ie I don't see how I could make the shortcut run by a certain keystroke combo.
You can use the same AppleScript from above.As I said I would like , eg "cmd shift h", to automatically type in qwerty:uiop and don't see how to accomplish that in shortcut.app.
You can use the same AppleScript from above.
created the shortcut, but I don't see how to execute it, ie I don't see how I could make the shortcut run by a certain keystroke combo
Read again.The OP did create a shortcut; he just couldn't figure out how to assign a keyboard shortcut to the shortcut:
Are you trying to make a shortcut for Home in Firefox?In the text to enter I typed the desired input "about:home" and then hit <enter> to make that part of the macro.