Jump to content

Recommended Posts

Posted (edited)

Is there a way to seek out the user:|__USER NEME__| box on a webpage without telling the Autoit to TAB, a billion times? :(

Edited by uber125
Posted

Is there a way to seek out the user:|__USER NEME__|  box on a webpage without telling  the Autoit to TAB, a billion times? :(

<{POST_SNAPBACK}>

See this thread: Automating IE

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Posted

First of all this post should be moved to the v3 Support Forum.

Now to your problem...

1st Idea: You could always use a mouse click instead of tab if you know the resolution and position of the box. This could cause a problem if the webpage moves as it is resized. you could fix this by making it maximised before clicking.

2nd Idea: I'm not sure why it works and I know it doesn't work all of the time, but you could use the syntax 'www.thesite.com/currentpage.html?titleofbox=yourname&titleofpassbox=password'. Here is my College's portal page for an example. To get the title of the username and password boxes you need to look at the source code for the pages.

An Example

Hope that helps.

-Aaron

Posted

the syntax 'www.thesite.com/currentpage.html?titleofbox=yourname&titleofpassbox=password' is specific to a particular web page. The approach only works when the target web page processes HTML Form input using the 'GET' method (where form data is passed as part of the URL) -- most web applications use the more flexible 'POST' method where the form data is passed in the background.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

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
×
×
  • Create New...