Jump to content

Help With IE Script


 Share

Recommended Posts

Hi,

I'm in need for a script that can open several sites with diff. verials

ex.

1st page is .php?c=101976&tc=0&tr=0&tk=86

2nd page is .php?c=101976&tc=1&tr=0&tk=86

3rd page is .php?c=101976&tc=2&tr=0&tk=86

Up to 16 .. then the 0 must change to 1 and in this ex. 86 should go to 87 so it looks like this

.php?c=101976&tc=0&tr=1&tk=87

it must only open 1 page at a time, then change the url and wait for the page to load.

if you dont understand what i mean maybe this will help.

.php?c=101976&tc=A&tr=B&tk=C

A=0 to 16

B=0 to 4

C= +1

thats 68 diff. urls it must open therefor it must only open 1 page, wait then the new url in the same page or in a new it dosent matter, just the old was closed.

In Regards

Roy

Link to comment
Share on other sites

Find _IECreate in the helpfile...

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

Link to comment
Share on other sites

Did you swap your keyboard out for a cell phone? Please try a complete sentence or two and post some code that you've tried/

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

Link to comment
Share on other sites

1st: Welcome to AutoIt!

Like DaleHolm said, look at _IECreate. Specifically, the $f_wait parameter. That will get you started on the first page, and when it's done waiting, you can use _IENavigate (also with $f_wait), to move on to the next one.

If you're not sure how to do the loops, ask. I'm sure somebody will lend a hand (although it may not be me, I have some Tivo to catch up on).

ps: He's not the gentlest simian in the neighborhood, but he knows his stuff, and if you ask the right question, he'll help you out.

Link to comment
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
 Share

  • Recently Browsing   0 members

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