Sign in to follow this  
Followers 0
frankokasilda

Problem with AutoIt Script for Alcohol 120%

6 posts in this topic

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:

Posted Image

when the next window should appear.. :)

I wold like to know what i´m doing wrong :/

Thank you!

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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!!

Share this post


Link to post
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
Sign in to follow this  
Followers 0