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的新手,除了基本的命令外,我不太瞭解所以非常感謝任何幫助。