Jump to content

Audiograbber + Autoitv3 not working?


Recommended Posts

Hiya,

I want to make an Autoit script for this little tool called audiograbber,

http://www.audiograbber.com-us.net/download.html

I 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


I got it to work by adding these two lines

to 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...