Online Help > Entry Types > Common Settings

Common settings – Events

Description

 

Remote Desktop Manager gives you the flexibility to automatically run operations before or after establishing a connection.

 

These operations are defined via the Events section of a session properties. Define a script or a command line which executes at the appropriate time with the provided parameters, such as the session ID or username. For example, events can be used to execute an external batch file or application that prompts the user for more information, or to update a log on a remote server.

 

Session properties – Events

Session properties – Events

 

Settings

 

The Events section is composed of four tabs. All of them can execute the same events. but only at a specific time, such as before the connection is established or after its interruption.

 

OPTION

DESCRIPTION

None

No script, command line or message prompt is executed.

Script

Select a script file to execute The VBScript (*.vbs) file is the only supported format.

Command Line

Enter a command line to execute.

Message Prompt

Enter a message to display.

Macro/Script/Tool

Select a Macro/Script/Tool entry from the data source.

PowerShell

Select a PowerShell script from a local drive.

Copy to clipboard

Provide text to copy to the clipboard.

 

Before Connect – Miscellaneous

The Miscellaneous section of the Before Connect tab allows to power on the remote device before trying to establish the connection.

 

Please note that for the Wake on LAN feature to work:

 

The remote device must support the Wake on LAN feature.

The MAC address must be filled out in the Information section of the session properties.

 

Before Connect – Miscellaneous

Before Connect – Miscellaneous

 

OPTION

DESCRIPTION

Power On Mode

Enable the Wake on LAN.

Wait timeout

Enter the delay before retrying the to wake the remote device.

Retry count

Enter the number of time to try to wake the remote device.

 

After Connect – Macro

Event - After Connect

Event - After Connect

 

This feature simply uses a basic mechanism of sending keystrokes provided by the .NET framework, much like if a person was using the keyboard. It sends the keystrokes to the operating system itself, and they are handled by WHATEVER application has the focus at that time. If the focus is switched to another window, the credentials will most likely be revealed by being typed in a text area.

 

DO NOT USE THIS FEATURE in an environment where passwords MUST be hidden from the user.

 

OPTION

DESCRIPTION

Execute automatically

Execute the macro automatically when the session is opened.

Initial wait

Enter the delay before the macro is executed.

Type

Select how the macro is executed. Select between:

 

Default: enter a typing macro manually.

Link: select an existing Macros/Scripts/Tools from the data source.

Typing macro

Enter the typing macro to execute. For more information, please consult the Typing Macro topic.

macro password

Enter a password to prompt for before executing the macro.

Delay time

Enter the delay time for the {DELAY} instruction.

Command

Enter the delay time between each command.