Key input

I am c++ noob and I want to know if there is anyway to make a program that generates a key press (like F5) every 10 seconds.
My goal is to make my browser window to refresh every 10 seconds.
Wouldn't it be simpler just to create a page with a frame targeting your preferred URL that refreshes every 10 seconds?
A browser extension may be another simple method. https://developer.chrome.com/extensions/getstarted
Try Autohotkey.
http://www.autohotkey.com/
Topic archived. No new replies allowed.