frankokasilda Posted February 20, 2009 Share Posted February 20, 2009 Hello! I´m new in this forum and i´m not speak english (i´m from Argentina), so what you´ll sorry me for my english My problem is that i write the firt part code Alcohol 120% installation like this $title = "Alcohol 120% 1.9.8.7117"Run("Alcohol1.9.8.7117.exe")WinWait($title) ControlClick($title, "Click Next to continue.", "&Next >", "Button1")but the installation stops at this window:when the next window should appear.. I wold like to know what i´m doing wrong :/Thank you! Link to comment Share on other sites More sharing options...
jvanegmond Posted February 20, 2009 Share Posted February 20, 2009 Close, but not quite. Study the help file closely for ControlClick documentation and the Controls page. You may end up with something more like: ControlClick($title, "", "[TEXT: &Next >]", "Left") TEXT is normally only used a last resort. Use the control id or its classname. github.com/jvanegmond Link to comment Share on other sites More sharing options...
weaponx Posted February 20, 2009 Share Posted February 20, 2009 Can't you just install it silently? setup.exe /qnhttp://www.appdeploy.com/packages/detail.asp?id=375 Link to comment Share on other sites More sharing options...
youknowwho4eva Posted February 20, 2009 Share Posted February 20, 2009 I have also experienced installation's where you have to send the click twice. When I first started with autoit I used all sends and when I would do it with the keyboard the installation would go, but with the script it would stick unless I hit enter or space twice. Giggity Link to comment Share on other sites More sharing options...
frankokasilda Posted February 20, 2009 Author Share Posted February 20, 2009 No, i used very much commands (/qn, /silent, /verysilent etc etc), but no one worked, because of this i tried to do a script, but i cant do it, i write like this ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y ]]]] ) Parameters title The title of the window to access. text The text of the window to access. controlID The control to interact with. See Controls. button [optional] The button to click, "left", "right", "middle", "main", "menu", "primary", "secondary". Default is the left button. clicks [optional] The number of times to click the mouse. Default is 1. x [optional] The x position to click within the control. Default is center. y [optional] The y position to click within the control. Default is center. Thats the AutoIt Help, i follow the indications but nothing.. :/ also i do like Manadar told me, but nothing, The Alcohol version is 1.9.8.7117 (the last one) Link to comment Share on other sites More sharing options...
frankokasilda Posted February 20, 2009 Author Share Posted February 20, 2009 I can´t edit my message, here write what happened to me I wrote: $title = "Alcohol 120% 1.9.8.7117" Run("Alcohol1.9.8.7117.exe") WinWait($title) ControlClick($title, "Click Next to continue.", "&Next >") and the next window appears!!! It worked!! I´m going to continue working very much until finish it and i could to do the code public for you, so you can use it. Thank you very much for help and the fast answers!! 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