{"id":696,"date":"2018-06-30T21:09:52","date_gmt":"2018-06-30T12:09:52","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=696"},"modified":"2018-06-13T18:10:06","modified_gmt":"2018-06-13T09:10:06","slug":"windows-10%e3%81%a7%e5%ae%9a%e6%9c%9f%e7%9a%84%e3%81%ab%e3%82%b9%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%b7%e3%83%a7%e3%83%83%e3%83%88%e3%82%92%e6%92%ae%e5%bd%b1%e3%81%97%e3%81%a6google-drive","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=696","title":{"rendered":"Windows 10\u3067\u5b9a\u671f\u7684\u306b\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u64ae\u5f71\u3057\u3066Google drive\u3067\u540c\u671f\u3059\u308b"},"content":{"rendered":"<p>WSL + shareX + autohotkey\u3067\u3001\u5b9a\u671f\u7684\u306b\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u64ae\u5f71\u3057\u3066Google drive\u3067\u540c\u671f\u3057\u3001<br \/>\n\u30b9\u30de\u30db\u306a\u3069\u3067\u30ea\u30e2\u30fc\u30c8\u30ea\u30fc\u304b\u3064\u30b3\u30f3\u30b9\u30bf\u30f3\u30c8\u30ea\u30fc\u306b\u72b6\u6cc1\u3092\u78ba\u8a8d\u3067\u304d\u308b\u30b7\u30b9\u30c6\u30e0\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">1<\/span> \u3084\u3063\u3066\u308b\u3053\u3068<\/a><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">2<\/span> \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/a><ul><li><a href=\"#i-3\"><span class=\"toc_number toc_depth_2\">2.1<\/span> \u5909\u6570<\/a><\/li><\/ul><\/li><li><a href=\"#i-4\"><span class=\"toc_number toc_depth_1\">3<\/span> \u4f7f\u7528\u65b9\u6cd5<\/a><\/li><\/ul><\/div>\n<h2><span id=\"i\">\u3084\u3063\u3066\u308b\u3053\u3068<\/span><\/h2>\n<p>autohotkey\u3067\uff15\u5206\u6bce\u306bsharex\u3067\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u64ae\u5f71<br \/>\n\uff15\u5206+\u03b1\u6bce\u306bGoogle drive\u306b\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u30d5\u30a9\u30eb\u30c0\u3092\u30b3\u30d4\u30fc<\/p>\n<h2><span id=\"i-2\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/span><\/h2>\n<p>C:\\pg\\autohotkey\\per5_printScreen.ahk<\/p>\n<pre><code>loop{\n  send, {PrintScreen}\n  sleep 300000 ;5m\n}\n<\/code><\/pre>\n<p>C:\\pg\\autohotkey\\per5_ps_run.sh<\/p>\n<pre><code># cmd.exe \/C \"C:\\Program Files\\AutoHotkey\\AutoHotkeyU64.exe\" C:\/pg\/autohotkey\/per5_printScreen.ahk\n. cmd.sh &amp; # ref:https:\/\/qiita.com\/nyango\/items\/7b6b719f248b2ee8d379\nsleep 5\nwhile [ 1 ] ; do\n  echo \"copy to google_drive\"\n  cp -r \"\/mnt\/c\/Users\/USER\/OneDrive\/\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\/ShareX\/Screenshots\" \/mnt\/c\/google_drive\/\n  sleep 300\ndone\n<\/code><\/pre>\n<p>C:\\pg\\autohotkey\\cmd.sh<\/p>\n<pre><code>cmd.exe \/C \"C:\\Program Files\\AutoHotkey\\AutoHotkeyU64.exe\" C:\/pg\/autohotkey\/per5_printScreen.ahk\n<\/code><\/pre>\n<h3><span id=\"i-3\">\u5909\u6570<\/span><\/h3>\n<ul>\n<li>&#8220;\/mnt\/c\/Users\/USER\/OneDrive\/\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\/ShareX\/Screenshots&#8221;:shareX\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u4fdd\u5b58\u5148<\/li>\n<li>\/mnt\/c\/google_drive\/:\u540c\u671f\u4e2d\u306edrive\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/li>\n<\/ul>\n<h2><span id=\"i-4\">\u4f7f\u7528\u65b9\u6cd5<\/span><\/h2>\n<ol>\n<li>bash:cd \/mnt\/c\/pg\/autohotkey\/<\/li>\n<li>bash:. \/mnt\/c\/pg\/autohotkey\/per5_ps_run.sh<\/li>\n<\/ol>\n<p>\u7d42\u4e86\u30d7\u30ed\u30bb\u30b9\uff1a<br \/>\n1. bash\u30b3\u30de\u30f3\u30c9\u3092\u7d42\u4e86<br \/>\n1. ahk\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7d42\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WSL + shareX + autohotkey\u3067\u3001\u5b9a\u671f\u7684\u306b\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u3092\u64ae\u5f71\u3057\u3066Google dri [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-be","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/696"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=696"}],"version-history":[{"count":1,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/696\/revisions"}],"predecessor-version":[{"id":697,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/696\/revisions\/697"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}