[英]Is there any way to get all “properties” of “control view” in desktops application window using Java or any other library?
Is there any way to get all "properties" of a "control view" in a window of desktops application using Java or any other library? 有没有办法在使用Java或任何其他库的桌面应用程序窗口中获取“控件视图”的所有“属性”? I have tried with a java wrapper (www.github.com/mmarquee/ui-automation) for "Microsoft UI Automation" ( https://msdn.microsoft.com/en-us/library/windows/desktop/ee684009(v=vs.85).aspx ), but couldn't find a way to get all properties (elements) of a desktop window.
我尝试使用java包装器(www.github.com/mmarquee/ui-automation)进行“Microsoft UI Automation”( https://msdn.microsoft.com/en-us/library/windows/desktop/ee684009(v) = vs.85).aspx ),但无法找到获取桌面窗口的所有属性(元素)的方法。 If you know any better way to do this, please reply with sample codes.
如果您知道更好的方法,请回复示例代码。 Thanks in advance.
提前致谢。 Please refer this link (image) to get what i mean by properties
请参考此链接(图片)以获取我的意思
If I understand you correct, Inspect.exe
is what you need. 如果我理解你是正确的,
Inspect.exe
就是你需要的。 If Windows SDK is installed on your PC, Inspect.exe
can be found here: 如果您的PC上安装了Windows SDK,可以在此处找到
Inspect.exe
:
C:\Program Files (x86)\Windows Kits\<winver>\bin\x64
Source: Getting Started Guide for pywinauto. 来源:pywinauto 入门指南 。 Yes, it's Python.
是的,它是Python。 Don't know good Java wrappers since I'm not in Java world.
因为我不在Java世界,所以不知道好的Java包装器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.