Using Shell Commands in the Source Panel

To execute a shell command, in the Source panel:
-
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.
-
Choose Command > Execute Command...
-
Enter the command to execute.
-
Click OK. The results of the command are inserted.
To add a shell command to the Command menu:
-
Choose Command > Edit Shell Commands... to open the Edit Shell Menu dialog.
-
Select New in the list box.
-
Type in the shell command name that you want to appear on the menu.
-
With the cursor over the Accelerator field, enter an accelerator
sequence, if desired.
-
Enter a mnemonic, if desired.
-
Choose how you want to provide input to the command.
-
Choose where you want the command output to go.
-
Type in the shell command to execute, using % to refer to the filename
currently displayed in the Source
panel.
-
Click Add.

See Also

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