English 中文(简体)
如何在 Java申请中从外部控制获得案文(或自动化)?
原标题:How to get text (or automate) from an external control in a Java application (AWT)?

There is an application which is built in the SunAWTFrame class and, as you can guess, this is a strange world for the Windows API.

因此,我想知道,我应做些什么/用什么来从与这部建筑在一起的“全球倡议”的控制中获取案文,或使案文自动化?

是否有某些类型的APIC或图书馆能够做到这一点,并且适合在纯C++或模拟语言(不仅仅是 Java)内的工作?

最佳回答

问题可能是Java GUI方案(指出,这些全球倡议的MSWindows类别——至少我知道JFrames——是“SunAWTFrame”的,而且由于Swat使用轻重成分,而不是视窗本土组成部分,你获得的软件很容易从他们那里提取窗户信息。 如果没有 Java源代码,我根本不了解这方面的任何容易。

Edit 1
After a little Googling some I have found new information:

  • Have you looked into using perhaps Java Monkey or Java Ferret?
  • Or perhaps best of all, Java Access Bridge which "is a technology that exposes the Java Accessibility API in a Microsoft Windows DLL, enabling Java applications and applets that implement the Java Accessibility API to be visible to assistive technologies on Microsoft Windows systems"
问题回答

java 通道桥c#例:

[alink]





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签