{"id":212,"date":"2007-10-12T12:57:37","date_gmt":"2007-10-12T17:57:37","guid":{"rendered":"https:\/\/blogs.mathworks.com\/videos\/2007\/10\/12\/using-the-clipboard-from-a-gui\/"},"modified":"2016-04-04T15:28:20","modified_gmt":"2016-04-04T20:28:20","slug":"using-the-clipboard-from-a-gui","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/videos\/2007\/10\/12\/using-the-clipboard-from-a-gui\/","title":{"rendered":"Using the clipboard from a GUI"},"content":{"rendered":"Many of you have surely noticed that this blog took a sharp turn towards video content since I moved to the Advanced Support Group at the MathWorks in May. With all these videos, I have had to get organized. Most of that organization came by way of MATLAB scripts and GUIs.\r\n\r\nOne of the utilities I wrote is a database viewer. I wanted to be able to quickly copy a field to paste it into different forms. I decided to save myself a few seconds each time I did this by making a button that says &#8220;Copy&#8221; and this button will copy everything out of the edit box and put it in the clipboard.\r\n<div><div class=\"row\"><div class=\"col-xs-12 containing-block\"><div class=\"bc-outer-container add_margin_20\"><videoplayer><div class=\"video-js-container\"><video data-video-id=\"3877438073001\" data-video-category=\"blog\" data-autostart=\"false\" data-account=\"62009828001\" data-omniture-account=\"mathwgbl\" data-player=\"rJ9XCz2Sx\" data-embed=\"default\" id=\"mathworks-brightcove-player\" class=\"video-js\" controls><\/video><script src=\"\/\/players.brightcove.net\/62009828001\/rJ9XCz2Sx_default\/index.min.js\"><\/script><script>if (typeof(playerLoaded) === 'undefined') {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== 'undefined') {videojs(\"mathworks-brightcove-player\").on('loadedmetadata', function() {playerLoaded = true;});} else {setTimeout(isVideojsDefined, 10);}})();<\/script><\/div><\/videoplayer><\/div><\/div><\/div><\/div>\r\nOther videos have been gathered here:\r\n<a href=\"https:\/\/blogs.mathworks.com\/pick\/category\/video\/\">https:\/\/blogs.mathworks.com\/pick\/category\/video\/<\/a>\r\n\r\nPractical example videos have been gathered here:\r\n<a href=\"https:\/\/blogs.mathworks.com\/pick\/category\/practical-example\">https:\/\/blogs.mathworks.com\/pick\/category\/practical-example<\/a>","protected":false},"excerpt":{"rendered":"<div class=\"thumbnail thumbnail_asset asset_overlay video\"><a href=\"https:\/\/blogs.mathworks.com\/videos\/2007\/10\/12\/using-the-clipboard-from-a-gui\/?dir=autoplay\"><img decoding=\"async\" src=\"https:\/\/cf-images.us-east-1.prod.boltdns.net\/v1\/static\/62009828001\/02a1b8f6-ce7b-4e30-b4e4-1a28405176f2\/fe9bc37e-193e-40ba-8cbd-eb1be0bc5bad\/1280x720\/match\/image.jpg\" onError=\"this.style.display ='none';\"\/>\n      <div class=\"overlay_container\">\n      <span class=\"icon-video icon_color_null\"><time class=\"video_length\">2:12<\/time><\/span>\n      <\/div>\n      <\/a><\/div><p>Many of you have surely noticed that this blog took a sharp turn towards video content since I moved to the Advanced Support Group at the MathWorks in May. With all these videos, I have had to get&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/videos\/2007\/10\/12\/using-the-clipboard-from-a-gui\/\">read more >><\/a><\/p>","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,14,20],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/212"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"predecessor-version":[{"id":2167,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/212\/revisions\/2167"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}