Jump to content

Recommended Posts

Posted (edited)

Hello

I want to create a script that can automatically write to the page.

I have created it ... but i have a problem

My script looks like this:

Global $ImALouseyStinkingSpamRat = 1

While $ImALouseyStinkingSpamRat

send("http://www.google.com") --- for example

here need a code ---

send("blah blah blah")

$ImALouseyStinkingSpamRat += 1

If $ImALouseyStinkingSpamRat = 2 Then $ImALouseyStinkingSpamRat = False

WEnd

[\code]

the code I need is to realize if the page loaded and then begin to send the rest of the blah code --- send("blah blah blah")

Can someone help me?

Thank you

Edited by LeuMas
Posted

is this generic to any given browser? or will this be open in just firefox? or just IE?

You can look at IE.au3 and FF.au3, both of which have functions to make sure the page is loaded before continuing the script - _IELoadWait() and _FFLoadWait()

[u]You can download my projects at:[/u] Pulsar Software

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...