{"id":1563,"date":"2012-04-03T10:51:58","date_gmt":"2012-04-03T01:51:58","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=1563"},"modified":"2013-08-19T14:15:20","modified_gmt":"2013-08-19T05:15:20","slug":"clip%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%82%92%e5%88%a9%e7%94%a8%e3%81%97%e3%81%a6%e3%82%af%e3%83%aa%e3%83%83%e3%83%97%e3%83%9c%e3%83%bc%e3%83%89%e3%81%ab%e6%96%87%e5%ad%97%e5%88%97%e3%82%92","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=1563","title":{"rendered":"clip\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u6587\u5b57\u5217\u3092\u30b3\u30d4\u30fc\u3059\u308bVBScript"},"content":{"rendered":"<p><a href=\"http:\/\/itpro.nikkeibp.co.jp\/article\/Windows\/20051006\/222394\/\" title=\"clip\" target=\"_blank\">clip\u30b3\u30de\u30f3\u30c9<\/a>\u3092\u5229\u7528\u3057\u3066\u6587\u5b57\u5217\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3059\u308bVBScript\u3067\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nDim s\r\n\r\ns = &quot;\u3053\u3093\u306b\u3061\u306f&quot; &amp; vbTab &amp; &quot;&quot;&quot;\u7530\u4e2d&quot;&quot;&quot; &amp; vbTab &amp; &quot;\u3055\u3093&quot;\r\nPutInClipboardText s\r\nMsgBox &quot;\u6587\u5b57\u5217\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\u3002&quot; &amp; vbCrLf &amp; &quot;\u6587\u5b57\u5217:&quot; &amp; s\r\n\r\nPublic Sub PutInClipboardText(ByVal str)\r\n  Dim cmd\r\n  \r\n  cmd = &quot;cmd \/c &quot;&quot;echo &quot; &amp; str &amp; &quot;| clip&quot;&quot;&quot;\r\n  CreateObject(&quot;WScript.Shell&quot;).Run cmd, 0\r\nEnd Sub<\/pre>\n<p>XP\u306f\u6a19\u6e96\u3067clip\u30b3\u30de\u30f3\u30c9\u304c\u5165\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u3088\u3046\u306a\u8a18\u61b6\u304c\u3042\u308a\u307e\u3059\u304c\u30017\u3067\u306f\u6a19\u6e96\u3067clip\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308b\u3088\u3046\u3060\u3063\u305f\u306e\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u4ee5\u524d\u306b\u66f8\u3044\u305f<a href=\"\/\/www.ka-net.org\/blog\/?p=111\" title=\"\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u6587\u5b57\u5217\u3092\u30b3\u30d4\u30fc\u3059\u308b\" target=\"_blank\">Internet Explorer\u3092\u4f7f\u3063\u305f\u30b9\u30af\u30ea\u30d7\u30c8<\/a>\u3088\u308a\u3082\u8efd\u304f\u3066\u4f7f\u3044\u3084\u3059\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"clip\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u3066\u6587\u5b57\u5217\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3059\u308bVBScript\u3067\u3059\u3002 Option Explicit Dim s s = &quot;\u3053\u3093\u306b\u3061\u306f&quot; &amp; vbTab &amp; &quot; [&hellip;]","protected":false},"author":1,"featured_media":7132,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[139],"class_list":["post-1563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vbs","tag-vbs"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-VBScript.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-pd","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1563"}],"version-history":[{"count":2,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1563\/revisions"}],"predecessor-version":[{"id":1565,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1563\/revisions\/1565"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7132"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}