在Internet Explorer 9中控制下载提示菜单 [英] Controlling download prompt menu in Internet Explorer 9

查看:77
本文介绍了在Internet Explorer 9中控制下载提示菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我以编程方式单击网页上的下载"链接时,IE 9不允许我自动下载,我必须单击打开",保存"或取消".

When I click programmatically on a Download link in a webpage, IE 9 does not allow me to automatically download, I have to click on Open, Save or Cancel.

如何进行选择(打开,保存或取消) 以编程方式?

How can I make the selection (Open, Save or Cancel)  programmatically?

目前,我正在使用sendkeys命令,但据我们所知,它并不可靠.

At the moment I am using the sendkeys command, but, as we know, it is not reliable.

我也不希望对鼠标单击进行编程,因为它很麻烦,而且即使在全屏模式下也必须考虑缩放系数.

I also do not want to program a mouse click because it is cumbersome and because even in full screen one has to factor in the zoom factor.

我正在使用 SHDocVw. Webbrowser也会这样做.

The Webbrowser will also do.

谢谢

推荐答案

您好,AntSalc,

Hi AntSalc,

感谢您的信息.

IE9的下载管理器内置于IE中.因此,恐怕没有其他方法可以控制它了.

The Downloadmanager of IE9 is built in the IE. So I’m afraid that there is no any other ways to control it.

以下是您的类似问题: http://social.msdn.microsoft.com/Forums/pl-PL/ieextensiondevelopment/thread/b48f7e4b-25e9-4665-935b-db5728ec4f10

Here is a similar issue with yours: http://social.msdn.microsoft.com/Forums/pl-PL/ieextensiondevelopment/thread/b48f7e4b-25e9-4665-935b-db5728ec4f10

希望这会有所帮助.

Hope this helps. 


这篇关于在Internet Explorer 9中控制下载提示菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆