Toolbar Customization
The toolbar customization parameters allow you to restrict partially or totally the user's options by eliminating buttons from the Thinfinity® Remote Desktop Server toolbar's defaults.
// Toolbar customization
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"
]
Observe on the code above that for the toolbarRestrictions parameter all the options are included for visibility purposes. In this case the toolbar would have no buttons. The same can be accomplished by "createToolbar": false.
In the following table you can find a description of each parameter along with its type/format and default value.
Parameter
What it means
Type/format
Default
createToolbar
Set to false to have all the Thinfinity® Remote Desktop Server connections not have the Thinfinity® Remote Desktop Server toolbar above the remote desktop. This is useful if you want to keep users from sending keystroke combinations.
boolean
true,false
true
toolbarVisible
Set to true to have the Thinfinity® Remote Desktop Server toolbar start expanded. Without modifying this value, the toolbar will start collapsed and the user needs to click on a button the expand it. This is useful if you think the Thinfinity® Remote Desktop Server toolbar settings should be displayed so it's more evident to users.
boolean
true,false
true
toolbarRestrictions
Use this parameter to eliminate specific buttons from the Thinfinity® Remote Desktop Server toolbar. Each button is explained in detail in the table below
array
true,false
[]
In the following table you can find a description of each of the toolbarRestrictions values you can use to restrict certain buttons or menues of the Thinfinity® Remote Desktop Server toolbar. Notice that sub menues and options within menues have the parent menu name as part of their name. This will help you read the value list.
Value
What it means
"actionsMenuBtn"
Eliminates the 'Actions' menu and all its options from the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.refresh"
Eliminates the 'Refresh' option from the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.ssnShareBtn"
Eliminates the 'Share Session' option from the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn"
Eliminates the 'Send Keys...' sub menu and all its options from the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.ctrlAltDelBtn"
Eliminates the 'Ctrl + Alt + Del' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.ctrlEscBtn"
Eliminates the 'Ctrl + Esc' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.shiftCtrlEscBtn"
Eliminates the 'Shift + Ctrl + Esc' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.windowsExplorerBtn"
Eliminates the 'Shell Explorer' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.runBtn"
Eliminates the 'Shell Explorer' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.altTabBtn"
Eliminates the 'Alt + Tab' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.altShiftTabBtn"
Eliminates the 'Alt + Shift + Tab' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.altEscBtn"
Eliminates the 'Alt + Esc' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.leftWinBtn"
Eliminates the 'Left Win Key' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.sendKeysBtn.rightWinBtn"
Eliminates the 'Right Win Key' option from the 'Send Keys...' sub menu in the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"actionsMenuBtn.viewOptionsBtn"
Eliminates the 'View params & layout' option from the 'Actions' menu in the Thinfinity® Remote Desktop Server toolbar.
"fileMenuBtn"
Eliminates the 'File Transfer' menu and all its options from the Thinfinity® Remote Desktop Server toolbar.
"fileMenuBtn.fileManBtn"
Eliminates the 'File Manager' option from the 'File Transfer' menu in the Thinfinity® Remote Desktop Server toolbar.
"fileMenuBtn.uploadBtn"
Eliminates the 'Upload' option from the 'File Transfer' menu in the Thinfinity® Remote Desktop Server toolbar.
"fileMenuBtn.downloadBtn"
Eliminates the 'Download' option from the 'File Transfer' menu in the Thinfinity® Remote Desktop Server toolbar.
"optionsMenuBtn"
Eliminates the 'Options' menu and all its options from the Thinfinity® Remote Desktop Server toolbar.
"optionsMenuBtn.scaleBtn"
Eliminates the 'Scale' option from the 'Options' menu in the Thinfinity® Remote Desktop Server toolbar.
"optionsMenuBtn.imgQualityBtn"
Eliminates the 'Image Quality' sub menu and all its options from the 'Options' menu in the Thinfinity® Remote Desktop Server toolbar.
"optionsMenuBtn.imgQualityBtn.imgQHighestBtn"
Eliminates the 'Highest' option from the 'Image Quality' sub menu in the Options' menu in the Thinfinity® Remote Desktop Server toolbar.
"optionsMenuBtn.imgQualityBtn.imgQOptimalBtn"
Eliminates the 'Optimal' option from the 'Image Quality' sub menu in the Options' menu in the Thinfinity® Remote Desktop Server toolbar.
"optionsMenuBtn.imgQualityBtn.imgQGoodBtn"
Eliminates the 'Good' option from the 'Image Quality' sub menu in the Options' menu in the Thinfinity® Remote Desktop Server toolbar.
"optionsMenuBtn.imgQualityBtn.imgQPoorBtn"
Eliminates the 'Poor' option from the 'Image Quality' sub menu in the Options' menu in the Thinfinity® Remote Desktop Server toolbar.
"optionsMenuBtn.keyboardMode"
Eliminates the 'Disable Shortcuts' option from the 'Options' menu in the Thinfinity® Remote Desktop Server toolbar.
"disconnectBtn"
Eliminates the 'Disconnect' menu from the Thinfinity® Remote Desktop Server toolbar.
Copy link