Home > Software >

Requirements

  • OS X 10.10 or later
    • Developed and tested on macOS 10.14.6.

Download

Version 1.0 -- 2020-04-16

Run in Terminal

“Run in Terminal” is an AppleScript application to run a script or an exectable file of the frontmost context in Terminal.app

When the frontmost application is Finder, the frontmost contest means a selected file. When the frontmost application is an editor, a script file opened as a front document will be executed in Terminal.app.

"Run in Terminal" works in the background because to access the front document. "Run in Terminal" does not apear in the Dock and the front application is not switched.

This application must be launched through a launcher application. For example,

The other features are :

  • When the target file is not given execution permission, command in shebang of the file is used to execute the file.
  • When file name is “Makefile” or file extension is “.mk”, the file is passed as an argument to “make -f” commnd.
  • When shift key is pressed or capslock is on at launching, a dialog to enter arguments will be opened.
  • The customi title of the terminal window is changed to “* Inferior Terminal *”.
  • The profile “Inferior Terminal” is applyed to the terminal.
    • The profile “Inferior Terminal” will be made at first launching.
    • To cutomize appearance of the terminal, chagen settings of the profile “Inferior Terminal”.

History

  • 1.0 -- 2020-04-15
    • First release