{"id":942,"date":"2014-12-17T16:46:57","date_gmt":"2014-12-17T16:46:57","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=942"},"modified":"2022-02-03T11:25:00","modified_gmt":"2022-02-03T17:25:00","slug":"really-good-example-scripting-internetexplorer-application-downloads","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/","title":{"rendered":"A really good example of scripting the InternetExplorer.Application with downloads"},"content":{"rendered":"<p>Here is someone who wanted to automate downloads with consistency as seems to have achieved it. It has some SendKeys in it so it is not autonomous &#8211; but is a great example of getting it done no matter what. Well done. I am looking for code to see if a machine is alive in &lt; 5 seconds. If not, alert the user to wait. It has an Http Basic Authentication popup that I am trying to get through using tools natively installed on Windows. Of course Curl can do it but that requires all users installing it which is not acceptable for this use. \u00a0I need 4 concepts from this article. Here is the <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/aa752085(v=vs.85).aspx\" target=\"_blank\" rel=\"noopener noreferrer\">msdn on InternetExplorer.Application<\/a>.<\/p>\n<p><a href=\"http:\/\/www.vbaexpress.com\/forum\/showthread.php?42206-IE-Automation-File-Open-IE8-IE9\u00a0\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.vbaexpress.com\/forum\/showthread.php?42206-IE-Automation-File-Open-IE8-IE9\u00a0<\/a><\/p>\n<p>My code if it was a userform username \/ password would be <a href=\"http:\/\/stackoverflow.com\/questions\/10506833\/data-from-password-protected-website-using-vba\" target=\"_blank\" rel=\"noopener noreferrer\">like this<\/a>. Basically you can&#8217;t easily\u00a0unless the <a href=\"http:\/\/stackoverflow.com\/questions\/15886777\/http-basic-auth-protected-url-in-new-window\" target=\"_blank\" rel=\"noopener noreferrer\">registry value is changed specifically allowing the username\/password to be sent along in the url<\/a>. Here is an <a href=\"http:\/\/www.vistax64.com\/powershell\/274340-powershell-ie-automation-basic-authentication.html\" target=\"_blank\" rel=\"noopener noreferrer\">idea that no one validating has having worked and is in powershell<\/a>. People <a href=\"http:\/\/www.experts-exchange.com\/Software\/Internet_Email\/Web_Browsers\/Q_24386785.html\" target=\"_blank\" rel=\"noopener noreferrer\">did get it working<\/a> using\u00a0SendKeys &#8211; which I do NOT want. <a href=\"http:\/\/curl.haxx.se\/\" target=\"_blank\" rel=\"noopener noreferrer\">Curl it is<\/a>! This stuff is not good to post online, but alas, explains <a href=\"http:\/\/securityxploded.com\/iepasswordsecrets.php#Decrypting_HTTP_Basic_Authentication_Credentials_Store\" target=\"_blank\" rel=\"noopener noreferrer\">why one should NOT store their passwords on any browser<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is someone who wanted to automate downloads with consistency as seems to have achieved it. It has some SendKeys in it so it is not autonomous &#8211; but is a great example of getting it done no matter what. Well done. I am looking for code to see if a machine is alive in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-942","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A really good example of scripting the InternetExplorer.Application with downloads - ELB Solutions.com Inc.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A really good example of scripting the InternetExplorer.Application with downloads - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"Here is someone who wanted to automate downloads with consistency as seems to have achieved it. It has some SendKeys in it so it is not autonomous &#8211; but is a great example of getting it done no matter what. Well done. I am looking for code to see if a machine is alive in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-17T16:46:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:25:00+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/really-good-example-scripting-internetexplorer-application-downloads\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/really-good-example-scripting-internetexplorer-application-downloads\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"A really good example of scripting the InternetExplorer.Application with downloads\",\"datePublished\":\"2014-12-17T16:46:57+00:00\",\"dateModified\":\"2022-02-03T17:25:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/really-good-example-scripting-internetexplorer-application-downloads\\\/\"},\"wordCount\":225,\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/really-good-example-scripting-internetexplorer-application-downloads\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/really-good-example-scripting-internetexplorer-application-downloads\\\/\",\"name\":\"A really good example of scripting the InternetExplorer.Application with downloads - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2014-12-17T16:46:57+00:00\",\"dateModified\":\"2022-02-03T17:25:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/really-good-example-scripting-internetexplorer-application-downloads\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/really-good-example-scripting-internetexplorer-application-downloads\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/really-good-example-scripting-internetexplorer-application-downloads\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A really good example of scripting the InternetExplorer.Application with downloads\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A really good example of scripting the InternetExplorer.Application with downloads - ELB Solutions.com Inc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/","og_locale":"en_US","og_type":"article","og_title":"A really good example of scripting the InternetExplorer.Application with downloads - ELB Solutions.com Inc.","og_description":"Here is someone who wanted to automate downloads with consistency as seems to have achieved it. It has some SendKeys in it so it is not autonomous &#8211; but is a great example of getting it done no matter what. Well done. I am looking for code to see if a machine is alive in [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2014-12-17T16:46:57+00:00","article_modified_time":"2022-02-03T17:25:00+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"A really good example of scripting the InternetExplorer.Application with downloads","datePublished":"2014-12-17T16:46:57+00:00","dateModified":"2022-02-03T17:25:00+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/"},"wordCount":225,"articleSection":["General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/","url":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/","name":"A really good example of scripting the InternetExplorer.Application with downloads - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2014-12-17T16:46:57+00:00","dateModified":"2022-02-03T17:25:00+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/really-good-example-scripting-internetexplorer-application-downloads\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"A really good example of scripting the InternetExplorer.Application with downloads"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=942"}],"version-history":[{"count":9,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/942\/revisions"}],"predecessor-version":[{"id":2773,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/942\/revisions\/2773"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}