Sign in to follow this  
Followers 0
konan

HOW:send some words to a certain table in a web

6 posts in this topic

How can we send some words to a certain table in a web?

May be, It's easy to Javascript, But I don't know how to write it. Can AutoIt do it?

Share this post


Link to post
Share on other sites



To a table or control?

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

How can we send some words to a certain table in a web?

Table? Do you mean form?

Anyway, it is a bit hard to send data to forms on the web due to a few factors.

1) Web forms don't have standard controls. They are made in your browser.

2) Different browsers, screen sizes, size of the window, Google toolbars, search sidebars, etc all effect placement.

3) Websites change thier pages a lot.

I have found that using the keyboard turns out to be far better for web form filling and navigation.

Send a ^f to bring up find box, fill out the find with a word or phrase on the page next to your form field. send a few esc, and then a ^c. if clipget() shows the same word, you most likely found and highlighted that word. Now send a Tab or alt tab to the field and fill it out.

You might also consider offline versions that post the info you want to that page. To do that you copy the page and manipulate the HTML on your hard drive. Knowledge of HTML highly recomended on this approach.


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

Thank you!

Is there anybody who is good at Javascript?

Share this post


Link to post
Share on other sites

Thank you!

Is there anybody who is good at Javascript?

Kohan i have the same problom... perhaps we can figure it out together if you are still interested...

sofay i have been playing with

$Obj1 = ObjCreate("Shell.Explorer.2")

$Obj1_ctrl = GUICtrlCreateObj($Obj1, 8, 8, 1226, 604)

$Obj1.navigate ("http://www.dreamlords.com")

but atm im simply sending keystrokes and tab ... but if you dont mind me saying so THAT IS A SLOPPY PROGRAM that does that

even though i use control send instead of just send its still sloppy... i dont wanna have to mouse click on anything

While $Obj1.busy

Sleep (30) ; Idle around while site is loading

WEnd

Sleep(300)

ControlSend("DreamLords Researcher", "", "", $Curraccountname)

Sleep(300)

ControlSend("DreamLords Researcher", "", "", "{TAB}")

Sleep(300)

ControlSend("DreamLords Researcher", "", "", $Currpassword)

Sleep(300)

ControlSend("DreamLords Researcher", "", "", "{ENTER}")\

oh so here is my prob ...

i want to log on to a site without sending keys or clicking anything . and i was able to call the logon function by simply navigating to the correct place - http://www.dreamlords.com/login.action makes you loging ... but it always says the password and login are wrong ... how would i send the login and pass to a form like this

<form style="position:absolute;top:193px;right:60px;width:140px;" method="post" action="http://www.dreamlords.com/login.action">

<p>

<input type="hidden" value="login" name="action"/>

<input class="mainLogin" type="text" value="" id="login" name="login" tabindex="1" />

<input class="mainPassword" type="password" value="" id="LoginPassword" name="password" tabindex="2" />

<input type="image" style="position:absolute;left:85px;top:92px;width:50px;border-width:0px;background-color:transparent;width:75px;height:25px;" src="community2/images/button/login.gif"/>

</p>

<div style="position:absolute;left:7px;top:125px;width:170px;">

<div style="font-size:10px;position:absolute;top:-1px;left:-1px;color:black;">You have logged out.</div>

<div style="font-size:10px;position:absolute;top:-1px;left:1px;color:black;">You have logged out.</div>

<div style="font-size:10px;position:absolute;top:1px;left:-1px;color:black;">You have logged out.</div>

<div style="font-size:10px;position:absolute;top:1px;left:1px;color:black;">You have logged out.</div>

<div style="font-size:10px;position:absolute;top:0px;left:0px;">You have logged out.</div>

</div>

<div style="position:absolute;left:20px;top:145px;">

<a href="LostMyPassword.action"><img src="community2/images/button/lostpwd.gif" alt="I have lost my password" width="136" height="12"/></a>

</div>

</form>

if anyone could help me it would be very much appreciated and also you can go to

http://www.dreamlords.com

and view the source its all viewable

Share this post


Link to post
Share on other sites

This is absolutely ridiculous! Are you gonna revive every 4-year old thread on the forum? If you really want some help then stop spamming and create your own thread in "General Help and Support"

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
Sign in to follow this  
Followers 0