You will need a GUI Automation Tool
- Use a GUI Automation Tool
- Record or build a script
- Use Scheduler to schedule this to execute based on the triggers
Pointers
- I am familiar with HP QTP/UFT which is a functional testing tool. and it's not a free tool, What you describe is very easy to do for somebody familiar with this tool
- But it might be overkill if your goal is simply to achieve this as hobby and for home use. You might have to look for open source tools which can do the same.