Automatically Inserting Text Globally Let's say I want this action to happen on any program whenever I press F10 (or some other custom key combination):

Paste the text: "Hello World!"


There's a similar tool in Windows called AutoHotKey but apparently it doesn't have a Mac equivalent.

Any idea how to achieve this on Mac?
There is no option integrated into MacOS, but I think the software TextExpander is doing what you are asking for. You can specify shortcuts like "adr" to paste your whole address for example.