Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨 Fox 我想检测光标下的单词并从中获取图像(如巴比伦)。但我不知道如何获取光标下抓取单词的屏幕区域。
谢谢你的帮助
这是通过 Microsoft Active Accessibility (MSAA) 完成的。你不会在你的程序中自己做。
由于它是基于 COM 的,因此您可以从 C++ 和 C# 中执行此操作。
(假设是 Windows,因为它被标记为 C#)