替代AppleScript的? [英] Alternatives to Applescript?

查看:94
本文介绍了替代AppleScript的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当谈到脚本在Mac,有没有替代的AppleScript?它的API看起来真棒,但语言本身,从我至今读,似乎瞄准了更多非程序员。

When it comes to scripting the Mac, are there alternatives to Applescript? Its API seems awesome, but the language itself, from what I've read so far, seems aimed more at non-programmers.

洞察,这将是很大的帮助。

Insights into this would be greatly helpful.

(此刻,我想编写一个平铺窗口管理器为Mac的。
是的,我知道一些存在的,但是这将是开源的。
是的,我知道Xmonad,但它只做X11窗口。)

(At the moment, I'm thinking of writing a tiling window manager for the Mac. Yes, I know some exist, but this will be open source. Yes, I know of Xmonad, but it only does X11 windows.)

谢谢!

推荐答案

如果Ruby是你的事,你可以使用RubyOSA它允许一个使用Ruby与苹果事件管理器进行交互:

If Ruby is your thing you could use RubyOSA which allows one to use Ruby to interact with Apple's Event Manager:

http://rubyosa.rubyforge.org/

这篇关于替代AppleScript的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆