i'm just a beginer in autoit here is code: #include<FF.au3> #include<Array.au3> _FFStart("http://www.Exemple.co.ma/") WinWaitActive("SSO v4.07.13 - Mozilla Firefox") ;Sleep(5000) $ct=_FFFormOptionselect("slctSSOService","name","http://www.google.co.ma/") If $ct=1 then Sleep(1000) Send("osounfou",1) sleep(1000) Send("{TAB}") sleep(1000) Send("Crypton'042488",1) _FFClick("Imagefield","name",0) WinWaitActive("TeamForge : Welcome - Mozilla Firefox") ;sleep(9000) Else Msgbox(0,"Error"," Error: " & @error) EndIf _FFLoadWait() $ct1= _FFLinkClick("https://www.coco.com") If $ct1<>1 Then Msgbox(0,"Error"," oops " & @error) EndIf Sleep(1000)