I'm trying to make a keyboard trigger for my WinForm application that calls out Windows key + # (# = a number key) shortcut which launches a new instance of the application in the nth slot on the taskbar.

For example, I would like to run Photoshop, which is in the first slot of my taskbar.

WinKey+1

I've heard of the CTRL+ESC alternative, but the code below does not work.

SendKeys.Send("^{ESC}1")

Any other alternatives? Do I need to run a batch file for this?

Thanks! :)

Edit
Report