el codigo que tengo es este:
Code: Select all
F9::
Repetir:
send,{HOME}
SendInput ^c
Sleep 500
tipo = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
cuil := RegExReplace(clipboard, "\D") ;only numbers
send,{Tab}
SendInput ^c
Sleep 500
nombre = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
apellido = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
correo = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
cargo = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
rala = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
dg = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
area = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
direccion = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
telefono := RegExReplace(clipboard, "\D") ;only numbers
send,{Tab}
send,{Tab}
send,{Tab}
SendInput ^c
Sleep 500
cor = %clipboard%
send,{Tab}
SendInput ^c
Sleep 500
vpn = %clipboard%
KeyWait, RCtrl, Down
KeyWait, RCtrl, Up
SendInput %cuil%
Sleep 500
send,{Tab}
SendInput %tipo%
Sleep 1000
send,{Tab}
SendInput ^c
Sleep 500
nombre = %clipboard%
Sleep 500
send,{Tab}
SendInput ^c
Sleep 500
apellido = %clipboard%
send,{Tab}
send,{Tab}
send,{ENTER}
send,{Tab}
SendInput %correo%
Sleep 500
send,{Tab}
SendInput %cargo%
Sleep 500
send,{Tab}
SendInput %area%
Sleep 500
send,{Tab}
SendInput %direccion%
Sleep 500
send,{Tab}
send,{Tab}
SendInput %telefono%
Sleep 500
send,{Tab}
send,{Tab}
send,{Tab}
SendInput %vpn%
Sleep 500
send,{Tab}
SendInput %cor%
Sleep 500
send,{Tab}
send,{Tab}
SendInput ^c
Sleep 500
corofi = %clipboard%
send,{Tab}
SendInput %rela%
Sleep 500
send,{Tab}
SendInput %dg%
Sleep 500
KeyWait, RCtrl, Down
KeyWait, RCtrl, Up
SendInput %cuil%
Sleep 500
send,{Tab}
SendInput %nombre%
Sleep 500
send,{Tab}
SendInput %apellido%
Sleep 500
send,{Tab}
SendInput %corofi%
Sleep 500
send,{Tab}
SendInput %dg%
Sleep 500
send,{Tab}
SendInput %area%
KeyWait, RCtrl, Down
KeyWait, RCtrl, Up
cadenaFinal = Estimada/o el usuario %nombre% %apellido% fue dado de alta, si no recuerda o no tiene contraseña puede generarla desde identidad.buenosaires.gob.ar.{Enter}el correo del agente es %corofi% {Enter}Puede ingresar al mismo desde correo.buenosaires.gob.ar {Enter}{Enter}Nota: una vez generada la contraseña deberá esperar una hora para que el correo este operativo.{Enter}{Enter}Recuerde que si no utiliza el correo el mismo se da de baja automáticamente, y reactivarlo es complejo.{Enter}{Enter}De haberlo seleccionado en el formulario se reenvía para alta en SADE y LUNNA{Enter}{Enter}saludos.
SendInput %correo%
send,{Tab}
send,{Tab}
SendInput %cadenafinal%
Esc:: Reload
return
Muchas gracias de antemano.