Key Press

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
closed account (48bpfSEw)
ShellExecute

https://www.c-plusplus.net/forum/119418-full
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.
You're better off using AutoHotkey.
https://autohotkey.com/
a k n

do i set up keybindings from my computer or through c++
Topic archived. No new replies allowed.