KevinChC

Help with script!

3 posts in this topic

Hey guys, Im totally new with script writing and I downloaded AutoIt to learn. So I started by doing a script that will open and log in in all the software that we use in my job, the thing is I can't manage to get the script to log in in a website.
This is the html code of the website.

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<html xmlns="http://www.w3.org/1999/xhtml" >

<head><link href="App_Themes/SampleSiteTheme/jquery-ui-1.9.1.custom.css" type="text/css" rel="stylesheet" /><link href="App_Themes/SampleSiteTheme/jquery-ui-1.9.1.custom.min.css" type="text/css" rel="stylesheet" /><link href="App_Themes/SampleSiteTheme/StyleSheet.css" type="text/css" rel="stylesheet" /><link href="App_Themes/SampleSiteTheme/StyleSheet2.css" type="text/css" rel="stylesheet" /><title>

        :: Ingreso a Escritorio Virtual ::

</title>  

 <style type ="text/css">

   

    

#master_page1

{

        margin:   -1px   auto  0px  auto;

 

}

#master_header1

{   width: 50em;

        margin:  50px  auto  0px  auto;      

  

}

#master_headertop1

{    width: 50em;

        background: url(./background_main.jpg) no-repeat  center top;

       

}

 

#master_content1

{

       

    width: 50em;      

        color: #666666;

        list-style-type: disc;

       

}

#master_contentheader1

{           

   background: url(rightcoltop.gif) no-repeat  left top;

   font-family : verdana,arial,helvetica,sans-serif; 

   font-weight:bold ;

   font-size :1em;

   text-align :left ;

  

}

#master_contentplaceholder1

{

        padding:      5px  0px  40px 20px;

        border-left: 1px solid #0F2543;

        border-right: 1px solid #0F2543;

        border-bottom: 1px solid #0F2543;

        background-color: #EFEFEF;

        line-height: 1.5em;

      height:auto;

   

}

.submit {

       

    margin-top: 4px;

        margin-bottom: 4px;

        font-size: 7pt;

       

}

body {

        margin: 0px;

        background: #FFFFFF  ;

               margin:0;

        padding:0;

        border:none;

        font-family: Verdana, Arial, Serif;

        font-size:7pt;

}

 

input[type=radio]

{       height :5px ;   

}

td{

        font-size:7pt;

    font-family: Verdana, Arial, Serif;

}

table{

      font-size:7pt;

    font-family: Verdana, Arial, Serif;

     

  }

 

#login a:link, #login a:visited {

        color: #FFFFFF;

        font:0.7em  Verdana,Arial,Helvetica,sans-serif;

}

/* define other elements inside the main layout divs */

#title h1 {

        display: inline;

        color: #FFFFFF;

        font-size: 10px;

        font-weight: bold;

}

#h2 {

        font-size: 1.1em;

        font-weight: bold;

}

 

 

    </style>

<link href="App_Themes/SampleSiteTheme/jquery-ui-1.9.1.custom.css" type="text/css" rel="stylesheet" /><link href="App_Themes/SampleSiteTheme/jquery-ui-1.9.1.custom.min.css" type="text/css" rel="stylesheet" /><link href="App_Themes/SampleSiteTheme/StyleSheet.css" type="text/css" rel="stylesheet" /><link href="App_Themes/SampleSiteTheme/StyleSheet2.css" type="text/css" rel="stylesheet" /></head>

 

<body>

    <form name="aspnetForm" method="post" action="login.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm">

<div>

<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />

<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />

<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />

<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJMzIxOTQwMTgzD2QWAmYPZBYCAgMPZBYCAgUPZBYCAgEPZBYCZg9kFgICAQ88KwAKAQAPFgQeDVJlbWVtYmVyTWVTZXRnHghVc2VyTmFtZQUMa2NoaW5jaGlsbGFjZGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgEFM2N0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkbGduTG9naW4kTG9naW5JbWFnZUJ1dHRvbsTn4BQH022MG8UgHugxMNFgUs07" />

</div>

 

<script type="text/javascript">

//<![CDATA[

var theForm = document.forms['aspnetForm'];

if (!theForm) {

    theForm = document.aspnetForm;

}

function __doPostBack(eventTarget, eventArgument) {

    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {

        theForm.__EVENTTARGET.value = eventTarget;

        theForm.__EVENTARGUMENT.value = eventArgument;

        theForm.submit();

    }

}

//]]>

</script>

 

 

<script src="/EscritorioVirtual/WebResource.axd?d=rwZGOeiOvC4bU_EifnFaVHvMBfZck8Lg5rO_spWwvGiC_1tDDx8A1c-Vz9FkMzFTH09W9Jo3D4Fnhq_nqOi9t_BGv-k1&amp;t=634604209351482412" type="text/javascript"></script>

 

 

<script src="/EscritorioVirtual/ScriptResource.axd?d=Vq_x9-UKlMGtQxX0ZoQ6aAF3tuacjVvKfP8M2pOlhOdlwFvCVq_XqZcFdX7Yoq5EKEgta5KUbYHJwkOtt9w5LGB5yPrw0msLdFYMOQsxi67vyrK_hG4GZLINnuHcO60j3nSKgsVQwHekdf6PYbPEp_ID7K81&amp;t=634604209351482412" type="text/javascript"></script>

<script type="text/javascript">

//<![CDATA[

var __cultureInfo = '{"name":"es-CR","numberFormat":{"CurrencyDecimalDigits":2,"CurrencyDecimalSeparator":",","IsReadOnly":true,"CurrencyGroupSizes":[3],"NumberGroupSizes":[3],"PercentGroupSizes":[3],"CurrencyGroupSeparator":".","CurrencySymbol":"₡","NaNSymbol":"NeuN","CurrencyNegativePattern":0,"NumberNegativePattern":1,"PercentPositivePattern":0,"PercentNegativePattern":0,"NegativeInfinitySymbol":"-Infinito","NegativeSign":"-","NumberDecimalDigits":2,"NumberDecimalSeparator":",","NumberGroupSeparator":".","CurrencyPositivePattern":0,"PositiveInfinitySymbol":"Infinito","PositiveSign":"+","PercentDecimalDigits":2,"PercentDecimalSeparator":",","PercentGroupSeparator":".","PercentSymbol":"%","PerMilleSymbol":"‰","NativeDigits":["0","1","2","3","4","5","6","7","8","9"],"DigitSubstitution":1},"dateTimeFormat":{"AMDesignator":"a.m.","Calendar":{"MinSupportedDateTime":"\/Date(-62135575200000)\/","MaxSupportedDateTime":"\/Date(253402300799999)\/","AlgorithmType":1,"CalendarType":1,"Eras":[1],"TwoDigitYearMax":2029,"IsReadOnly":true},"DateSeparator":"/","FirstDayOfWeek":0,"CalendarWeekRule":0,"FullDateTimePattern":"dddd, dd\u0027 de \u0027MMMM\u0027 de \u0027yyyy hh:mm:ss tt","LongDatePattern":"dddd, dd\u0027 de \u0027MMMM\u0027 de \u0027yyyy","LongTimePattern":"hh:mm:ss tt","MonthDayPattern":"dd MMMM","PMDesignator":"p.m.","RFC1123Pattern":"ddd, dd MMM yyyy HH\u0027:\u0027mm\u0027:\u0027ss \u0027GMT\u0027","ShortDatePattern":"dd/MM/yyyy","ShortTimePattern":"hh:mm tt","SortableDateTimePattern":"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss","TimeSeparator":":","UniversalSortableDateTimePattern":"yyyy\u0027-\u0027MM\u0027-\u0027dd HH\u0027:\u0027mm\u0027:\u0027ss\u0027Z\u0027","YearMonthPattern":"MMMM\u0027 de \u0027yyyy","AbbreviatedDayNames":["dom","lun","mar","mié","jue","vie","sáb"],"ShortestDayNames":["do","lu","ma","mi","ju","vi","sá"],"DayNames":["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],"AbbreviatedMonthNames":["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],"MonthNames":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""],"IsReadOnly":true,"NativeCalendarName":"calendario gregoriano","AbbreviatedMonthGenitiveNames":["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic",""],"MonthGenitiveNames":["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre",""]}}';//]]>

</script>

 

<script src="/EscritorioVirtual/ScriptResource.axd?d=3dhXQOSYsZwcq4triCQe1m_eMlFYcisJuFS_nygUH5nj4OjDvevvmiRQMoBiJz8ufP89r_9nK0uL-A-ndYgZDSzz2rbX18Ngh_50xMpZNi3gNNtnHoQmVwH2aG-L6n6OTkRsGFqDzvfGv5ljwNfNUFNHDRM1&amp;t=634940462130273847" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=YIBWdKNFlJBr4mGmjQfQHQbm-MGFyL-PO0hPhRLO0q4RXh_NdmwPe63OE-QsLDziNGQZbHWKLIxeja2kLmtrdII8Xs6GrHc3zdqzFKoruB4B5xnTASJye5gP_OAWsvyTcNg02AABxWcupiozQd1t74qRXjVaWDSMm6Y_YaYpgfLz3JJD0&amp;t=634940462130273847" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=ICNmvli7crOrZLHS8sYSqnClRUCYsyA68Jsi_AZovwL0UnJy2AzvmZosrUSf_m5gXy4DMN93i0R3u9w71yiuvXAde8nrdWeJY4ETGGP6VnIhvQQEIvK8u489i9id-P_FHPao2G0aSFzjYVzJETG4WwgUjN01&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=KoDmbeRTKdYWjUQbLJh5w0YFjCt_VHlHMdx-64zowfiIQKHKzocTVH_hYFx436E4nUgMnEPEGhpfLzuLJMstm045SYLZTF-oo3qplpnZNldAyeAu-roRQT4Rr53jrMaD-9QcOvfBm0tZN2xKotnxckye2UA1&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=Mv7eBgXS1VQnqpwrHX1rxKG8gPi--PVsEj0s-lkOAyGQYdufIglyK0AIrvrWa2iONUW1LW8SabibPWsfEhNA-uqAG6pxSL0n7PFd-lhRFqbPhnoCXr9BDbhckw7ORlazuiAqMG5nnjBVIxS2pBinahSM4lk1qWKd4rSGIxTO9fuiDoC10&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=ybPGha1ION8ZqnDI_awnQdNpDpk197pbeUtOMzGOBiyQUVvL2ON-971KDKXmiVT_mm_Au9WJnBdpLVvwVoL3VYZn_l9HJxTwB20hUQTaIdXeNa0IRf6OjgyGrxYxo0WT7bh53XF_l0s4MQ2Njk-19szVbcU1&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=MTqLvE-29TyoxPuDcZ5XjKsHSKUwnYbrNZ_aWaEpK7d-5m7JOQOALxbGrVeuCDxx2dWaIuICKblm3qoojd9GWcpBuE-PCKI0enF1qkrhkP2beOO-QaK2Zxzj0ZuX5Q4BJ-zPJd0wBjzjOlPUPbw2Uw8YH3p7QWVEz3zBhbhdsEjJmxrB0&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=XyA_Uz0X4bClWqmj92oj_Nl0RWmykGZz4LuAKXH1ohn2qTNlcLH5cUMDbYJmZZ5IWTPkXm--8Y8iSi3k9OXiyMjVDrnSzjxnnxkoxHyKX8gV24yBXRJSbBGAYo-rdIRvAJdYtEOuoaOIZy7f95aLCzHxmEJrjI9ddZC53sUJuWKxjRY_0&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=UdQnvGaTDCHao-3Wgd2zlEanfj6d-xzHI9HnWYkqvsM1nvlFX_SYuyAn8b8_vGPoZxTaYfrnBrnpeEDaGgPDlli-sLcHtyklr3-1B8Id-nqMWieiORDzMAqB9rSL5YnTOXKHZyG6GyDMxWkrFsYjgY_hvdvuHiBs1h8zenILqPvZ4G2u0&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=ZlVhHJoRocD-tTT9sVyFUftbNoZcTCPB016gVhk1pEO9BoSFlsuUe8bxTR0jNDUd5QU7yWKdvhj9LAZescgyAGwR8dmQnnKkVVSpU5V5AbnIaJGduN8m_d0r9YISDWM9p684UeACsupXdOjVJ4Jf3qmYCnk1&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/ScriptResource.axd?d=UnjjGvrcQkhq5bhxDGcjhll4p7yOR-lsywtHxLtFBPknIfgesuLllHNrCYQRzfrQmMugNrR5LC1CYt3X-K8Oarxw_FF84ODM3G6-cWmIkPbuD4gCHr1c1y1bbaF4SeSMJCeNvzMA3JfXkgFgoQQzgMjev4y6rVvuh5ZrsnkkQ4U6YtJA0&amp;t=635733532692964325" type="text/javascript"></script>

<script src="/EscritorioVirtual/WebResource.axd?d=xYiroN1cQB6ODy_rewhMnJaoZ89IPRzY2RFGSHwE97VgUbCcjTuA7JthpEi601UFneGo_dfXU543y9N8gtAYlgeJcTE1&amp;t=634604209351482412" type="text/javascript"></script>

<script type="text/javascript">

//<![CDATA[

function WebForm_OnSubmit() {

if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;

return true;

}

//]]>

</script>

 

<div>

 

        <input type="hidden" name="__SCROLLPOSITIONX" id="__SCROLLPOSITIONX" value="0" />

        <input type="hidden" name="__SCROLLPOSITIONY" id="__SCROLLPOSITIONY" value="0" />

        <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBgL96pPKBgLLxdO8BgK9rLvbAQLphb3pAgL3lqzVCgKW2P7yArBRXOqI5n1Y4iJFOnxxgqh6i18v" />

</div>

         

<script type="text/javascript">

//<![CDATA[

Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager1', document.getElementById('aspnetForm'));

Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tctl00$ContentPlaceHolder1$upnlgn','tctl00$CuadroMensajes$upMensaje'], [], [], 90);

//]]>

</script>

 

   

        

     <div id="master_header1" align=center>

         

         <img id="ctl00_HeaderImage" src="background_main.jpg" alt="Ingreso" style="width:50em;border-width:0px;" />   

             

    </div>

       <div align=center id="master_page1" >

        <div id="master_content1">

         <div id="master_contentheader1" >

                  Inicio de Sesión.</div>

           <div id="master_contentplaceholder1" >

            

      

  

       

  

 <br/>

                     

            <span id="ctl00_ContentPlaceHolder1_upnlgn">

            <table cellspacing="0" cellpadding="3" border="0" id="ctl00_ContentPlaceHolder1_lgnLogin" style="border-color:Silver;border-width:1px;border-style:Groove;border-collapse:collapse;">

        <tr>

               <td><table cellpadding="0" border="0" style="font-family:verdana,arial,helvetica,sans-serif;font-size:X-Small;">

                       <tr>

                               <td align="center" colspan="2" style="font-family:verdana,arial,helvetica,sans-serif;font-size:1.2em;font-weight:bold;">Validar credenciales de acceso</td>

                       </tr><tr>

                               <td align="center" colspan="2">Ingrese un usuario y contraseña</td>

                       </tr><tr>

                               <td align="right" style="font-family:verdana,arial,helvetica,sans-serif;font-size:1em;"><label for="ctl00_ContentPlaceHolder1_lgnLogin_UserName">Usuario:</label></td><td><input name="ctl00$ContentPlaceHolder1$lgnLogin$UserName" type="text" value="kchinchillac" id="ctl00_ContentPlaceHolder1_lgnLogin_UserName" style="border-color:Gray;border-width:1px;border-style:Solid;font-size:1.2em;font-weight:normal;height:15px;" /><span id="ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired" title="El nombre de usuario es obligatorio." style="color:Red;visibility:hidden;">*</span></td>

                       </tr><tr>

                               <td align="right" style="font-family:verdana,arial,helvetica,sans-serif;font-size:1em;"><label for="ctl00_ContentPlaceHolder1_lgnLogin_Password">Contraseña:</label></td><td><input name="ctl00$ContentPlaceHolder1$lgnLogin$Password" type="password" id="ctl00_ContentPlaceHolder1_lgnLogin_Password" style="border-color:Gray;border-width:1px;border-style:Solid;font-size:1.2em;font-weight:normal;height:15px;" /><span id="ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired" title="La contraseña es obligatoria." style="color:Red;visibility:hidden;">*</span></td>

                       </tr><tr>

                               <td align="right" colspan="2"><input type="submit" name="ctl00$ContentPlaceHolder1$lgnLogin$LoginButton" value="Inicio de sesión" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$lgnLogin$LoginButton&quot;, &quot;&quot;, true, &quot;ctl00$ContentPlaceHolder1$lgnLogin&quot;, &quot;&quot;, false, false))" id="ctl00_ContentPlaceHolder1_lgnLogin_LoginButton" /></td>

                       </tr>

               </table></td>

        </tr>

</table>

                                       <BR />      

                <span id="ctl00_ContentPlaceHolder1_errorLabel"></span>

                  <span id="ctl00_ContentPlaceHolder1_lblDespachos"></span>

           

                         <br />    

                                    

                                      

                                     </span>

                    

                        <div id="ctl00_ContentPlaceHolder1_uprolgn" style="display:none;">

       

                            <img id="ctl00_ContentPlaceHolder1_Loading" src="imagenes/indicator_white.gif" style="border-width:0px;" />

                           <br /><STRONG  >Validando....<BR /></STRONG>

                         

</div>

                      

     

      

 

           </div>

            </div>

 

    </div> 

           

        <div id="ctl00_CuadroMensajes_upMensaje">

       

        <div id="ctl00_CuadroMensajes_pnlMensajes" style="border-color:SteelBlue;border-width:2px;border-style:Solid;width:500px;display: none">

              

            <table cellspacing="0" width="100%">

                <tr>

                    <td colspan="2" style="background-color: whitesmoke; text-align: center">

                        <span id="ctl00_CuadroMensajes_lblTituloMensaje" style="color:#134F8B;font-family:Tahoma;Verdana;Arial;font-size:12px;font-weight:bold;"></span></td>

                </tr>

                <tr>

                    <td colspan="1" rowspan="3" style="vertical-align: middle; width: 60px; text-align: center;

                        background-color: whitesmoke;">

                        <img id="ctl00_CuadroMensajes_imgIcono" src="imagenes/mensajeError.png" style="height:44px;border-width:0px;" /></td>

                    <td colspan="1" rowspan="1" style="width: 440px; vertical-align: middle; background-color: whitesmoke;

                        text-align: center;">

                    </td>

                </tr>

                <tr>

                    <td style="width: 440px;   text-align: left; vertical-align: middle; background-color: white;

                        height: 80px;" rowspan="1"  >

                       

                        <span id="ctl00_CuadroMensajes_lblMensaje" style="display:inline-block;color:#404000;border-color:LightSteelBlue;font-family:Tahoma;;font-size:9pt;width:430px;"></span>

                      </td>

                </tr>

                <tr>

                    <td style="width: 440px; background-color: whitesmoke; text-align: left;">

                    </td>

                </tr>

                <tr>

                    <td colspan="1" rowspan="2" style="vertical-align: middle; width: 60px; text-align: center;

                        background-color: whitesmoke;">

                    </td>

                    <td style="width: 440px; background-color: whitesmoke; text-align: left">

                       

                    </td>

                </tr>

                <tr>

                    <td style="text-align: center; vertical-align: middle; background-color: whitesmoke;

                        width: 335px;">

                    </td>

                </tr>

            </table>

            <table cellpadding="0" cellspacing="0" style="width: 100%">

               <tr>

                    <td style="height: 20px; background-color: whitesmoke; text-align: center" align="center">

                        <table>

                            <tr>

                                <td style="height: 26px" align ="center">

                                    <input type="submit" name="ctl00$CuadroMensajes$btnAceptar" value="Aceptar" id="ctl00_CuadroMensajes_btnAceptar" />

                                    <input type="submit" name="ctl00$CuadroMensajes$btnCancelar" value="Cancelar" id="ctl00_CuadroMensajes_btnCancelar" /></td>

                            </tr>

                        </table>

                    </td>

                </tr>

            </table>

       

        </div>

       

    

</div>

 

 

    

<script type="text/javascript">

//<![CDATA[

var Page_Validators =  new Array(document.getElementById("ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired"), document.getElementById("ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired"));

//]]>

</script>

 

<script type="text/javascript">

//<![CDATA[

var ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired = document.all ? document.all["ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired"] : document.getElementById("ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired");

ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired.controltovalidate = "ctl00_ContentPlaceHolder1_lgnLogin_UserName";

ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired.errormessage = "El nombre de usuario es obligatorio.";

ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired.validationGroup = "ctl00$ContentPlaceHolder1$lgnLogin";

ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";

ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired.initialvalue = "";

var ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired = document.all ? document.all["ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired"] : document.getElementById("ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired");

ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired.controltovalidate = "ctl00_ContentPlaceHolder1_lgnLogin_Password";

ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired.errormessage = "La contraseña es obligatoria.";

ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired.validationGroup = "ctl00$ContentPlaceHolder1$lgnLogin";

ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";

ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired.initialvalue = "";

//]]>

</script>

 

 

<script type="text/javascript">

//<![CDATA[

 

var Page_ValidationActive = false;

if (typeof(ValidatorOnLoad) == "function") {

    ValidatorOnLoad();

}

 

function ValidatorOnSubmit() {

    if (Page_ValidationActive) {

        return ValidatorCommonOnSubmit();

    }

    else {

        return true;

    }

}

       

theForm.oldSubmit = theForm.submit;

theForm.submit = WebForm_SaveScrollPositionSubmit;

 

theForm.oldOnSubmit = theForm.onsubmit;

theForm.onsubmit = WebForm_SaveScrollPositionOnSubmit;

WebForm_AutoFocus('ctl00_CuadroMensajes_btnAceptar');Sys.Application.initialize();

 

document.getElementById('ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired').dispose = function() {

    Array.remove(Page_Validators, document.getElementById('ctl00_ContentPlaceHolder1_lgnLogin_UserNameRequired'));

}

 

document.getElementById('ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired').dispose = function() {

    Array.remove(Page_Validators, document.getElementById('ctl00_ContentPlaceHolder1_lgnLogin_PasswordRequired'));

}

Sys.Application.add_init(function() {

    $create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":"ctl00_ContentPlaceHolder1_upnlgn","displayAfter":500,"dynamicLayout":true}, null, null, $get("ctl00_ContentPlaceHolder1_uprolgn"));

});

Sys.Application.add_init(function() {

    $create(AjaxControlToolkit.ModalPopupBehavior, {"BackgroundCssClass":"modalBackground","CancelControlID":"ctl00_CuadroMensajes_btnAceptar","OkControlID":"ctl00_CuadroMensajes_btnAceptar","PopupControlID":"ctl00_CuadroMensajes_pnlMensajes","dynamicServicePath":"/EscritorioVirtual/login.aspx","id":"ctl00_CuadroMensajes_mpeMensajes"}, null, null, $get("ctl00_CuadroMensajes_lblTituloMensaje"));

});

//]]>

</script>

</form>

</body>

</html>

 

I would really appreciate your help, and If you write a script please explain what are you doing, I don't understand all the language.

Share this post


Link to post
Share on other sites



Welcome,

I doubt you will find anyone willing to write it all for you, but many are willing to help when you have specific questions or can't something to work.
So, post what you have that isn't working and what questions you have.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Welcome to AutoIt and the forum!

BTW: Please give meaningful titles to your threads as everyone on this forum is looking for help ;)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • wakillon
      By wakillon
      SciTE Hopper : Jump to Any line by one click and many other helpfull functions !


      As Ashalshaikh suggested me after leaving me the task to continue >SciTE Hopper, i open a new Topic about it.
      It will be more easy for futures updates.

      Many helpfull functions in contextual menu.
      SciTE Hopper is now multipurpose.
      • Color Catcher added
      • BinaryToAu3Kompressor added
      • TinyAu3Search replaced by StringFinder
      • RegJumper added
      • Edit With SciTE added (available in Options)
      • SpecialCharactersViewer added (available in Tray menu)
      New Contextual Menu :

      For a right Click on a function :

      • Copy function name
      • Insert a function header
      • Cut function
      • Copy function
      • Delete function
      • Create a variables List
      • Remove usseless Blank lines
      • Remove Debug lines ( all lines starting with ConsoleWrite or _ArrayDisplay )
      • Set AutoIt Code Layout
      • Remove Comments

      For entire script :

      • Create a functions List
      • Create a variables List
      • Remove usseless Blank lines
      • Remove Debug lines ( all lines starting with ConsoleWrite or _ArrayDisplay )
      • Set AutoIt Code Layout
      • Remove Comments
      • ( Open in SciTE a ) Duplicate of current Script in Temp Dir
      • ( Open in SciTE a ) Duplicate of current Script in Same Dir
      • Explore Parent Script Folder
      • Copy Script name
      • Copy Script path
      • Find Unused Functions
      • Find Unused Variables
      • Set all functions in alphabetic order.( func headers and regions ( in fact, all lines between functions ) are not supported.)

      SciTE Editor New Contextual Menu if SciTE Hopper is added ( in Options ) to SciTE Editor :
      when you made a selection in SciTE Editor you can :

      • Open a Reg Key in Regedit using RegJumper
      • Open a Url in your default Browser
      • Search on google in your default Browser
      • Search on AutoIt Website in your default Browser
      Now Can be added to windows start (minimized)
      Options are available by Tray Menu.
      A double click on tray icon will open clipboard content to SciTE Editor ( Handy when you have copied some code from your browser )

      How to proceed for add SciTE Hopper to SciTE Editor :
      Run Scite Editor, run Scite Hopper ( compiled! ) go to Options and select Add/Remove to SciTE Tab. then click on Add button and it's done !
      Right click on SciTE Editor and choose SciTE Hopper in Contextual Menu for run it when you need it !
      Update of 07 Dec 2017
      TinyAu3Search is replaced by StringFinder

      Previous downloads : 1287
      Script and compiled version are available in the download section
       
      Thanks to Ashalshaikh, Melba23, Th3 MMA, Alzri2, taitel, Manadar, taz742, Yashield, Authenticity, Xenobiologist for their help
      and asdf8 for his >Includes Helper and azjio for his >FileSearch.

      Hope it help you and happy Scripting !

       
    • wakillon
      By wakillon
      For more details go to the Topic
    • X_xkijux_x
      By X_xkijux_x
      Ok so im using this program. clarify for school. I would like to have a program that takes every word i type in microsoft word and searches on it in claryfi. is this possible. I would like to have the program not stopping me from typing more after that word. Like when i type a word it auto search it on clarify without making me stop typing and if i want to change i can do that and if im fine that word i can just keep typing and it will search after the next word. 
    • Miliardsto
      By Miliardsto
      Is this possible to make program works like in diagram? There is so much encryption methods and UDFs are they give security? If the $Address will be crypted with some encryption algorithm could be possible to get the value of $Address in easy way? Of course We know its easy too look into autoit code and get value of variable and so We dont want to anyone see $Address value - there are functions Could func1.au3, func2.au3.. be for example func1.php or other type of file? As we know .php files are unnable to see. For example func1 would be read by FileRead() and then Execute() Is this generally possible to do?
      Will it give secure?
      What do you think about? Maybe there is something wrong in this concept or missed.

    • JaredStroeb
      By JaredStroeb
      I need to open an application and send it keys in Session 0.  I have exe's working locally, I can see the application open in session 0 through interactive services, but my send commands do not go to the application.  The following article running-autoit-session-0, directs me to use ControlSend() however my application has no controls that can be identified by AutoIt v3 Window Info.  Get All Windows Controls also returned nothing for the application's handle.  
      What are my options?  
      Can this be done with AutoIt?
      Is there a different "relatively simple" library/tool to use? (I am familiar with C# if there is a viable library there )