﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
738	"Unable to match uTorrent setup  ""Title"" and ""Visible Text"""	samsonluk@…		"In attempt to make a uTorrent auto install script.  

OS = Windows XP Pro/Home SP3
uTorrent Install Program Source: [http://download.utorrent.com/1.8.1/utorrent.exe]

Note: Installation target must not have a previous uTorrent install/uninstall, otherwise, the setup routine will not come out. If you need to uninstall uTorrent, registry keys associated with uTorrent must be completely sweep out with 3rd party utility.

AutoIt Script:
{{{
#region --- ScriptWriter generated code Start ---
Opt(""WinWaitDelay"",100)
Opt(""WinTitleMatchMode"",4)
Opt(""WinDetectHiddenText"",1)
Opt(""MouseCoordMode"",0)
Run('utorrent.exe')
WinWait(""μTorrent Setup"",""Create Start menu en"")
If Not WinActive(""μTorrent Setup"",""Create Start menu entry"") Then WinActivate(""μTorrent Setup"",""Create Start menu entry"")
WinWaitActive(""μTorrent Setup"",""Create Start menu entry"")
Send(""{TAB}{TAB}{TAB}{SPACE}{TAB}{SPACE}{TAB}{ALTDOWN}i{ALTUP}"")
WinWait(""μTorrent"",""Would you like to ma"")
If Not WinActive(""μTorrent"",""Would you like to ma"") Then WinActivate(""μTorrent"",""Would you like to ma"")
WinWaitActive(""μTorrent"",""Would you like to ma"")
Send(""{ALTDOWN}y{ALTUP}"")
WinWait(""Speed Guide"",""Choose the upload sp"")
If Not WinActive(""Speed Guide"",""Choose the upload sp"") Then WinActivate(""Speed Guide"",""Choose the upload sp"")
WinWaitActive(""Speed Guide"",""Choose the upload sp"")
Send(""{ALTDOWN}c{ALTUP}"")
WinWait(""μTorrent 1.8.1"","""")
If Not WinActive(""μTorrent 1.8.1"","""") Then WinActivate(""μTorrent 1.8.1"","""")
WinWaitActive(""μTorrent 1.8.1"","""")
Send(""{ALTDOWN}fx{ALTUP}"")
WinWait(""μTorrent"",""Do you really want t"")
If Not WinActive(""μTorrent"",""Do you really want t"") Then WinActivate(""μTorrent"",""Do you really want t"")
WinWaitActive(""μTorrent"",""Do you really want t"")
Send(""{ALTDOWN}y{ALTUP}"")
#endregion --- ScriptWriter generated code End ---
}}}

the above AutoIt script just stopped at the very first setup window screen. As you can see the ""Title"" and ""Visible Text"" are all matched with the WinActive(""μTorrent Setup"",""Create Start menu entry"") as indicated by Autoit Windows Info:

[[Image(http://i116.photobucket.com/albums/o7/nozomiHK/NewPicture002.jpg)]]"	Bug	closed		AutoIt	3.2.12.1	None	No Bug		
