1.

Solve : send key?

Answer»

hi

pleas if possible :

i NEED a batch cod that send alt+F1 KEY every 60 SEC ?!

thanks...You would probaby be better of doing this with AutoHotKey or AutoIt. But I am sure it could do it with a VBscript and SendKeys but batch would not be the right way to go.Quote from: raminr63 on January 13, 2012, 12:39:05 PM

i need a batch cod that send alt+F1 key every 60 sec ?!

Why do you need this?
Relevant information...

an AutoIt / AutoHotkey comparison


That can't be done in batch, but it can in vbs:

Code: [Select]Set WshShell = CreateObject("WScript.Shell")

while true
Wscript.Sleep 60000
WshShell.sendkeys "%{F1}"
wend

This is an infinite LOOP so you'll have to change that part for your needs.nice thanks


Discussion

No Comment Found