If you open https://www.caringbridge.o
Main Topics
Browse All TopicsHello, I'm looking for a batch file that will open IE and enter all the info to log in to this site. https://www.caringbridge.o
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If you open https://www.caringbridge.o
I'm hoping to find something similar to link below but would open above site with its more complex login.
Thank you.
http://www.experts-exchang
WELL, i suggest you can use iMacros for IE too... It can automate anything... Just record a macro once of logging in to a website... And simply say share.. It will give u a pretty long link.. Just shorten it, by using tinyurl.com...
U're just publishing it.. So, no one would know that 447-450 character link, until u give it.. :)
iMacros for Windows IE and FireFox can be downloaded at: www.iopus.com/imacros/comp
If u can switch too firefox, you can still use it more effectively.. :)
HTH
Manavsi
Ok manavsi, tried your method. Used free addon. The saved url will only work on the other end if they're using same browser and have imacro loaded.
Again, I'm looking for a file that the person can put on their desktop and click to open such as a js or bat file.
I don't see where iMacro saves as a js file.
Thanks
>>>well installing iMacros is one time work right.. installing it.. will definitely... ease ur work if u use this type work for ur clients.. :)
Manavsi, I do not have access to the computers that will be using the file. They're all over the country. This is strictly to help the older generation that is having difficulty navigating to that site let alone try to get them to load software!
Copy the code and save it to a File with the extension VBS e.g. LoadIE.vbs
You need to analyse the HTML code of the login page of the site. You need to find out the login script name and parameters. The HTML Code could look like the sample down below.
The attribute "action" of the tag "form" tells you the script that is called to process the login.
You have to generate the full URL to it. I hope that you know how to do that depending on the value in the HTML form. If not, let me know.
in my example below would the full URL to the login script be.
http://www.website.com/log
Now you need the parameters. Look for all "input" tags before the form ends ("</form>" tag).
look for the attribute "name".
In my example it's "uname" and "pw", which should be self explaining. If there are any other input tags, especially of type "hidden" that have a value, then you probably need those as well.
The URL with the parameters and added values would look like this.
https://www.website.com/lo
Test the URL, if it works and logs you in. If it does work, use the VBScript below.
Enter for "sMyLoginURL" the URL that you just created and for "sMyHomeURL" the page that you want the user to redirect to after the login (and because you don't want to show the user the URL with the login credentials in it, right?)
In the SUB that is being called, I left in some options that you can set for the IE window that is being opened and might be useful to enable.
If the logging in via a URL does not work (for example, if the site requires the data to be submit via "POST" and not accepts the input via "GET", the solution would become a bit more complicated, but is still possible. I would need the HTML code of the login form though.
Oh, to execute the script IElaunch.vbs, use CSCRIPT.EXE (for the shortcut).
Example short cut (asuming that the script is located in the root of the users home directory).
%SystemRoot%\system32\cscr
The /T parameter is to time-out the script, if it does not finish within 240 seconds (4 minutes) for whatever reason.
Cumbrowski, thank for your effort, but I will not be trying your suggestion as I'm satisfied with my resluts.
Manavsi, this is my first attempt in windows scripting so my methods may be a bit unorthodox but it worked. Using XPpro, IE7
I started with a script provided by teedo757 at http://www.experts-exchang
through trial and error. Couldn't find a way to input a left mouse click so I used the multiple TAB option.
This script does work for this website with those options and conditions.
Hope someone else using that site will find it useful. Thanks
PS will post script after I modify the personal inputs.
Set wshShell = WScript.CreateObject("WScr
wshShell.Run "iexplore https://www.caringbridge.o
WScript.Sleep 5000 ' Give ie some time to load
WshShell.SendKeys "{F6}"
WScript.Sleep 200
WshShell.SendKeys "{F6}"
WScript.Sleep 200
WshShell.SendKeys "{F6}"
WScript.Sleep 200
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "YOUR SITE PASSWORD"
WScript.Sleep 200
WshShell.SendKeys "{TAB}"
WScript.Sleep 200
WshShell.SendKeys "YOUR EMAIL"
WScript.Sleep 200
WshShell.SendKeys "{TAB}"
WScript.Sleep 200
WshShell.SendKeys "YOUR PASSWORD"
WScript.Sleep 200
WshShell.SendKeys "{TAB}"
WScript.Sleep 200
WshShell.SendKeys "{ENTER}"
Business Accounts
Answer for Membership
by: giltjrPosted on 2009-05-20 at 20:10:22ID: 24437933
Do you know how the site prompts for user-id and password?
.website.c om
Assuming you are running IE 7 you could setup a command file that has:
c:\windows\ie7\iexplore http://userid:password@www
But this is totaly unsecure and dependent on the method used to get the user-id and password.