Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #12460
| From | "Mayayana" <mayayana@invalid.nospam> |
|---|---|
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: how to wait for website? |
| Date | 2022-06-02 14:43 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <t7b0c5$2q9$1@dont-email.me> (permalink) |
| References | <jfr6hpFcc0oU1@mid.individual.net> <jfr6uqFcethU1@mid.individual.net> <t7aagp$h6t$1@dont-email.me> <jfrtm2Fgbv6U1@mid.individual.net> |
"Louis Noser" <louis.noser@gmx.ch> wrote | > The typical approach is to loop until document.readyState = 4. | | What's the code for that? | You'll need access to the document object of the web browser. Then you just do something like: Do While document.readyState <> 4 a.Sleep 100 Loop But this gets very involved. If I were to attempt to do such a thing I'd want to get access to the document object. For that you access an IE object. Then again, the only thing crazier than online banking via script would be doing it with IE. And doing it that way requires expertise with webpage scripting. I'm not even certain that it's possible. If you're just shelling then you really don't have any access to control the details on the page. Unless you're going to undertake learning all that.... I'm not sure what your options are, other than to just wait a long time and hope for the best.
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar
how to wait for website? Louis Noser <louis.noser@gmx.ch> - 2022-06-02 09:18 +0200
Re: how to wait for website? Louis Noser <louis.noser@gmx.ch> - 2022-06-02 09:25 +0200
Re: how to wait for website? "Mayayana" <mayayana@invalid.nospam> - 2022-06-02 08:30 -0400
Re: how to wait for website? Louis Noser <louis.noser@gmx.ch> - 2022-06-02 15:53 +0200
Re: how to wait for website? "Mayayana" <mayayana@invalid.nospam> - 2022-06-02 14:43 -0400
Re: how to wait for website? JJ <jj4public@gmx.com> - 2022-06-03 17:57 +0700
Re: how to wait for website? "Mayayana" <mayayana@invalid.nospam> - 2022-06-03 13:16 -0400
csiph-web