program MorningStar; procedure OnDocumentComplete(URL : string); begin if URL = 'http://members.morningstar.com/DotNet/LogIn.aspx' then begin Fill('email', GetParam('ms_l')); Fill('password', GetParam('ms_p')); ClickImageButton('logingif'); end; end; begin Navigate('http://members.morningstar.com/DotNet/LogIn.aspx'); end.