Table of Contents

What's TerminalCommander ?

Requirements

How to Display Help

Install

History

License
Donation

Kurita Tetsuro
scriptfactory@mac.com

Script factory

Read Me First

What's TerminalCommander ?

TerminalCommander is an AppleScript library to help excuting shell commnads in Terminal.app. It is easy simple excution of shell commands in Terminal.app by using "do script" command. This libary provides following flexibily to control Terminal.app.

  • Customizing appearence of terminal to execute shell commands, for example, changing the terminal title and the settings set.
  • Send next command after completion of previous command.
  • By following a terminal window, Sending a command to same terminal window.
    • An instance of TerminalCommander remenber the terminal send a commnd. From next time, the terminal window is used by "do" and "do_with" command.
    • If the terminal window is lost, TerminalCommander can find a terminal window by specified custom title or specified working directory.
    • Setting of cwd-tty.sh is required to find a terminal window by specified woking directory. Execute cwd-tty.sh by source command in .zprofile or .bash_profile.

Requirements

System

  • OS X 10.9 or later
    • Developed and tested on macOS 10.14.6

Depending Libraries

Required to install with TerminalCommander .

How to Display Help

The manual consisted of the reference generated by AppleScriptDoc and sample code is stored in the bundle of "TerminalCommander.scptd". After installation of OpenHelpBook.scptd, run "TerminalCommander" from Script menu.

The detail manual of "TerminalCommander" should be displayed in Help Viewer.

Install

Copy TerminalCommander.scptd into either following locations.

Your Home/Library/Script Libraries/

or

/Library/Script Libraries/

History

  • 3.0.7 -- 2020-05-19
    • Fixed : setting of woking directory (set_working_directory) is ignored.
  • 3.0.6 -- 2020-04-11
    • Removed dependencies on XList and XText
    • Fixed : two terminal window may opened with executing do handler when Terminal.app is not launched.
  • 3.0.5 -- 2020-02-12
    • Added English documents
  • ...
  • 1.0 -- 2004-04-15
    • First release