HyperPad User Guide
How it is works and how to do
previous :: contents ::

Back to > Overview > Users Guide

How it is works and how to do

Table of Contents
1. How it is works
    1.1. The Interactive Mode
    1.2. The Source Editor
2. How to do
    2.1. Writing and executing scripts


1. How it is works

1.1. The Interactive Mode

The interactive mode is the place where you can type in a script and execute it. Here you have a command prompt as in a terminal. This mode actually working as a command window, but beyond that it has syntax highlighting and command history. The results of the executed script is showed after the script you typed and then you get back the command prompt and you can type the next script.

top

1.2. The Source Editor

Here, as the name also indicate, you can edit a script or type and execute it from here. You also have syntax highlight here as in interactive mode. This mode is almost like the interactive mode, but here you haven't command prompt and no results showed here.

top

2. How to do

2.1. Writing and executing scripts

You have two possibilities to write a script. The first way is to simply type it in interactive mode and then hit the Enter to execute it. The second way is the source editor mode. Here you can also write the script, but there the executing is working else. To execute only a part from the script just select this part then right click with the mouse and select from popup menu the Run selected item. You also can run the edited script by clicking on the run button from the toolbar.

There is another thing which is important: the mode is always changing to that mode which is getting used, for example you type in a command into the source editor mode and select the Run item from popup menu, the mode will be changed to interactive mode and the results will be displayed here. In the same way when you type a command into the interactive mode and execute it, the command which was executed will be copied to the source editor pane.

You also can run a script if you know the path to it. In this case enter the path into the navigation box from navigation bar and hit Enter to load the script. This way the script will be executed and the script source will be put in the source editor pane.

top


© 2001