![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Automate https website file download? How can I automate into a standalone vbs file logging into an https website, selecting from drop down form lists then submitting the form to start a file download? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Automate https website file download? "ER" <vmccarthy@xxxxxx> wrote in message news:Q_B5l.17253$fs1.2547@xxxxxx Quote: > How can I automate into a standalone vbs file logging into an https > website, selecting from drop down form lists then submitting the form to > start a file download? COM objects that Microsoft includes with its OSs?. The InternetExplorer.Application object has a fairly well documented object model, with a huge number of objects, methods, properties, and events usable with VBScript. With 20 lines of script you can open an IE window and navigate to a URL. With 100 lines of script you can get to almost any object on a web page, such as forms, checkboxes, and dropdowns, make selections, and execute methods such as the click method. Of course, many web sites get their revenues from advertising based on the number of eyes that view the web page; these sites may be designed to discourage automation. Searching this microsoft.public.scripting.vbscript or microsoft.public.scripting.* using groups.google.com, for things like internetexplorer.application should lead you to some working code examples. http://msdn.microsoft.com/en-us/libr...50(VS.85).aspx is Microsft's reference for the object model. http://www.microsoft.com/downloads/r...DisplayLang=en will lead you to HTA Helpomatic, which is an HTML application that provides snippets of VBScript and associated HTML that create, access and manipulate many of the DHTML objects. Reading the source of this HTA should give you a good understanding of how to access the contents of a web page. -Paul Randall |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Automate https website file download? Limited to no experience with COM. What I'm after specifically is a vbs script file that can be run scheduled and unattended overnight on a server. "Paul Randall" <paulr90@xxxxxx> wrote in message news:ezBy8WPaJHA.5340@xxxxxx Quote: > > "ER" <vmccarthy@xxxxxx> wrote in message > news:Q_B5l.17253$fs1.2547@xxxxxx Quote: >> How can I automate into a standalone vbs file logging into an https >> website, selecting from drop down form lists then submitting the form to >> start a file download? > How much experience do you have with scripting the multitude of scriptable > COM objects that Microsoft includes with its OSs?. The > InternetExplorer.Application object has a fairly well documented object > model, with a huge number of objects, methods, properties, and events > usable with VBScript. With 20 lines of script you can open an IE window > and navigate to a URL. With 100 lines of script you can get to almost any > object on a web page, such as forms, checkboxes, and dropdowns, make > selections, and execute methods such as the click method. Of course, many > web sites get their revenues from advertising based on the number of eyes > that view the web page; these sites may be designed to discourage > automation. Searching this microsoft.public.scripting.vbscript or > microsoft.public.scripting.* using groups.google.com, for things like > internetexplorer.application should lead you to some working code > examples. > > http://msdn.microsoft.com/en-us/libr...50(VS.85).aspx is Microsft's > reference for the object model. > > http://www.microsoft.com/downloads/r...DisplayLang=en > will lead you to HTA Helpomatic, which is an HTML application that > provides snippets of VBScript and associated HTML that create, access and > manipulate many of the DHTML objects. Reading the source of this HTA > should give you a good understanding of how to access the contents of a > web page. > > -Paul Randall > > > > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Automate https website file download? I don't think anyone here will write this script for you; this newsgroup provides voluntary free user to user assistance. Depending on how the web page is set up, there may be fairly simple ways to get the files you want, or it may be a complex problem. You would have to post the URL in question and explain the criteria for selecting files for download to give us enough info for anyone here to evaluate what needs to be done. -Paul Randall "ER" <vmccarthy@xxxxxx> wrote in message news UX5l.1684$em5.224@xxxxxxQuote: > Limited to no experience with COM. What I'm after specifically is a vbs > script file that can be run scheduled and unattended overnight on a > server. > > "Paul Randall" <paulr90@xxxxxx> wrote in message > news:ezBy8WPaJHA.5340@xxxxxx Quote: >> >> "ER" <vmccarthy@xxxxxx> wrote in message >> news:Q_B5l.17253$fs1.2547@xxxxxx Quote: >>> How can I automate into a standalone vbs file logging into an https >>> website, selecting from drop down form lists then submitting the form to >>> start a file download? >> How much experience do you have with scripting the multitude of >> scriptable COM objects that Microsoft includes with its OSs?. The >> InternetExplorer.Application object has a fairly well documented object >> model, with a huge number of objects, methods, properties, and events >> usable with VBScript. With 20 lines of script you can open an IE window >> and navigate to a URL. With 100 lines of script you can get to almost >> any object on a web page, such as forms, checkboxes, and dropdowns, make >> selections, and execute methods such as the click method. Of course, >> many web sites get their revenues from advertising based on the number of >> eyes that view the web page; these sites may be designed to discourage >> automation. Searching this microsoft.public.scripting.vbscript or >> microsoft.public.scripting.* using groups.google.com, for things like >> internetexplorer.application should lead you to some working code >> examples. >> >> http://msdn.microsoft.com/en-us/libr...50(VS.85).aspx is >> Microsft's reference for the object model. >> >> http://www.microsoft.com/downloads/r...DisplayLang=en >> will lead you to HTA Helpomatic, which is an HTML application that >> provides snippets of VBScript and associated HTML that create, access and >> manipulate many of the DHTML objects. Reading the source of this HTA >> should give you a good understanding of how to access the contents of a >> web page. >> >> -Paul Randall >> >> >> >> >> > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Automate file download from Microsoft Update | VB Script | |||
| Re: PS Script to automate checking date of file and delete if old | PowerShell | |||
| Re: Powershell + HTTPS for secure download | PowerShell | |||
| IE7 and Firefox: Can't load https:// website (bank) | Vista General | |||