[英]java os x enumerate windows/window locations
I'm familiar with using ffi+jruby to enumerate windows/window locations in java+windows by calling into the windows api's...anybody know how to do such a thing in OS X (enumerate windows, their locations, titles et al)?我熟悉使用 ffi+jruby 通过调用 windows api 来枚举 java+windows 中的窗口/窗口位置......任何人都知道如何在 OS X 中做这样的事情(枚举 windows,它们的位置,标题等) ?
Thanks!谢谢!
-roger- -罗杰-
http://programming-gone-awry.blogspot.com/2011/08/mac-os-x-enumerate-windows-like-windows.html seems to show the available options. http://programming-gone-awry.blogspot.com/2011/08/mac-os-x-enumerate-windows-like-windows.html似乎显示了可用的选项。
http://forum.soft32.com/mac/Enumerating-windows-ftopict46287.html http://forum.soft32.com/mac/Enumerating-windows-ftopict46287.html
How can I programatically move one Terminal.app window to another space? 如何以编程方式将一个 Terminal.app window 移动到另一个空间?
How do I get a list of the window titles on the Mac OSX? 如何在 Mac OSX 上获取 window 标题列表?
Do you have to use some accessibility API or something...您是否必须使用一些可访问性 API 或其他东西...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.