| View previous topic :: View next topic |
| Author |
Message |
Eddyy Newbie
Joined: 16 Dec 2004 Posts: 9 Location: Puerto Rico, USA
|
Posted: Wed Jan 05, 2005 2:09 pm Post subject: [resolved] Wait until URL loads. |
|
|
How to make a script wait until a browser finish to load any URL page?
The script should continue to execute as soon as the webpage is done loading.
Thanks to all..... |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Wed Jan 05, 2005 4:37 pm Post subject: |
|
|
Have you tried:
| Code: | while @browser(BROWSER1,Busy)
wait 1
wend |
_________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Eddyy Newbie
Joined: 16 Dec 2004 Posts: 9 Location: Puerto Rico, USA
|
Posted: Wed Jan 05, 2005 11:38 pm Post subject: Question about @browser function. |
|
|
There is no @browser function in my VDS v5.02. Do I need an extension to get that function?
Thanks for your help...... |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Jan 06, 2005 2:06 am Post subject: |
|
|
Eddyy - if i recall right in your vds5.02 folder under "VDS 5 example" you will see a script called surfxbrowser-VDS5.dsc..i think that will have the commands you are looking for
note there is a vdssurfx.dll in that folder that you will need with your script if you used thoses commands that are in the script. _________________ Have a nice day  |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Thu Jan 06, 2005 8:57 am Post subject: Re: Question about @browser function. |
|
|
| Eddyy wrote: | There is no @browser function in my VDS v5.02. Do I need an extension to get that function?
Thanks for your help...... |
I was assuming that you were using the VDS browser extension VDSBRW50.DLL.
To use the BROWSER commands and functions, you need to declare them at the start of your script like this:
| Code: | #DEFINE COMMAND,BROWSER
#DEFINE FUNCTION,BROWSER |
_________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Eddyy Newbie
Joined: 16 Dec 2004 Posts: 9 Location: Puerto Rico, USA
|
Posted: Fri Jan 07, 2005 12:17 am Post subject: |
|
|
Just got it....
Thanks a lot guys.... |
|
| Back to top |
|
 |
|