Morae 屏幕文本搜索未捕获 WPF 应用程序中的屏幕文本
当我尝试使用 Morae Manager 3.0 对我们的原型记录(以 WPF、.NET 版本 3.5 SP1 编码)运行屏幕文本搜索时,出现的唯一内容是窗口标题。 我们使用的是Windows XP。
即使当我搜索可编辑的内容(例如在文本框中输入的文本)时,它也不会出现。
原型之外的内容(例如桌面图标)的屏幕文本仍然完美显示。
我曾两次联系 TechSmith 支持人员,两次得到的回复都是我们的技术存在问题,因为屏幕文本搜索确实适用于其他事情,而且支持人员不是开发人员,因此不知道是什么可能会导致这种情况。
有谁知道:
- 到底是什么原因造成的——例如,WPF 的渲染引擎是否绕过 Morae 查找文本的某种 Windows 层(请原谅我的术语中的任何错误),
- 如果我可以在原型中调整任何内容来修复这是
- 我如何联系 TechSmith 知道 1. 和 2. 答案的人。
PS Morae 是一个很棒的产品,我们通常得到 TechSmith 的大力支持。 我们只是在这一点小事情上遇到了问题,而且很难责怪 Morae 不与 WPF 这样的新东西兼容。
When I try to use Morae Manager 3.0 to run a Screen Text search on a recording of our prototype (coded in WPF, .NET version 3.5 SP1), the only things that come up are the window titles. We are using Windows XP.
Even when I search for something that is editable, like text typed into a text box, it does not come up.
Screen text for things outside the prototype (e.g. desktop icons) still comes up perfectly.
I contacted TechSmith support on two separate occassions and both times the reply I got was it must be an issue with our technology, since the screen text search does work for other things, and that the support people are not developers and thus do not know what might be causing this.
Does anyone know:
- what precisely might be causing this -- e.g. does WPF's rendering engine bypass some sort of Windows layer where Morae looks for text (please forgive me for any errors in terminology)
- if there is anything I can tweak in the prototype to fix it
- how I can get through to someone at TechSmith who knows the answers to 1. and 2.
P.S. Morae is a wonderful product and we've usually had great support from TechSmith. We are only having problems with this one little thing, and one can hardly blame Morae for not being compatible with something as new as WPF.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道 Morae 是什么或者它是如何工作的,但是 WPF 和 WinForms 之间的一个很大的区别如下,复制自 此处:
如果 Morae 依赖 HWND 来查找屏幕上的文本,这可以解释为什么它找不到文本框。 相反,我相信在 WinForms 中每个控件(按钮、文本框)都有自己的 HWND。
I have no idea what Morae is or how it works, but one big difference between WPF and for example WinForms is the following, copied from here:
If Morae depends on HWNDs to find texts on the screen, this could explain why it can not find the text box. In contrast, i believe in WinForms every control (button, textbox) has its own HWND.