Using the 'connect' Method

If you are using the SDK library, you can use the createToolbar, toolbarVisible and toolbarRestrictions parameters in the connect method.

Read more about how to get started with the Thinfinity® Remote Desktop Server SDK library.

Here is the syntax for the toolbar parameters:

mythinrdp.connect({
 createToolbar: true,
 toolbarVisible: true,
 toolbarRestrictions: [
"actionsMenuBtn",
//"Actions"
"actionsMenuBtn.refresh",
//"Refresh"
"actionsMenuBtn.ssnShareBtn",
//"Share session"
"actionsMenuBtn.sendKeysBtn",
//"Send Keys..."
"actionsMenuBtn.sendKeysBtn.ctrlAltDelBtn",
//"Ctrl + Alt + Del"
"actionsMenuBtn.sendKeysBtn.ctrlEscBtn",
//"Ctrl + Esc"
"actionsMenuBtn.sendKeysBtn.shiftCtrlEscBtn",
//"Shift + Ctrl + Esc"
"actionsMenuBtn.sendKeysBtn.windowsExplorerBtn",
//"Shell Explorer"
"actionsMenuBtn.sendKeysBtn.runBtn",
//"Run"
"actionsMenuBtn.sendKeysBtn.altTabBtn",
//"Alt + Tab"
"actionsMenuBtn.sendKeysBtn.altShiftTabBtn",
//"Alt + Shift + Tab"
"actionsMenuBtn.sendKeysBtn.altEscBtn",
//"Alt + Esc"
"actionsMenuBtn.sendKeysBtn.leftWinBtn",
//"Left Win Key"
"actionsMenuBtn.sendKeysBtn.rightWinBtn",
//"Right Win Key"
"actionsMenuBtn.viewOptionsBtn",
//"View params & layout"
"fileMenuBtn",
//"File transfer"
"fileMenuBtn.fileManBtn",
//"File Manager"
"fileMenuBtn.uploadBtn",
//"Upload"
"fileMenuBtn.downloadBtn",
//"Download"
"optionsMenuBtn",
//"Options"
"optionsMenuBtn.scaleBtn",
//"Scale"
"optionsMenuBtn.imgQualityBtn",
//"Image Quality"
"optionsMenuBtn.imgQualityBtn.imgQHighestBtn",
//"Highest"
"optionsMenuBtn.imgQualityBtn.imgQOptimalBtn",
//"Optimal"
"optionsMenuBtn.imgQualityBtn.imgQGoodBtn",
//"Good"
"optionsMenuBtn.imgQualityBtn.imgQPoorBtn",
//"Poor"
"optionsMenuBtn.keyboardMode",
//"Disable Shortcuts"
"disconnectBtn",
//"Disconnect"
 ]
}

Please note that in this example all the options for toolbarRestrictions are included, which would result in a blank toolbar. Include in the toolbarRestriction parameter only the buttons you want to exclude from the Thinfinity® Remote Desktop Server toolbar.

Remember that these settings will be overriden by those in the customsettings.js file.

Last updated