以编程方式自动填充 UAC 详细信息 [英] Programmatically auto-fill UAC details
问题描述
有没有办法以编程方式在 Visa 中自动填写 UAC 登录名和密码?
Is there a way to, via programmatically, auto-fill in the UAC login name and password in Visa?
例如,出现 UAC 提示.您的程序会自动为您填写该信息.
For instance, the UAC prompt comes up. Your program auto-fills that information for you.
例如,一个程序会在 UAC 提示中使用管理员用户名和密码自动填充该信息.
E.g., a program that would auto-fill that information with an administrator username and password in the UAC prompt.
SendKeys 无法将输入键发送到 UAC 对话框
SendKeys does not work to send input keys to the UAC dialog box
推荐答案
UAC 有几个级别.如果您使用带有灰色"屏幕的 UAC,我相信您想要的东西是不可能的.此模式专门用于不允许其他程序访问 UAC 窗口.
There are several levels of UAC. I believe what you want is not possible if you use the UAC with the "greyed" screen. This mode is there to specifically not allow other programs access to the UAC-Window.
这篇关于以编程方式自动填充 UAC 详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!