如何以编程方式从另一个应用程序移动/调整窗口大小? [英] How can I move/resize windows programmatically from another application?
本文介绍了如何以编程方式从另一个应用程序移动/调整窗口大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道,我可以使用Apple事件对象模型来移动和调整Cocoa应用程序的窗口大小.但是我可以在碳纤维应用中使用什么呢?
I know, that I can use Apple Event Object Model for moving and resizing windows of Cocoa applications. But what can I use for Carbon applications?
推荐答案
相同.您可以在任何可编写脚本的应用程序上使用Apple Events,并且Apple Events和可编写脚本的功能要比Carbon悠久得多.
Same thing. You can use Apple Events on any scriptable application, and Apple Events and scriptability are a lot older than Carbon.
这篇关于如何以编程方式从另一个应用程序移动/调整窗口大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文