Using Shell Commands in the Source Panel

To execute a shell command, in the Source panel:

  1. Position the cursor where you want the results of the shell command to appear, or select the text to replace by the results of the shell command.

  2. Choose Command > Execute Command...

  3. Enter the command to execute.

  4. Click OK. The results of the command are inserted.

To add a shell command to the Command menu:

  1. Choose Command > Edit Shell Commands... to open the Edit Shell Menu dialog.

  2. Select New in the list box.

  3. Type in the shell command name that you want to appear on the menu.

  4. With the cursor over the Accelerator field, enter an accelerator sequence, if desired.

  5. Enter a mnemonic, if desired.

  6. Choose how you want to provide input to the command.

  7. Choose where you want the command output to go.

  8. Type in the shell command to execute, using % to refer to the filename currently displayed in the Source panel.

  9. Click Add.

See Also

Guide to the Cosmo Code Development Environment
12-96*295