{"id":2056,"date":"2007-10-12T12:57:37","date_gmt":"2007-10-12T17:57:37","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2007\/10\/12\/using-the-clipboard-from-a-gui\/"},"modified":"2016-05-11T11:38:58","modified_gmt":"2016-05-11T15:38:58","slug":"using-the-clipboard-from-a-gui","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2007\/10\/12\/using-the-clipboard-from-a-gui\/","title":{"rendered":"Using the clipboard from a GUI"},"content":{"rendered":"<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 organized. Most of that organization came by way of MATLAB scripts and GUIs.<\/p>\n<p>One 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.<\/p>\n<p><embed src=\"https:\/\/blogs.mathworks.com\/images\/pick\/\/FlashVideos\/FlowPlayer.swf?config=%7Bembedded%3Atrue%2CplayList%3A%5B%7BsuggestedClipsInfoUrl%3A%2737%20see%20also%2Etxt%27%2Curl%3A%2737%20Practical%20clipboard%2Eflv%27%7D%5D%2CbaseURL%3A%27http%3A%2F%2Fblogs%2Emathworks%2Ecom%2Fimages%2Fpick%2FFlashVideos%2F%27%2CsplashImageFile%3A%2737%20Practical%20clipboard%2Ejpg%27%2Cloop%3Afalse%2CinitialScale%3A%27fit%27%2CshowFullScreenButton%3Afalse%2CautoBuffering%3Afalse%2CmenuItems%3A%5Bfalse%2Cfalse%2Cfalse%2Cfalse%2Cfalse%2Ctrue%5D%2CautoPlay%3Afalse%7D\" type=\"application\/x-shockwave-flash\" width=\"500\" height=\"400\"><\/embed><\/p>\n<p>Other videos have been gathered here:<br \/>\n<a href=\"https:\/\/blogs.mathworks.com\/pick\/category\/video\/\">https:\/\/blogs.mathworks.com\/pick\/category\/video\/<\/a><\/p>\n<p>Practical example videos have been gathered here:<br \/>\n<a href=\"https:\/\/blogs.mathworks.com\/pick\/category\/practical-example\">https:\/\/blogs.mathworks.com\/pick\/category\/practical-example<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<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\/pick\/2007\/10\/12\/using-the-clipboard-from-a-gui\/\">read more >><\/a><\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,6,2],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2056"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=2056"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2056\/revisions"}],"predecessor-version":[{"id":7176,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2056\/revisions\/7176"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}