External Application
The External Application connection can be used to integrate external applications (executables) into Royal TS.
Dashboard
The External Application Dashboard is shown in the Dashboard panel when you select an External Application connection in the Navigation panel. It can be configured to show windows of currently running processes. Use the Connect (Ad Hoc) button in the toolbar to create a new ad hoc external application connection based on the selection. You can move the resulting connection to your document by using drag & drop.
Dashboard Features
Enumerates and shows a list of all windows available from the currently running processes.
- Open in Explorer opens the folder containing the selected executable.
- End Process kills the selected process.
- Connect (Ad Hoc) creates an Ad Hoc External Application connection and tries to embed the selected window.
- Search for a process in the grid.
- Refresh updates the list of available windows.
Dashboard Settings
To configure the application default settings for the included dashboard, open the Plugins Management and click on Dashboard for the External Application plugin.
To configure individual dashboard settings for a connection, use the Dashboard property page.
Plugin Settings
The External Application plugin does not offer any plugin settings at this time.
Connection Properties
The External Application Properties dialog is shown:
- for a new External Application connection by clicking the External Application menu item in the Add drop down menu in the Edit group on the Home ribbon tab.
- for an existing External Application connection by selecting an External Application connection and clicking on the Properties command in the Edit group on the Home ribbon tab.
- as a bulk-edit dialog when multiple External Application connections were selected in the Folder / Document Dashboard and the Properties command in the Edit group on the Home ribbon tab is clicked. See also: Bulk Operations
External Application Properties
The Terminal Connection page allows you to configure basic connection settings, such as host name and the connection type (Telnet, SSH or Serial Port).
Display Name (required)
Enter a display name for object.
Color
Click the color picker button in the display name text box to select a color. In the User Interface settings you can configure to show the color in the navigation tree, the connection tab or as connection border.
Icon
Click the icon picker button next in the display name text box to select and assign a custom icon to the object.
Command
Specify the executable (.exe file) or click on the browse button '...' to browse for an executable on your computer or your network.
Window Picker
The window picker can be used to populate the required fields to start the application based on a running application.
Arguments
Specify any command line arguments if necessary.
Working Directory
Specify the working directory.
Note
To securely inject a username or password from an assigned credential, use the replacement tokens menu of the fly-out button at the right.
Embed Method
- Window Classic re-parenting method. May have ALT-TAB order and focus restore issues.
- Client Area Deeper integration with correct ALT-TAB order but there will be no main menu and application may appear inactive or unfocused.
Description
Enter a description for the object.
Credentials
The Credentials page allows you to assign a credential to the object. You can specify username and password, assign a predefined credential or you specify a credential by name (ideal when you share your configuration). You can also use the credentials defined in the parent folder.
Do not use any credentials
When selected, no credentials are configured for the object. Connections that require credentials may prompt to enter credentials or fail to connect.
Use credentials from the parent folder (not always available)
When selected, Royal TS will look for a configured credential in the parent folder.
Note
Not available for Royal Server objects, Secure Gateway objects, Remote Desktop Gateway objects and Key Sequence Tasks
Use from this connection (not always available)
When selected, the username and password is used from the context connection object.
Specify username and password
When selected, a username and password can be provided. For domain accounts use the syntax "domain\username" (without the quotes).
Use an existing credential
When selected, assign an existing credential to the object using the drop-down list. Use the add button to add a new credential. Use the edit button to edit the selected credential.
Tip
The drop-down list supports sorting and filtering "as you type" to easily find the correct credential.
Specify a credential name
When selected, enter or choose a credential name you want to assign to the object during connect-time.
Note
Assigning a credential by name is recommended when a team of users share the same configuration file. Each user can define his own credential as long as it is using the same name and saves the credential in his own personal and protected document. This makes sharing files across team members very easy while keeping credentials safe.
Omit Domain
When checked, Royal TS will omit the domain portion of the username (domain\username or username@domain).
Note
The Omit Domain checkbox is not available for all object types!
Automatic Logon
When checked, Royal TS will use the credentials to log on to the connection automatically. This setting applies only to connection types supporting automatic logon and is ignored if a connection doesn't support automatic logon.
Note
To access the configured credentials through replacement tokens (for example in Auto Fill or Key Sequence Task configurations), use the replacement tokens \(EffeciveUsername\) and \(EffectivePassword\).
Edit Source
Opens the properties dialog of the source object for the configuration. This button will only be available when the object is configured to use the parent configuration.
See also: Working with Credentials, Credential, About shared documents
Tasks
You can specify a task to be executed before a connection is established and after it has been disconnected. For example: establish a VPN connection before you connect and close it after disconnect.
Connect Task
Do not execute a task
Royal TS will not execute a command task when a connection is established.
Use task from parent folder
Royal TS will look for a configured connect task in the parent folder. This option is not available on the document level.
Use an existing task
Choose a command task from the drop-down list. Use the add button to add a new credential. Use the edit button to edit the selected credential.
Note
The drop-down list supports sorting and filtering "as you type" to easily find the task you are looking for.
Specify a task name
When selected, enter or choose a task name you want to assign to the object during connect-time.
Note
Assigning a task by name is recommended when a team of users share the same configuration file. Each user can define his own task as long as it is using the same name and saves the task in his own personal and protected document. This makes sharing files across team members very easy.
Wait for connect task completion
If checked, Royal TS will wait for the selected task to finish before the connection will be established.
Execute for first connection in folder
If checked, the task will only be executed if no other connection in the same folder is active.
Note
This setting might be useful if you need to setup a VPN connection. Put all your connections which require you to setup this VPN in one folder and Royal TS will establish the VPN connection only for your first connection.
Abort when connect task fails
If checked, the connection will not be established when the configured task fails and returns an Exit Code other than 0.
Disconnect Task
Do not execute a task
Royal TS will not execute a command task when a connection is disconnected.
Use task from parent folder
Royal TS will look for a configured disconnect task in the parent folder. This option is not available on the document level.
Use an existing task
Choose a command task from the drop-down list. Use the add button to add a new credential. Use the edit button to edit the selected credential.
Note
The drop-down list supports sorting and filtering "as you type" to easily find the task you are looking for.
Specify a task name
When selected, enter or choose a task name you want to assign to the object during disconnect-time.
Note
Assigning a task by name is recommended when a team of users share the same configuration file. Each user can define his own task as long as it is using the same name and saves the task in his own personal and protected document. This makes sharing files across team members very easy.
Wait for disconnect task completion
If checked, Royal TS will wait for the selected task to finish before the connection will be disconnected.
Execute for last connection in folder
If checked, the task will only be executed if it is the last active connection in the folder.
Note
This setting might be useful if you need to setup a VPN connection. Put all your connections which require you to setup this VPN in one folder and Royal TS will disconnect the VPN connection after the last connection is disconnected.
See also: Working with Tasks, Command Task
Key Sequence
The Key Sequence page allows you to configure a sequence of key strokes (simulating keyboard events) to be sent to the connection after the connection has been established.
Do not send a key sequence
This is the default value. If selected, no key sequence is sent to the remote session after connect.
Use key sequence task from parent folder
Royal TS will look for a configured key sequence task in the parent folder. This option is not available on the document level.
Specify a key sequence
If selected, a key sequence can be specified for this connection.
Note
Use the fly-out button to the right to show a list of available replacement tokens and special key commands. Use the WAIT command anywhere in the sequence to delay the sequence.
Examples for Key Sequences:
- A group policy is set to show a message whenever a user is attempting to log on interactively. Create a key sequence "{WAIT:1000}{ENTER}" which will wait 1 second (1000ms) after successfully connected to the remote desktop session and sends the ENTER key to the remote session to confirm the message.
- A web page connection to a flash based application which requires you to log on using a username and password can be configured to send the appropriate key sequence after the connection has been established.
Use an existing key sequence task
If selected, a key sequence task can be specified for this connection.
Note
If a key sequence is in progress, do not interact with Royal TS or any other application after you connect. The status bar message indicates when a key sequence is in progress and when it has finished.
Specify a key sequence task name
When selected, enter or choose a key sequence task name you want to assign to the object during connect-time.
Note
Assigning a task by name is recommended when a team of users share the same configuration file. Each user can define his own task as long as it is using the same name and saves the task in his own personal and protected document. This makes sharing files across team members very easy.
Edit Source
Opens the properties dialog of the source object for the configuration. This button will only be available when the object is configured to use the parent configuration.
Window Mode
The Window Mode page allows you to control where the connection should open. Most connection types support Main Window (Embedded) mode and External Window mode. Remote Desktop connections, for example, additionally support External Window (Full Screen) mode.
Open connection in
- Main Window (Embedded)
When selected, the connection will be embedded in the main window. - External Window When selected, the connection will open in an external window.
- External Window (Full Screen)
When selected, the connection will open in an external window in full screen mode (no window title bar and borders).
Use Multiple Monitors
If checked, the connection will use all monitors if connected in Full Screen mode or if the connection is changed to use Full Screen mode while connected.
Note
This option is only available for connections supporting full screen and multiple monitors (like Remote Desktop).
Don't show the connection bar
If checked, the connection bar will not be shown in full screen mode.
Note
This option is only available for Remote Desktop connections. To display the connection bar, use the Ctrl + Alt + Home keyboard shortcut.
External Window Settings
The following settings can be configured when the window mode configuration is set to external window.
Screen
- Remember Screen
Royal TS remembers which screen the connection was on after you've disconnected the connection and tries to open the external connection window on the same screen the next time you connect. - Screen 1 ... 9
Choose on which screen you want the external connection to be opened.
Note
Setting the Screen configuration to a screen which is currently not available on your computer will be ignored as long as the screen is not available. A common scenario for this is, working with the same file on a laptop computer with only one screen and a workstation with multiple screens connected. Setting connections to open on the Screen 3 will open on the main display on your laptop while the same connection will open on your workstation on Screen 3.
Position
- Remember Position
Royal TS will remember the last window position after you've disconnected the connection and tries to open the external connection window at the same position the next time you connect. - Custom Left and Top
Specify the left and top coordinates (in pixels) where the external connection window should be positioned.
Size
- Remember Size
Royal TS will remember the last window size after you've disconnected the connection and tries to open the external connection window with the same size the next time you connect. - Custom Width and Height
Specify the width and height (in pixels) of the external connection window. - Maximize
The external connection window will be maximized. - Preferred Size
The external connection window will use the sized configured in the connection. This setting will only be effective for connection types supporting a custom client size (for example the Desktop Size in the Display Options of a Remote Desktop Connection). If a connection type doesn't support a custom client size the setting will be ignored and the external window will be maximized.
Minimize Main Window
When checked, Royal TS will minimize the main window after the connection was established.
Open Display Properties
Opens the display properties control panel. With the control panel you can identify your screens.
Dashboard
The Dashboard page allows you to setup the default dashboard behavior for this connection. Dashboards are updated when a selection has changed. By default, the dashboard tab is shown and activated for inactive connections.
Use the plugin default settings
If selected, Royal TS will use the plugin default settings for the dashboard. You can change the plugin default settings by clicking on the Settings... button. Changes to the plugin default settings will affect all connections using the same plugin and the default settings. See also: Plugins
Use connection specific settings
If selected, Royal TS allows you to configure the dashboard settings for the connection.
Secure Gateway
The Secure Gateway page allows you to configure a Secure Gateway object for supported connections or choose to use a Secure Gateway configuration from the parent folder.
Use Secure Gateway from the parent folder
If checked, Royal TS will look for a configured Secure Gateway in the parent folder. This option is not available on the document level.
Gateway Usage
- Never
The Secure Gateway is never used and Royal TS will directly connect to the remote computer. - Always
The Secure Gateway is always used and Royal TS will tunnel all communication to the remote computer through the gateway. - On Demand
The Secure Gateway will be used if the target machine cannot be reached directly.
Direct Connect (No Secure Gateway)
This is the default value. If selected, no Secure Gateway is used and Royal TS will directly connect to the remote computer.
Specify a Secure Gateway object
The selected Secure Gateway object is used for supported connections.
Note
A Secure Gateway is a component included in Royal Server and can be used to connect through an SSH tunnel (port forwarding).
Edit Source
Opens the properties dialog of the source object for the configuration. This button will only be available when the object is configured to use the parent configuration.
See also: Introducing Royal Server
Advanced
The Advanced page allows you to configure advanced external application settings.
Options
Run Elevated
If checked, Royal TS will start the process elevated. Embedded window mode will not be available when Royal TS was not started as administrator (elevated).
Use Credentials
If checked, Royal TS will start the process running as the user configured in the Credential settings page. Ensure the user has the right to log on locally on this machine.
Load Profile
If checked, Royal TS will load the user profile for the configured credential.
Start Unattached
If checked, Royal TS will not track (embed) the process of the application. The process will be started independently (like starting an application using a shortcut).
Start Hidden
Royal TS will start the process hidden so that the main window will not be shown until available to embed into the tab. This setting should only be used when you plan to embed the external app in a tab.
Kill on Disconnect
Royal TS will kill the process when the external app connection is disconnected.
Process Tracking
Window Title Match
Enter the window title or part of the window title to identify the window Royal TS should embed into the tab. Optional: Leave empty if you want Royal TS to use the main window of the process.
Skip Title Matches
The number of title matches to skip. Useful when an application shows multiple windows with the same title, such as WinSCP.
Process Name to Track
Enter the process name (other than the configured command) to identify the process Royal TS should track or embed into the tab. Optional: Leave empty if you want Royal TS to use the original process provided in the command field.
Command Line Match
Enter the command line or part of the command line to identify the process Royal TS should track or embed into the tab. Optional: Leave empty if you want Royal TS to use the original process provided in the command field.
Min. Wait Time
The minimum amount of time (in seconds) to wait before Royal TS grabs the window of the external application.
Max. Wait Time
The maximum amount of time (in seconds) to wait before Royal TS stops trying to grab the window of the external application. When the max. wait time expires, Royal TS will cancel the connection attempt.
Secure Gateway
Computer Name
Specify a computer name or IP address to use in the command line arguments. By using the \(URI\) replacement tokens, local port forwarding can be used for external applications.
Port
Specify a port to use in the command line arguments. By using the \(Port\) replacement tokens, local port forwarding can be used for external applications.
Use Port for local forwarding
Royal TS use the specified port instead of a dynamic port for local forwarding. This can be helpful if the destination port is known but cannot be specified in the arguments.
Note
You can use a secure gateway for port forwarding if the application allows you to specify a computer name or port to connect to. You can use the replacement tokens \(URI\) and \(Port\) in the arguments.
Notes
The Notes page allows you to enter notes for the selected object with HTML formatting, links and embedded images. You can also configure the notes to be inherited from the parent folder.
Use Notes from the parent folder
When selected, Royal TS will display the notes from the parent folder in the notes panel. This option is not available on the document level.
Tip
To embed images, drag them into the editor using drag & drop.
Custom Properties
The Custom Properties page allows you to enter and store additional information for the object. Various data formats are available, including protected fields. You can also group properties by using Header.
Inherit from Parent
When checked, the properties configured on the parent folder are shown but are read-only.
Custom Properties
Use the '+' icon to add a header or a Field or multiple fields based on a template. Click on the label to name the field and enter a value. Click the 'Gear' icon to remove a field or header. The 'Gear' icon also shows additional options, like moving a field up or down.
Custom Fields
The Custom Fields page allows you to enter and store additional information for the object. Custom fields can be used in tasks and templates to inject values from the context connection.
Standard custom fields are also shown in the folder dashboard views and in the properties panel. Protected custom fields can be used to store confidential data (for example when you need an additional password in a task). If you make use of protected custom fields, make sure you encrypt and password protect your document.
Note
Custom fields can be used in Tasks and in the Properties Panel. You can put web page URLs (like an iLO management address) or command lines (such as programs or batch files) in the custom fields and execute them using tasks or directly from the properties panel. Each individual custom field can also be configured to be inherited from the parent folder.
Parent Folder
The Parent Folder page allows you to view or change the parent folder of the selected object. To move multiple objects to another folder use the parent folder page in bulk-edit mode or use the move to command from the Edit tab (see Working with Connections).
Important
You cannot create connections in the Application document. Moving a folder containing connections to a folder in the Application document will fail.