Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ VBscript ➜ Auto Launch VBScript that can auto login w/ password

Auto Launch VBScript that can auto login w/ password

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Wilson   (1 post)  Bio
Date Tue 14 Mar 2006 02:06 PM (UTC)
Message
I would like to know whether I can create a VB Script that can auto login a website

It is okay for the auto launch feature with the following script

dim IE
set IE = CreateObject("InternetExplorer.Application")
IE.Navigate ("URL")
set IE = nothing

I can also make a "Shell" that mimic the keyboard that type in all the login name and password like this

dim Shell
set Shell = CreateObject("Wscript.Shell")
Shell.keysends ("Command")
set Shell = nothing

However, I would like to know whether there will be another way of doing this (Without using the Wscript.Shell)?

And in my case, after logging in the site, I have to "Click" several links to download data from the site. However, those links are written in JavaScript. Can I execute those JavaScript with VB Script? Or I need to use the Wscript.Shell function?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 15 Mar 2006 01:25 AM (UTC)
Message
I don't see the relevance of this question to MUSHclient.

Please Google the web for a suitable site that provides support for general VBscript questions.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,984 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.