AppleScript to open named terminal window

前端 未结 2 565
礼貌的吻别
礼貌的吻别 2020-12-14 12:46

I have two windows/tabs set up to run in Terminal.app, \"syd\" and \"mel\". i.e. in Shell | New Window, \"syd\" and \"mel\" are listed. How can I open these terminal confi

2条回答
  •  暖寄归人
    2020-12-14 13:25

    Should be something like this:

    tell application "Finder"
       open file "MyDisk:Users:myhome:Library:Application Support:Terminal:myconfig.terminal"
    end tell
    

提交回复
热议问题