4.7. Scripting Menu

Offers features for script editing adn for running user scripts.

For details on scripting, see Chapter 19, Scripting.

For details on user scripts, see Chapter 20, User Scripts

Figure 4.24. Scripting Menu

Scripting Menu

4.7.1. Show Scripting Console

Opens a command line console to type in Python or JavaScript code (depending on the setting in the Preferences). Useful for debugging when programming user interfaces dynamically. The console is opened in the context of the current network. Access is possible to

  • the contexts of all modules contained in the current network

  • (for macro modules) to all objects of included modules in a recursive descend

[Note]Note

If the current network is a macro network, the script console is opened in the context of the macro module. The same context is reached when opening the script console via the macro module's context menu, DebuggingShow Script Console.

4.7.2. Edit Network Script

(Macro modules only) Opens the interface definition file (.script or .def) in the default text editor.

4.7.3. Start Network Script

(Macro modules only) Parses the interface definition file (.script or .def). Has the same effect as adding the macro module to a network and opening the module panel.

4.7.4. Run User Script...

Opens a browse dialog to load and run a user script. By default, the folder MeVisLab/IDE/Modules/IDE/USerScripts is opened, where a number of commonly used scripts are located.

4.7.5. Run Last User Script:

Runs the last chosen user script. This menu entry is only active if a user script has been executed before.

4.7.6. Run Recent User Script

Offers a list of recently executed user scripts to choose from.

4.7.7. Example Scripts

Offers a list of pre-installed example user scripts.

4.7.8.