As for the popup window being controlled using windows control functions, that won't work because IE 11, since the buttons are not listed as actual controls (see pic) to click. Is there a way that I can "hook" or get a handle to the object which facilitates downloads in IE? Thanks in advance. For those who have used ninite, you know already that the executable is not at a set URL, it is generated depending on the checkboxes the user selects for the applications they want installed, so I can't just use Inetget. But this creates the draw back that, heaven forbid, something in the background of the users computer could cause IE to lose focus in one way or another, which results in the download failing and script is not successful. Basically, the problems with the method on the last problem had many issues: 1) since it was for os deployments, usually when the script was run, the Internet explorer first run windows kept getting in the way, requiring me to create a completely arbitrary function to call before the main function which would open IE, wait, then force end it to get rid of prompt, 2) I lock the user input since the success of the process is dependent on where the caret position is in the IE window, and users just love to mess with stuff. However, I am working on another project now which requires a bit more.assurance. Back then, to start the download, I simply had script lock user input, sleep for 5 seconds to wait for download prompt to appear, used Send to press tab and enter on "run" for download prompt, then unlock user input. A while back, I wrote a script which went to, selected the checkboxes for the applications needed for os deployment, and submitted the form.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |