{"id":12752,"date":"2018-10-04T14:56:14","date_gmt":"2018-10-04T11:56:14","guid":{"rendered":"https:\/\/tsplus.tempsite.io\/?page_id=12752"},"modified":"2025-05-12T06:21:48","modified_gmt":"2025-05-12T13:21:48","slug":"html5-client-using-clipboard","status":"publish","type":"post","link":"https:\/\/tsplus.me\/html5-client-using-clipboard\/","title":{"rendered":"HTML5 Client: Using Clipboard"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"12752\" class=\"elementor elementor-12752\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8429fcd elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"8429fcd\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6357439 jltma-glass-effect-no\" data-id=\"6357439\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-50db696 jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"50db696\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The clipboard can be found on the HTML5 Top menu, with this icon:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f9bfc78 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"f9bfc78\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"42\" height=\"44\" src=\"https:\/\/tsplus.me\/wp-content\/uploads\/2018\/10\/clipboard-icon.png\" class=\"attachment-large size-large wp-image-17356\" alt=\"clipboard-icon\" srcset=\"https:\/\/tsplus.me\/wp-content\/uploads\/2018\/10\/clipboard-icon.png 42w, https:\/\/tsplus.me\/wp-content\/uploads\/2018\/10\/clipboard-icon-20x20.png 20w\" sizes=\"(max-width: 42px) 100vw, 42px\" title=\"\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-09fe8b3 jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"09fe8b3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Most browsers except older MSIE browsers do not support the direct clipboard reading and writing due to security reasons.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c10ce34 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"c10ce34\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"316\" height=\"269\" src=\"https:\/\/tsplus.me\/wp-content\/uploads\/2018\/10\/clipboard.jpg\" class=\"attachment-large size-large wp-image-17357\" alt=\"clipboard\" srcset=\"https:\/\/tsplus.me\/wp-content\/uploads\/2018\/10\/clipboard.jpg 316w, https:\/\/tsplus.me\/wp-content\/uploads\/2018\/10\/clipboard-300x255.jpg 300w, https:\/\/tsplus.me\/wp-content\/uploads\/2018\/10\/clipboard-20x17.jpg 20w\" sizes=\"(max-width: 316px) 100vw, 316px\" title=\"\">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d07d81c jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"d07d81c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Here are the different actions:<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5a27d5e elementor-widget-divider--view-line jltma-glass-effect-no elementor-widget elementor-widget-divider\" data-id=\"5a27d5e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e48f5c jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"1e48f5c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><p><strong>To Clip<\/strong>: sends TO RDP SESSION the content of the TEXT AREA and produces Ctrl+V on the end to put the text INSIDE RDP SESSION (your OWN ENVIRONMENT is not touched!!!)<\/p><\/li><li><p><strong>To IME<\/strong>: converts chars from TEXT AREA to keystrokes and sends it so as if you have used keyboard. (this button is necessary when you want to put the text where clipboard text input is not supported inside rdp session app)<\/p><\/li><li><p><strong>ToEnv<\/strong>: TRIES to put text from TEXT AREA to YOUR OWN CLIPBOARD outside of your browser (not to RDP session but your own ENVIRONMENT!!!!) Because adding text to own clipboard is priviledged action it must be executed by click.<\/p><\/li><li><p><strong>To Clip<\/strong>: as mentioned, handles putting of text to rdp-clip+ctrl\/v action without adding text outside of own browser due security since it would be pretty dumb to put text inside own clipboard when not really wished to do, so use for it \u201cToEnv\u201d, this behavior will stay so and won\u2019t be changed since requested so.<\/p><\/li><li><p><strong>BckSpc<\/strong>: sends to RDP session BACKSPACE button command (your app must be focused and support Backspace button action)<\/p><\/li><li><p><strong>Space<\/strong>: sends to RDP session Space button command (your app must be focused and support Space button action)<\/p><\/li><li><p><strong>Enter<\/strong>: sends to RDP session Enter button command (your app must be focused and support Enter button action)<\/p><\/li><\/ul><p>To copy the text from session to clipboard use Ctrl+C and to insert the text from clipboard use Ctrl+V.<\/p><p>But pay attention when you copy the text with Ctrl+C, wait some time before releasing the pushed Ctrl+C buttons, because if the requested clipboard text arrives after you release this key combination, the text will not be added to your environment clipboard. This way uses a native browser clipboard copy support initiated by Ctrl+C.<\/p><p>Alternatively you can\u00a0<strong>use the clipboard menu<\/strong>\u00a0to copy from and to insert the text into RDP session clipboard.<\/p><p>There you can just insert the text into RDP session clipboard or add it to clipboard and auto-initiate Ctrl+C on RDP session side to insert text. The clipboard menu can be opened via action menu or Shift + F11.<\/p><ul><li>When you copy the clipboard with mouse inside a RDP session, the text gets sent to browser and as soon as you go out of browser focus, the clipboard menu appears automatically to inform you that there was a clipboard text and that you did not add it to your clipboard environment.<\/li><\/ul><p>To avoid this behavior set the following line on the Clients folder, by default, the path is: C:\\Program Files(x86)\\tsplus\\Clients\\www\\software\\html5\\settings.js :<\/p><p>openonclipblur = false;<\/p><p>*If you do not have a file named \u201csettings.js\u201d in the \u201cC:\\Program Files (x86)\\TSplus\\Clients\\www\\software\\html5\u201d folder, then your TSplus version is older and this documentation does not apply. Please update your system first or contact support.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-85b46c0 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"85b46c0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9da9c29 jltma-glass-effect-no\" data-id=\"9da9c29\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The clipboard can be found on the HTML5 Top menu, with this icon: Most browsers except older MSIE browsers do not support the direct clipboard reading and writing due to security reasons. Here are the different actions: To Clip: sends TO RDP SESSION the content of the TEXT AREA and produces Ctrl+V on the end [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_joinchat":[],"footnotes":""},"categories":[54],"tags":[202],"class_list":["post-12752","post","type-post","status-publish","format-standard","hentry","category-tsplus-documentation","tag-html5-client"],"acf":[],"mb":[],"mfb_rest_fields":["title","gutenberg_elementor_mode"],"_links":{"self":[{"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/posts\/12752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/comments?post=12752"}],"version-history":[{"count":0,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/posts\/12752\/revisions"}],"wp:attachment":[{"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/media?parent=12752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/categories?post=12752"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/tags?post=12752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}