October 17, 200619 yr Hiya,I want to make an Autoit script for this little tool called audiograbber,http://www.audiograbber.com-us.net/download.htmlI made following script for it and it works perfect but for the life of me I just cannot get the FINISH button at the end to be pushed???Run("agsetup.exe")WinActivate("Audiograbber 1.83 installation", "This installation program will install Audiograbber.")WinWaitActive("Audiograbber 1.83 installation", "This installation program will install Audiograbber.")controlclick("Audiograbber 1.83 installation", "&Next >", "Button1")WinActivate("Audiograbber 1.83 installation", "Please select the directory where Audiograbber are to be installed")WinWaitActive("Audiograbber 1.83 installation", "Please select the directory where Audiograbber are to be installed")controlclick("Audiograbber 1.83 installation", "Browse", "Button5")ControlSetText("Select Destination Directory", "", "Edit1","C:\Program Files\audiograbber")controlclick("Select Destination Directory", "OK", "Button1")WinActivate("Audiograbber 1.83 installation", "Please select the directory where Audiograbber are to be installed")WinWaitActive("Audiograbber 1.83 installation", "Please select the directory where Audiograbber are to be installed")controlclick("Audiograbber 1.83 installation", "&Next >", "Button1")Send("{TAB}")Send("{TAB}")Send("{TAB}")Send("{SPACE}")Any help would be greatly appreciated, tell me what I did wrong.
October 17, 200619 yr I got it to work by adding these two linesto the end of your script.WinWaitActive("Audiograbber 1.83 Installation","Installation Completed!")ControlClick("Audiograbber 1.83 Installation","&Finish",3)
October 17, 200619 yr Author Excellent, it works:) So from what I can tell you didn't use the ClassnameNN to call on the button, you used the Control ID instead? Cuz I tried using the ClassNameNN(for audigrabber its Button1)and that never seemed to work, hence my question here.Still thx for helping me out man, really appreciate it.
Create an account or sign in to comment