Can some good angel make me a batch file that simulates keystrokes?
That acts as if I had hit ALT+F11
Batch file for keystroke
Moderator: DosItHelp
Re: Batch file for keystroke
There is no possibility using pure batch. Other Windows scripting languages (like PowerShell, VBScript, JScript) are able to send keystrokes to the window that currently has the keyboard focus.
Steffen
Steffen
-
- Posts: 3
- Joined: 03 Jun 2017 03:33
Re: Batch file for keystroke
Thanks!
Maybe someone can give me a VBScript file for this?
Maybe someone can give me a VBScript file for this?
Re: Batch file for keystroke
Meanwhile you would have found thousands of examples in the internet. Never mind.
*.vbs
Manpage
Steffen
*.vbs
Code: Select all
WScript.CreateObject("WScript.Shell").SendKeys "%{F11}"
Manpage
Steffen
-
- Posts: 3
- Joined: 03 Jun 2017 03:33
Re: Batch file for keystroke
Thanks!
I did find one, but anyway...
I did find one, but anyway...