how to perform a hold ALT+TAB sendkey event in C#

前端 未结 4 632
悲哀的现实
悲哀的现实 2021-01-13 11:43

I am trying to use a sendkey event that holds the ALT key and then presses the TAB key. How do you perform that action, I\'ve tried many variations but I can\'t seem to find

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-13 12:18

    After going through the MSDN documentation page I came up with this and it seems to be working just fine for me:

    SendKeys.Send("%{Tab}");

提交回复
热议问题