Using customsettings.js

Top  Previous  Next

 

 

The customsettings.js file is distributed with the installation of ThinRDP Server . You will find this file in the 'webrdp' folder in the ThinRDP Server installation directory.

 

customsetings.js is a javascript file that contains javascript code which is read by the client's browser when they access ThinRDP Server and then communicates with ThinRDP Server to send information, like toolbar parameters. You can open it with any text editor, like notepad.

 

The initial values include the createToolbar and toolbarVisible parameters. Change their value to false/true following the format.

 

var customSettings = {

   "createToolbar": true,                         // Create ThinRDP toolbar

   "toolbarVisible": false                         // ThinRDP toolbar starts expanded (visible)

};

 

 

The double slash indicates a comment, and the text that follows is not considered code —as long as it is on the same line. You can use comments to write notes next to the parameters in customsettings.js

 

In this example, the comments are being used to describe the function.

 

When you are done, close the file and save the settings. Don't change the file's location. The changes will be taken by ThinRDP immediately.

 

Read more about Custom Settings.