Page 1 of 1

batch file every second Alt+F3

Posted: 21 Dec 2011 09:09
by tomboman
Hi, I want to make a batch file that press every second the Alt + F3 combination.

I have no idea how I have to make this, can someone help me?

Re: batch file every second Alt+F3

Posted: 21 Dec 2011 11:44
by aGerman
tomboman wrote:Hi, I want to make a batch file that press every second the Alt + F3 combination.

No way.

tomboman wrote:can someone help me?

Not sure. Have a look at SendKeys in VBScript or JScript. But it's not applicable to a lot of computer games (the developers already know such tricks).

Regards
aGerman

Re: batch file every second Alt+F3

Posted: 21 Dec 2011 20:19
by orange_batch
It's'a ease'ay...

http://msdn.microsoft.com/en-us/library ... dkeys.aspx

presskey.vbs

Code: Select all

set a=wscript.createobject("wscript.shell")
a.sendkeys "%{F3}"

DOS:

Code: Select all

cscript presskey.vbs //nologo