locked
Task Scheduler to execute Keyboard commands RRS feed

  • Question

  • NOTE: I apologize in advance if this posts to the wrong Forum/Category, this is my first post.

    I'm trying to set up task scheduler to do two things upon a user logging in to my work network on a specific day and only once and then be done. I want task scheduler to open a .txt file after the user logs in (just for the person to read) and I want it to execute a specific chain of keyboard buttons.

    I got task scheduler set to open the .txt file to read, but I don't know how to make it run keyboard commands. I'm guessing I need to write a .bat file with keyboard commands that gets run before the the .txt file is opened. The key commands I want to execute are global and I want them executed from the desktop. However I don't know how to write a batch file with keyboard commands in it.

    If that's the best way can someone help me? Or if you know a better way to execute keyboard commands on user log in that's even better! Thanks!

    Friday, September 25, 2015 1:42 PM

Answers

All replies