Same Shortcut in different programs

Hi, i'm a newbie and try my best;) I want to start now with KM. i'm coming from QKeys
1st: i need to create a shortcut to insert Text - for example in Safari - and i need the same shortcut in Pages. How can i make that?
2nd: i need a shortcut for the menu in a programm. How can i make that
I thank you in advance

Hi @Tamascha

just use the available in these applications

ie

image

Z

Thank you:)Where can i find this 'finder change dirs?

that’s a macro I created
see example