picorico Posted February 22, 2014 Share Posted February 22, 2014 (edited) Hi everyone!I´ve been trying to make a script with Autoit but I can get past the window "select your languaje". It doesn´t do anything (activate the window), I tried to put a sleep but I got the the same result.To make it short, I can´t get a grip of the "select your languaje" windows. And I tried The WinWait Function. ;(Here`s the code:Run ("aTubeCatcher.exe")WinWait ("aTube Catcher","Bienvenido al Asiste")If Not WinActive ("aTube Catcher","Bienvenido al Asiste") then WinActivate ("aTube Catcher","Bienvenido al Asiste")Send("{ENTER}")WinWait ("aTube Catcher ","Por favor revise el ")If Not WinActive ("aTube Catcher ","Por favor revise el ") then WinActivate ("aTube Catcher ","Por favor revise el ")Send("{ENTER}")WinWait ("aTube Catcher ","Selección de compone")If Not WinActive ("aTube Catcher ","Selección de compone") then WinActivate ("aTube Catcher ","Selección de compone")Send("{ENTER}")WinWait ("aTube Catcher ","Elegir lugar de inst")If Not WinActive ("aTube Catcher ","Elegir lugar de inst") then WinActivate ("aTube Catcher ","Elegir lugar de inst")Send("{ENTER}")WinWait ("aTube Catcher ","Elegir Carpeta del M")If Not WinActive ("aTube Catcher ","Elegir Carpeta del M") then WinActivate ("aTube Catcher ","Elegir Carpeta del M")Send("{ENTER}")Sleep (25000)WinWait ("Select your language","Ok")If Not WinActive ("Select your language","Ok") then WinActivate ("Select your language","Ok")Send("e{TAB}{ENTER}");WinWait ("aTube Catcher 3.8.5187","Default settings loa");If Not WinActive ("aTube Catcher 3.8.5187","Default settings loa") then WinActivate ("aTube Catcher 3.8.5187","Default settings loa")Sleep (2000)Send("{ENTER}")WinWait ("aTube Catcher ","Finalizando el Asist")If Not WinActive ("aTube Catcher ","Finalizando el Asist") then WinActivate ("aTube Catcher ","Finalizando el Asist")Send("{SPACE}{ENTER}")WinWait ("No se puede encontrar el servidor - Internet explorer proporcionado por GP","Vínculos")If Not WinActive ("No se puede encontrar el servidor - Internet explorer proporcionado por GP","Vínculos") then WinActivate ("No se puede encontrar el servidor - Internet explorer proporcionado por GP","Vínculos")Send("{ALTDOWN}{F4}{ALTUP}")Thanks in advance.Atube Good.au3 Edited February 22, 2014 by picorico Link to comment Share on other sites More sharing options...
condor Posted March 12, 2014 Share Posted March 12, 2014 (edited) Try thisaTube_Catcher.exe /SLE. Not pass language select....sorry Edited March 12, 2014 by condor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now