Command Histories View

Command Histories view shows history of GIS commands executed within sessions in your workbench. The view allows you to: remove, modify, execute and move commands between histories.

Command Histories View

By default Command Histories View is visible in GIS Commands Managing Perspective. To add the view to the current perspective, click Window > Show View > Other... > Magik > Command Histories.

Command Histories view contains tree of the available command histories. The main categories are:

List of the commands from selected history is displayed on the right in Commands list. Selected command can be edited in Modify a command text area.

Command Histories view contains the following actions:

CommandNameDescriptionAvailability
comm_execute Execute Command In Active Console Executes command in last active session. Context Menu and View Action
comm_send Send Command To Active Console Sends command to last active session. Context Menu and View Action
comm_save_new New Command Saves edited command as a new one. Context Menu and View Action
comm_save Save Command Replaces command's body with a new content Context Menu and View Action
copy_edit Copy/Move Command Copies/moves commands to another history. Context Menu and View Action
comm_move_up Move Command Up Moves selected command up in the history command list. Context Menu and View Action
comm_move_down Move Command Down Moves selected command down in the history command list. Context Menu and View Action
comm_import Import Commands Imports command histories from the local file system. Context Menu and View Action
comm_export Export Commands Exports command histories to the local file system. Context Menu and View Action
delete_obj Delete Command Deletes selected command from the history. Context Menu and View Action
command_history_delete Delete History Deletes selected history. Context Menu and View Action
Select All Select all commands. Context Menu Action
comm_execute Wide Set wide command field layout. View Action
comm_execute Narrow Set narrow command field layout. View Action
comm_execute Automatic Set automatic command field layout. View Action

Command History view action's are placed in the view toolbar and view's context menu

Command Histories View Context Menu

Filtering Commands

Commands History view owns two filters: session filter and commands filter. The first can be used to find desired session in the session tree. The second, respectively, filters commands. However it filters commands history from all available sessions, and narrows the session list while filtering.

Command Histories Filtering

Both filters supports wildcard characters such as '*' and '?'.

Command Histories Filtering with wildcards

CharacterDescription
* Any string.
? One or zero occurrences of any character.

Note: Please remember that in order to find string containing '*' or '?' one should precede with '\'

Drag & Drop support

You can drag a command from commands list with a mouse and drop it in the appropriate history in the tree. This will result in moving command to that history. You can do the same with CTRL key for copy command operation.

Related concepts

Magik views
Magik perspectives

Related Reference

GIS Console
Sessions View