Jump to content

Recommended Posts

Posted

Hi All :(

i make some code that access my web_page (User name & password) so i used this code

Const $URL = http://mysite.com
     $ObjIE=ObjCreate("InternetExplorer.Application")


        With $ObjIE
         .Visible = 1
         .Navigate($URL)
            Do
                Sleep(50)
             Until .ReadyState = 4
        EndWith

        With $ObjIE.document.forms(0)

          .elements(0).value = "*******"
          .elements(1).value = "*******"
          .submit
        
        EndWith

but this code fill value only with out console go to cell(.elements()) and write password or name;

so, i need code that access my cell with console and then write.

i hope u understand . :(

Are you read anything about islamok.... to know about realy Islamhttp://www.islam-guide.com click here====>Islam: Misunderstood throughout the World

Posted

Must use AutoIT beta.

Maybe you understand this code:

Const $URL = "http://www.autoitscript.com/forum/index.php?act=Login&CODE=00"
     $ObjIE=ObjCreate("InternetExplorer.Application")


        With $ObjIE
         .Visible = 1
         .Navigate($URL)
            Do
                Sleep(50)
             Until .ReadyState = 4
        EndWith

        With $ObjIE.document.forms(0)

          .UserName.value = "name"
          .PassWord.value = "password"
          .submit.click()
        
        EndWith

<input type="text" size="25" maxlength="64" name="UserName" class="forminput" />
.UserName.value = "name"

<input type="password" size="25" name="PassWord" class="forminput" />
.PassWord.value = "password"

AutoIt3, the MACGYVER Pocket Knife for computers.

Posted

could you explane this "console" better??

do you mean something like a inputbox?? or what?

*If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip...
Posted

no no

i meanĀ  CURSORĀ  like in edit or input box

but my Q is how can move CURSOR from one edit box to another edit box in html page with out using TAB send key.

**********************************

may be by using name of that box!!!!!!!????????

<{POST_SNAPBACK}>

do you mean like...

document.forms(0).elements(1).focus()

You're just trying to get the cursor in the box? And no, I have no idea if that works. I'm just trying to clarify what you want.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...