lcURL='http://www.ieinspector.com/dominspector/' lcEmail='myemail@mysite.it' lnTime=1200 && 12 seconds Public lox lox=Createobject('internetexplorer.application') lox.visible=.T. lox.Navigate(lcURL) If !NavComplete(lox,lnTime) ??Chr(7) Wait 'Timeout feil!' Window lox.Visible=.F. Release lox Return Endif lox.document.forms.item(0).email.innertext=lcEmail *lox.document.forms.item(0).childNodes.item(4).childNodes.item(3).click() && Commented out for obvious reasons.... Function NavComplete Lpara toIE, tnTimeout lnTimeout=Iif( Type("tnTimeout")="N",tnTimeout ,60 ) lnTimeElapsed=0 lnStartSeconds=Seconds() Do While .T. If toIE.ReadyState=4 And !toIE.Busy Do While .T. If toIE.Document.ReadyState="complete" Return .T. Endif If (Seconds()-lnStartSeconds)>lnTimeout Return .F. Endif Enddo Endif If (Seconds()-lnStartSeconds)>lnTimeout Return .F. Endif Enddo Endfunc>Really interesting Tore thanks, I don't know if it will solve my problem but it's great anyway.