Send windows key in vbs?

前端 未结 5 923
生来不讨喜
生来不讨喜 2021-01-12 18:12

I\'ve looked everywhere for this, is it actually possible to do? If you press WIN + LEFT ARROW it will mount your selected window to the left of your screen, and that\'s exa

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-12 19:09

    Set Keys = CreateObject("WScript.Shell")
    
    Keys.SendKeys("^{Esc}")
    

    This should work, it Simulates the push of the Windows key by pushing the CTRL ^ and the ESC {Esc}keys, i don't know how to make the window mount to the left of the screen

提交回复
热议问题