Código:
@echo off
cd "%programfiles%\internet explorer"
start "" iexplore.exe http://biboz.net/boton-rojo/
nircmd win activate ititle "Pulsa el boton rojo"
nircmd wait 1000
nircmd sendkey 0x09 press
nircmd wait 100
nircmd sendkey 0x09 press
nircmd wait 100
nircmd sendkey 0x09 press
nircmd wait 100
nircmd sendkey 0x09 press
nircmd wait 100
nircmd sendkey 0x09 press
nircmd wait 100
nircmd sendkey 0x09 press
nircmd wait 100
nircmd sendkey 0x09 press
nircmd wait 100
nircmd sendkey enter press
Lo hice con Iexplore ya que con Firefox no me interpretaba los sendkeys del TAB.
Breve explicacion del code :
Código:
nircmd win activate ititle "Pulsa el boton rojo"
Código:
nircmd wait 1000
Código:
nircmd sendkey 0x09 press
Código:
nircmd sendkey enter press
PD : A el code le tienes que hacer sus respectivas modificaciones.
PD 2 : Esto iva en Scripting.
Saludos.