| View previous topic :: View next topic |
| Author |
Message |
kOt Contributor

Joined: 19 Jan 2004 Posts: 89 Location: Fyffe, AL
|
Posted: Mon Jun 26, 2006 8:56 pm Post subject: Browser help :D |
|
|
Anyone have a way of making this code not stop the script while doing its thing?
I'm thinking that the script waits because the browser isn't done loading the page. Is this right?
Its fine this way, just a just a tad annoying
| Code: |
# Gets username and password and creates the link
# Loads the link into a hidden browser control
# Gets source code of browser control
# check if source to find if created or not created
# reports it to the screen
%%username = @dlgtext(usernameedit)
%%password = @dlgtext(passwordedit)
if @not(@null(%%username))
if @not(@null(%%password))
#took out link because its not my site to publish it.
%%link = "http://DELETED/create.html?action=create&user="%%username"&pass="%%password
dialog set,browser1,%%link
list create,1
list add,1,@dlgtext(browser1)
if @match(1,"Wrong login")
dialog set,accountcreationtext,Account Already Taken.@cr()Please try a new one
elsif @match(1,"Account created for user:")
dialog set,accountcreationtext,Account Created Successfully
end
list clear,1
list close,1
else
Warn "You must have a password."
end
else
Warn "You must have a username."
end
end
|
_________________ Visual Dialogscript 5 |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
kOt Contributor

Joined: 19 Jan 2004 Posts: 89 Location: Fyffe, AL
|
Posted: Tue Jun 27, 2006 12:18 pm Post subject: |
|
|
I was wanting it NOT to stop at all during this time.. but this code can actually accomplish this i think with a timer
and thanks for that browser link  _________________ Visual Dialogscript 5 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|