thank you very much now i m with the computer that used to work.
Now it not work here too. I dont know why:
i change the code to
Opt("WinTitleMatchMode", 2)
HotKeySet("{Esc}", "Terminate")
$i=0
$loop=0
ToolTIp('ControlClick(" My Brute", "", "[CLASS:MozillaWindowClass; INSTANCE:6]") [Stop by Ctrl+{F12}] # of click='&$i&'/'&$loop,0,50)
While 1
$loop+=1
If WinExists(" My Brute") Then
$clicked=ControlClick("My Brute", "", "[CLASS:MozillaWindowClass; INSTANCE:6]")
$i+=1
Sleep(5000)
EndIf
EndIf
ToolTIp('ControlClick("My Brute", "", "[CLASS:MozillaWindowClass; INSTANCE:6]") [Stop by Ctrl+{F12}] # of click='&$i&'/'&$loop,0,50)
sleep(1000)
WEnd
Func Terminate()
ToolTip("")
Exit 0
EndFunc
Now the $clicked=ControlClick() always return 0.
I have checke the control instance with "autoit windows info", it still show something like this:
>>>> Window <<<<
Title: ballkun My Brute - Mozilla Firefox
Class: MozillaUIWindowClass
Position: -4, -4
Size: 1288, 968
Style: 0x15CF0000
ExStyle: 0x00000100
Handle: 0x005718A0
>>>> Control <<<<
Class: MozillaWindowClass
Instance: 6
ClassnameNN: MozillaWindowClass6
Advanced (Class): [CLASS:MozillaWindowClass; INSTANCE:6]
ID:
Text:
Position: 537, 452
what is the problem now?