RodrigoRR Posted August 11, 2016 Share Posted August 11, 2016 (edited) Hello, good night everyone! im new in this Vbs world, so im learning step by step recently I been tempted by make buttons for my own satisfy using windows and bars as rocketdockI added my first vbs codes 1 for windows menu, and 2 for task managerso now, Im trying to write one that helps me to simulate: windows key + S, this combination of keys opens the windows search, also im interested in one for screenshot directed to the desktop (not sure if this last is possible with vbs)can you please help me to make it? I would appreciate a lot! Also I share with you the mentioned scripts for task manager and windows menuset wShell=wscript.createobject("wscript.shell") wShell.sendkeys "+(^{ESC}"set wShell=wscript.createobject("wscript.shell") wShell.sendkeys "+(^{ESC})" Edited August 11, 2016 by RodrigoRR Link to comment Share on other sites More sharing options...
RodrigoRR Posted August 11, 2016 Author Share Posted August 11, 2016 nobody? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 11, 2016 Share Posted August 11, 2016 It looks like sendkeys does not include a way to simulate the Windows key. It looks like a program like AutoIt will do that though. https://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now