ok so lets say i wanted to make a program where if i hit lets say space bar itll do something like open up google chrome or something like that how would i go about doing that
I don't what you Operating System you use, but for simple tasks like this, you could simply set up keybindinds, I launch my IDE, Editor, Brower etc directly from keybindings.