InferiorTerminal is a library to prepare a reserved terminal to execute commands send from AppleScripts.
InferiorTerminal always send commands to a terminal specified with a name of which default value is “* Inferior Terminal *”.
If your AppleScripts to run commands in Terminal.app open a new terminal every time, too many windows will be opened. By using this library, your scripts can send command to one terminal window always and you can prevent window cluttering.
To visually distinguish the terminal, the window title is changed to “* Inferior Terminal *” and a profile “Inferior Terminal” is applied to the terminal. If the profile “Inferior Terminal” does not exist, the settings set is generated by copying the default settings. By customizing the profile “Inferior Terminal”, you can change appearance of the terminal “* Inferior Terminal *”.
The name and the profile used for the terminal can be customized by utilizing a constructor method make_with.
Required to install with InferiorTerminal .
The manual consisted of the reference generated by AppleScriptDoc and sample code is stored in the bundle of "InferiorTerminal.scptd". After installation of OpenHelpBook.scptd, run "InferiorTerminal" from Script menu.
The detail manual of "InferiorTerminal" should be displayed in Help Viewer.
Copy InferiorTerminal.scptd into either following locations.
Your Home/Library/Script Libraries/
or
/Library/Script Libraries/