如何在C#中读出外部应用程序输入框或消息框中的整个静态文本 [英] How to read out whole static text present on external application's Input boxes or message boxes in C#

查看:80
本文介绍了如何在C#中读出外部应用程序输入框或消息框中的整个静态文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友!!



我需要在外部应用程序的输入框或信息框中显示整个静态文本。



例如,将Microsoft word视为受密码保护的外部应用程序。



假设我的文件名是Demo.docx,当时我点击此文件打开密码输入框,因为我已经提到我的文件受密码保护。



密码输入框将包含静态信息消息如下:



输入密码打开文件C:\ .. .\sham\desktop\Demo.docx



所以我的要求是在外部应用程序的输入上显示此静态消息框或消息框。



有没有办法以编程方式读出这条消息?

Hello friend!!

I will required the whole static text present on external application''s input box or message box.

For example consider Microsoft word as external application which is password protected.

Suppose my file name is "Demo.docx", when I clicked on this file the "password" input box is opened as i have already mentioned my file is password protected.

The "Password" input box will contain static information message as follows:

Enter the password to open file "C:\...\sham\desktop\Demo.docx"

So my requirement is to getting this static message present on external application''s input box or message box.

Is there any way to read out this message programmatically??

推荐答案

请不要在多个foru中发布相同的问题女士;你已经在C#论坛发布了这个。
Please do not post the same question in multiple forums; you already posted this in the C# forum.


这篇关于如何在C#中读出外部应用程序输入框或消息框中的整个静态文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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