Script Editor

[Top]  [Previous]  [Next]  

The Script Editor lets you edit NetMan scripts. The Script Editor can show a streamlined view and an expert view, depending on the type of script. The streamlined view shows you the options available for the script you open without tools for editing the individual Actions. The expert view, on the other hand, gives you full access to all NetMan actions. You can use NetMan actions to customize scripts and adapt them for your exact requirements. The possibilities range from basic functions to complex, highly sophisticated script sequences.

The Script Editor shows the following script types in the streamlined view:

Program

URL

Desktop session

 

These script types execute simple tasks, which do not require the insertion of further actions. A program script only launches a program, a desktop session script only opens a desktop session. These scripts generally require only minimal adaptation, and the streamlined view ensures fast and uncomplicated processing for rapid results.

 

Streamlined view in the Script Editor:

 

scripteditor_simple01

 

A progress bar on the left-hand side of the status bar at the bottom of the window indicates the progress of the current operation. On the right, the status bar shows whether the script is designated for display in the NetMan Client and in the Web Interface. These properties are configured on the Settings page. In the selection sidebar on the left you can select the dialog pages for configuring the options available in the streamlined view:

 

tip There are minor differences in which pages are shown and the options available on them, just depending on the type of Script you are editing. All pages and settings are described in detail in the following.

 

Script. Shows general settings for the script, such as name, initial settings and access time definition.

Settings on the 'Script' page        Settings on the 'Script' page:

Program. On this page, you can select settings that apply to program scripts, such as the program to be launched and the associated data logging functions.

Settings on the 'Program' page        Settings on the 'Program' page:

URL. On this page, you can define the URL to be opened and additional settings, such as event logging and the Internet filter.

Settings on the 'URL' page        Settings on the 'URL' page:

Windows App. On this page you apply settings to Windows app scripts, e.g. the started app and the logging.

Settings of the Windows App page        Settings of the 'Windows App' page:

Mount. On this page, you can mount drives or network shares for a program.

Settings on the 'Mount' page        Settings on the 'Mount' page:

Settings. This page lets you configure options related to the display and execution of the Script, such displaying the Script in the Web Interface or launching it in the NetMan Debugger for testing.

Settings on the Properties page        Settings on the 'Properties' page:

Permissions. On this page, you can define permissions for running the Script. These are made up of conditions or NetMan resources. You can also define global permissions. For details on creating global permissions, see "Create Global Permissions“.

Notes. Notes. use this page to store information relating to the use of the Script, or other important data such as a program serial number. The text you enter is fully user-definable. This page also shows the descriptions of script sequences as defined for display in the NetMan Debugger. If no text has been entered here, the icon in the sidebar is a blank page. Once text has been stored here, the icon shows a page with writing on it.

 

The following functions are available in the ribbon:

NetMan Tools. Opens the NetMan Tools for access to other NetMan Desktop Manager programs.

New. Creates a new script.

Save. Saves the current script.

Save and close. Saves the current script and closes the Script Editor.

Used by. Opens the NetMan Object Inspector and shows the references assigned to the Script.

Debug. Launches the Script in the NetMan Debugger.

Start. Launches the script for testing.

Advanced script. Turns the script into an advanced script.

 

The Script Editor can turn program scripts and URL scripts into advanced scripts. Use this function if you need more configuration options than the streamlined view provides.

The Script Editor shows the following script types in the expert view:

NetMan (startup/shutdown)

Advanced

Installation

 

In the expert view, you have access to the entire script sequence and can add and configure actions as desired.

 

Expert view in the Script Editor:

 

scripteditor_expert01

 

Unlike the streamlined view, the sidebar of the expert view contains only the links to the Properties, Permissions, Settings and Notes pages. The options on these pages are the same as those on the corresponding pages of the streamlined view. Additional pages are not shown here because the entire script sequence is defined by NetMan actions. The right-hand pane is the Action window, and shows the sequence of actions chronologically from top to bottom. This is the order in which the actions will be processed when the script runs. For detailed descriptions of all actions and their uses, see "Actions“.

The functions in the ribbon at the top of the screen let you configure and edit the script and its actions. The NetMan and Script sections correspond to those in the streamlined view. The additional functions, in the Action section, include the following:

Program. Click here to add a program action at the selected position in the action sequence (on the right).

 

tip When you click on the button, all available actions in that category are shown. For details on which actions are in each category, see "Actions“.

 

Dialogs. Adds an action from the Dialogs category.

Drives. Adds an action from the Drives category.

Controls. Adds an action from the Controls category.

Users. Adds an action from the User category.

Data. Adds an action from the Data category.

Files. Adds an action from the Files category.

Up. Moves the selected action one position higher (earlier) in the action sequence.

Down. Moves the selected action one position lower (later) in the action sequence.

Delete. Deletes the selected action.

Top. Moves the selected action to the top (beginning) of the action sequence.

End. Moves the selected action to the bottom (end) of the action sequence.

Reset. Resets the action sequence and deletes all actions.

 

For details on creating advanced scripts, see "Create Advanced Scripts“. There you can also read examples of how to fill an advanced script with common actions.