1
我希望在Xcode中创建一个启动终端并运行emacs
的AppleScript应用程序。我也想要它输入Esc - X它完成后跟随它,无论我需要运行的任何emacs程序。我试过do shell script "emacs"
但日志输出使用AppleScript在终端中运行emacs
[XXAppDelegate applicationWillFinishLaunching:]: emacs: standard input is not a tty (error 1)
,并且仍然没有解决Esc键打字的问题 - X以后。
作为AppleScript的新手,除了基本的命令外,我不太了解所以非常感谢任何帮助。