Draconian Posted October 17, 2006 Share Posted October 17, 2006 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. Link to comment Share on other sites More sharing options...
jbm Posted October 17, 2006 Share Posted October 17, 2006 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) Link to comment Share on other sites More sharing options...
Draconian Posted October 17, 2006 Author Share Posted October 17, 2006 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. 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