Skip to content

Instantly share code, notes, and snippets.

@jrichardsz
Created August 18, 2017 04:16
Show Gist options
  • Select an option

  • Save jrichardsz/5a55c21b2a7b397d92a32c03b5265ae7 to your computer and use it in GitHub Desktop.

Select an option

Save jrichardsz/5a55c21b2a7b397d92a32c03b5265ae7 to your computer and use it in GitHub Desktop.
script autoit creado en el video
main2()
func main2()
$cont=0
$salto=18
global $num_elem = 20
global $arr[$num_elem]
While $cont < $num_elem
MouseClick("right",69,105 +$salto*$cont,1)
Sleep(125)
Send("{DOWN 22}")
Sleep(125)
Send("{ENTER}")
Sleep(125)
MouseClick("left",657,259,3)
Sleep(125)
Send("^c")
$arr[$cont] = ClipGet()
Send("{ESC}")
$cont = $cont+1
Wend
muestraLinks()
endfunc
Func muestraLinks()
Sleep(500)
Send("#r")
Sleep(125)
Send("notepad")
Send("{ENTER}")
Sleep(500)
$cont=0
While $cont < $num_elem
pegarTexto($arr[$cont])
$cont = $cont+1
Send("{ENTER}")
Wend
EndFunc
Func pegarTexto($texto)
ClipPut($texto)
Send("^v")
EndFunc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment