Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with code to get to the web site at certain time 1

Status
Not open for further replies.

hf28

Programmer
Oct 23, 2003
54
US
Hello everyone,

I'm new with VBScript. I got a task:

1. I'll have to get to the USPS Web Site

2. It will bring me to the Wizard, where I should provide UserName, Password, which will send me to the

2. Other page, where I'll have Zipped files (my final destination)

3. I'll have to Unzip and save those files in the certain folder

The whole process should be automated and scheduled.

Could anyone help me with some code?

Thank you. Any help is appreciated.
 
Well, I can help you with PART of what you are looking for.

This code should get you logged in if you edit the part for your user name and password.

Set IE = CreateObject("InternetExplorer.Application")
IE.navigate2 "While IE.busy
wscript.sleep 10
Wend
IE.Visible=True
Set F=IE.Document.Login


'Replace User Name Below
'F.username.value = "YourLoginID"

'Replace password below if you changed yours
'F.password.value = "YourPassword"

set WshShell = CreateObject("WScript.Shell")
'WshShell.SendKeys "{Enter}"
Set IE = Nothing

I hope you find this post helpful. Please let me know if it was.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top