Hi all,
i am using VB Script along with window shell scripting(Appac tivate method) to focus on popups which appears while downloading files from internet in IE.
now the problem is, appactivate method does not work when the popups are behind any other window on screen. in that case appactivate method is not able to focus the popup and sendkeys used in vbscript goes to some other window activated at that time. hence spoiling all intended actions.
please suggest, what else can be used as an alternative or some changes to improve it.
this is the code of vbscript file.
Set WshShell = WScript.CreateO bject("WScript. Shell")
WshShell.AppAct ivate "Save As" ("save as" is title of popup)
WshShell.SendKe ys "{Enter}"
i am using VB Script along with window shell scripting(Appac tivate method) to focus on popups which appears while downloading files from internet in IE.
now the problem is, appactivate method does not work when the popups are behind any other window on screen. in that case appactivate method is not able to focus the popup and sendkeys used in vbscript goes to some other window activated at that time. hence spoiling all intended actions.
please suggest, what else can be used as an alternative or some changes to improve it.
this is the code of vbscript file.
Set WshShell = WScript.CreateO bject("WScript. Shell")
WshShell.AppAct ivate "Save As" ("save as" is title of popup)
WshShell.SendKe ys "{Enter}"