Run Command Tutorial

 

Table of Contents

Saving and Rerunning Commands

Having to repeatedly enter commands and select options in the Run Command dialog box can quickly become tedious. Fortunately, you can save commands for reuse so that you don't have to retype frequently used commands.

Rerunning Recent Commands

Select Tools|Recent Commands to rerun recently run commands.

View Example

Top

Saving Commands in the Toolbox

The Run Command dialog box contains an option for saving commands in the Toolbox for reuse. A command saved in the Toolbox is indicated with the icon.

View Example

  1. Select Tools|Run Command.
  2. In the Run field, enter the command: echo Hello World
  3. Select the Add to Toolbox check box.
  4. Click the Run button to run your command. Notice that a command named "echo Hello World" has been added to your Toolbox.
  5. Double click the icon next to "echo Hello World" to rerun the command.
Top

Saving Commands in a Project

Commands can also be stored in a Komodo Project.

View Example

For example, your working copy of the Run Command Tutorial project includes a Command to echo "Hello World". Note that a working copy of this tutorial's project was created in this tutorial step.

You might want to add commands to your projects to run make or other command line tools. There are two ways to add commands to a project:

  • Right click on a project and select Add New Command....
  • Drag and drop a command from the Toolbox or another open project onto the Projects pane.
Top

Editing Saved Command Properties

You can edit the properties of commands in the Command Properties dialog box.

View Example

To open this dialog box, right click on any saved command and select Properties.


Top Previous Next