im pretty sure a batch file does not have the capabilities to do this.
you could try this though.
MacroMaker allows the user to build complex macro commands and keystroke/mouse recordings, that can be assigned to hotkeys or run on a schedule. The program enables you to simulate a series of keystrokes, execute built-in functions, pop up dialog boxes or play a previous recording with just a keystroke. In addition, MacroMaker can store textual content from the clipboard in internal buffers for later use. The program is easy to use and offers a graphical keyboard interface to select the input keys. It can be used to create simple shortcut keys as well as complex macro routines that perform multiple tasks, manipulate data and use logics like Wait, Repeat, Loop etc.