MSFN Forum: Audiograbber + Autoitv3 not working? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Audiograbber + Autoitv3 not working? Can't get it to work with audiograbber:( Rate Topic: -----

#1 User is offline   Draconian 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 13-October 06

Posted 17 October 2006 - 08:23 AM

Hiya,

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

http://www.audiograb...t/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???

Quote

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.


#2 User is offline   jbm 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 626
  • Joined: 16-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 October 2006 - 09:34 AM

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)


#3 User is offline   Draconian 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 13-October 06

Posted 17 October 2006 - 09:57 AM

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy