{"id":865,"date":"2020-05-01T22:06:42","date_gmt":"2020-05-01T13:06:42","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=865"},"modified":"2023-10-22T17:14:02","modified_gmt":"2023-10-22T08:14:02","slug":"post-865","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=865","title":{"rendered":"Google Apps Script\u306eV8\u3067Google\u30c9\u30e9\u30a4\u30d6\u3078\u306e\u30d5\u30a9\u30fc\u30e0\u7d4c\u7531\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306b\u4e0d\u5177\u5408"},"content":{"rendered":"\n<p>2020\u5e745\u6708\u6642\u70b9\u306b\u304a\u3044\u3066\u3001Google Apps Script(GAS)\u306eV8\u3092\u6709\u52b9\u306b\u3057\u305f\u72b6\u614b\u3067\u3001HTML\u30d5\u30a1\u30a4\u30eb\u3067\u7528\u610f\u3057\u305f\u30d5\u30a9\u30fc\u30e0\u3092\u7d4c\u7531\u3057\u3066Google\u30c9\u30e9\u30a4\u30d6\u3078\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u884c\u304a\u3046\u3068\u3059\u308b\u3068\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u7834\u640d\u3057\u3066\u3057\u307e\u3046\u4e8b\u8c61\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GAS\u3067\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092Google\u30c9\u30e9\u30a4\u30d6\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u4e0d\u5177\u5408<\/h2>\n\n\n\n<p>\u4e0d\u5177\u5408\u306e\u4e8b\u8c61\u3068\u3057\u3066\u306f\u3001Google Apps Script(GAS)\u3067\u4ee5\u4e0b\u306e\uff13\u3064\u3092\u5b9f\u73fe\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>GAS\u3067HTML\u30d5\u30a1\u30a4\u30eb\u3067\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u30d5\u30a9\u30fc\u30e0\u3092\u7528\u610f<\/li>\n\n\n\n<li>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30dc\u30bf\u30f3\u3092\u30c8\u30ea\u30ac\u30fc\u306bGAS\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8d77\u52d5<\/li>\n\n\n\n<li>\u30d5\u30a9\u30fc\u30e0\u3067\u8a2d\u5b9a\u3057\u305f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092Google\u30c9\u30e9\u30a4\u30d6\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/li>\n<\/ol>\n\n\n\n<p>\u4e0b\u8a18\u306e\u3088\u3046\u306aGAS\u306e\u30b3\u30fc\u30c9\u3092\u7528\u610f\u3057\u3066\u3001Google\u30c9\u30e9\u30a4\u30d6\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001Google\u30c9\u30e9\u30a4\u30d6\u4e0a\u3067\u753b\u50cf\u304c\u958b\u3051\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">doget\u95a2\u6570\u3067\u8868\u793a\u3059\u308b\u30d5\u30a9\u30fc\u30e0\u306eHTML\u30d5\u30a1\u30a4\u30eb<\/h3>\n\n\n\n<p>GAS\u3067\u516c\u958b\u3057\u305fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3080\u30d5\u30a9\u30fc\u30e0\u306eHTML\u30d5\u30a1\u30a4\u30eb\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"708\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_002.jpg\" alt=\"\u4e0d\u5177\u5408\u3092\u8d77\u3053\u3059GAS\u3067\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30fc\u30e0\u306eHTML\u30d5\u30a1\u30a4\u30eb\" class=\"wp-image-884\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_002.jpg 1000w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_002-300x212.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_002-768x544.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_002-530x375.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_002-565x400.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_002-710x503.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_002-725x513.jpg 725w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-markup\"><code class=\"language-markup\">&lt;!DOCTYPE html>\n&lt;html>\n  &lt;head>\n    &lt;base target=\"_top\">\n    &lt;script>\n      \/\/ Prevent forms from submitting.\n      function preventFormSubmit() {\n        var forms = document.querySelectorAll('form');\n        for (var i = 0; i &lt; forms.length; i++) {\n          forms[i].addEventListener('submit', function(event) {\n            event.preventDefault();\n          });\n        }\n      }\n      window.addEventListener('load', preventFormSubmit);\n\n      function handleFormSubmit(formObject) {\n        google.script.run.withSuccessHandler(updateUrl).processForm(formObject);\n      }\n      function updateUrl(url) {\n        var div = document.getElementById('output');\n        div.innerHTML = '&lt;a href=\"' + url + '\">\u30d5\u30a1\u30a4\u30eb\u30ea\u30f3\u30af&lt;\/a>';\n      }\n    &lt;\/script>\n  &lt;\/head>\n  &lt;body>\n    &lt;form id=\"myForm\" onsubmit=\"handleFormSubmit(this)\">\n      &lt;input name=\"myFile\" type=\"file\" \/>\n      &lt;input type=\"submit\" value=\"Submit\" \/>\n    &lt;\/form>\n    &lt;div id=\"output\">&lt;\/div>\n &lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d5\u30a1\u30a4\u30eb\u3092Google\u30c9\u30e9\u30a4\u30d6\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308bGAS\u30b3\u30fc\u30c9<\/h3>\n\n\n\n<p>\u30d5\u30a9\u30fc\u30e0\u3067\u5165\u529b\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092Google\u30c9\u30e9\u30a4\u30d6\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308bGAS\u30b3\u30fc\u30c9\u306f\u3053\u3061\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"574\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001.jpg\" alt=\"Google Apps Script(GAS)\u3067\u7528\u610f\u3057\u305fHTML\u30d5\u30a9\u30fc\u30e0\u7d4c\u7531\u3067Google\u30c9\u30e9\u30a4\u30d6\u306b\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u7834\u640d\u3057\u3066\u8aad\u307f\u8fbc\u3081\u306a\u304f\u306a\u308b\u30d0\u30b0\u304c\u767a\u751f\u3059\u308b\" class=\"wp-image-883\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001.jpg 1200w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001-300x144.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001-768x367.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001-1024x490.jpg 1024w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001-530x254.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001-565x270.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001-710x340.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_001-725x347.jpg 725w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-javascript\"><code class=\"language-javascript\">\/\/\u30d5\u30a9\u30fc\u30e0\u306eSubmit\u30dc\u30bf\u30f3\u304c\u30af\u30ea\u30c3\u30af\u3055\u308c\u305f\u969b\u306b\u5b9f\u884c\u3059\u308b\u95a2\u6570\nfunction processForm(formObject) {\n  \/\/\u30d5\u30a9\u30fc\u30e0\u306b\u6dfb\u4ed8\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092Blob\u5f62\u5f0f\u3067\u53d6\u5f97\u3059\u308b\n  var formBlob = formObject.myFile;\n  \/\/\u53d6\u5f97\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092Google\u30c9\u30e9\u30a4\u30d6\u306b\u683c\u7d0d\u3059\u308b\n  var driveFile = DriveApp.createFile(formBlob);\n  \/\/\u30d5\u30a1\u30a4\u30eb\u306e\u5171\u6709\u30ea\u30f3\u30af\u3092\u6709\u52b9\u306b\u3057\u3001\u8ab0\u3067\u3082\u95b2\u89a7\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\n  driveFile.setSharing(DriveApp.Access.ANYONE_WITH_LINK, DriveApp.Permission.VIEW);\n  \/\/\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306eURL\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3001\u8fd4\u308a\u5024\u306b\u8a2d\u5b9a\u3059\u308b\n  var file_url = drive_file.getDownloadUrl();\n  return file_url;\n}<\/code><\/pre>\n\n\n\n<p>\u30d5\u30a9\u30fc\u30e0\u3067Submit\u30dc\u30bf\u30f3\u304c\u62bc\u3055\u308c\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067processForm\u95a2\u6570\u304c\u5b9f\u884c\u3055\u308c\u3001Google\u30c9\u30e9\u30a4\u30d6\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"383\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_003.jpg\" alt=\"Google Apps Script(GAS)\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3063\u3066Google drive\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\" class=\"wp-image-885\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_003.jpg 600w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_003-300x192.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_003-530x338.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_003-565x361.jpg 565w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">GAS\u7d4c\u7531\u3067\u30a2\u30c3\u30d7\u3057\u305f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u3051\u306a\u3044<\/h3>\n\n\n\n<p>Google\u30c9\u30e9\u30a4\u30d6\u306e\u7ba1\u7406\u753b\u9762\u3092GUI\u3067\u64cd\u4f5c\u3057\u305f\u969b\u306b\u306f\u767a\u751f\u3057\u306a\u3044\u306e\u3067\u3059\u304c\u3001GAS\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5b9f\u884c\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u7834\u640d\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"494\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_004.jpg\" alt=\"GAS\u306eV8\u30e9\u30f3\u30bf\u30a4\u30e0\u6709\u52b9\u306b\u3057\u3066\u3001\u30d5\u30a9\u30fc\u30e0\u7d4c\u7531\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001\u4e0d\u5177\u5408\u304c\u751f\u3058\u3066\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u3051\u306a\u304f\u306a\u308b\" class=\"wp-image-886\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_004.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_004-300x185.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_004-768x474.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_004-530x327.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_004-565x349.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_004-710x438.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/05\/20200501_auto_004-725x448.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u753b\u50cf\u3092\u7aef\u672b\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3082\u4e0a\u624b\u304f\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u72b6\u614b\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u306a\u305cGAS\u306e\u30d5\u30a9\u30fc\u30e0\u3067\u30a2\u30c3\u30d7\u3057\u305f\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u3051\u306a\u3044\uff1f<\/h2>\n\n\n\n<p>\u30cd\u30c3\u30c8\u306e\u60c5\u5831\u306a\u3069\u3092\u8abf\u3079\u305f\u3068\u3053\u308d\u3001<strong>\u539f\u56e0\u306fGAS\u304c2020\u5e742\u6708\u306b\u5bfe\u5fdc\u3057\u305fChrome V8\u30e9\u30f3\u30bf\u30a4\u30e0\u306e\u30d0\u30b0<\/strong>\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>Google Apps Script(GAS)\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066HTML\u30d5\u30a9\u30fc\u30e0\u3092\u7528\u610f\u3057\u3001\u30d5\u30a9\u30fc\u30e0\u7d4c\u7531\u3067Google drive\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u30cd\u30c3\u30c8\u4e0a\u306b\u8272\u3005\u306a\u30bd\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3057\u304b\u3057\u3001V8\u30e9\u30f3\u30bf\u30a4\u30e0\u5bfe\u5fdc\u3068\u306a\u3063\u305f2020\u5e742\u6708\u4ee5\u524d\u306b\u66f8\u304b\u308c\u305f\u3082\u306e\u304c\u307b\u3068\u3093\u3069\u3067\u3001V8\u30e9\u30f3\u30bf\u30a4\u30e0\u306e\u30d0\u30b0\u3067\u5b9f\u884c\u3067\u304d\u306a\u3044\u3053\u3068\u306f\u66f8\u304b\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3084HTML\u30d5\u30a1\u30a4\u30eb\u306f\u554f\u984c\u306a\u3057<\/h2>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3053\u306e\u4e8b\u8c61\u306f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u554f\u984c\u304c\u8d77\u304d\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092GAS\u3067\u4f5c\u6210\u3057\u305f\u30da\u30fc\u30b8\u306e\u30d5\u30a9\u30fc\u30e0\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u3082\u3001\u30c9\u30e9\u30a4\u30d6\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u3067\u8868\u793a\u53ef\u80fd\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001HTML\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u3082\u554f\u984c\u306a\u304fGoogle Apps Script\u7d4c\u7531\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u753b\u50cf\u30d5\u30a1\u30a4\u30eb(jpg,png)<\/li>\n\n\n\n<li>\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb(wav)<\/li>\n\n\n\n<li>\u97f3\u697d\u30d5\u30a1\u30a4\u30eb(mp3)<\/li>\n\n\n\n<li>\u52d5\u753b\u30d5\u30a1\u30a4\u30eb(mp4)<\/li>\n<\/ul>\n\n\n\n<p>\u306a\u3069\u306e\u30e1\u30c7\u30a3\u30a2\u30d5\u30a1\u30a4\u30eb\u304c\u7834\u640d\u3059\u308b\u4e8b\u8c61\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e0d\u5177\u5408\u56de\u907f\u7b56\u306fGAS\u306eV8\u3092\u7121\u52b9\u306b\u3059\u308b<\/h2>\n\n\n\n<p>\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u4e0d\u5177\u5408\u306fGoogle Apps Script(GAS)\u306eV8\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u6709\u52b9\u5316\u3057\u305f\u969b\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u4e0d\u5177\u5408\u3092\u56de\u907f\u3059\u308b\u65b9\u6cd5\u306f\u3001GAS\u306eV8\u30e2\u30fc\u30c9\u3092\u7121\u52b9\u5316\u306b\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p>V8\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u7121\u52b9\u306b\u3057\u305f\u72b6\u614b\u3067\u3001GAS\u30b9\u30af\u30ea\u30d7\u30c8\u3067Google\u30c9\u30e9\u30a4\u30d6\u306b\u753b\u50cf\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001\u554f\u984c\u306a\u304f\u30c9\u30e9\u30a4\u30d6\u4e0a\u3067\u753b\u50cf\u3092\u95b2\u89a7\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u203bGoogle Apps Script\u306eV8\u30e9\u30f3\u30bf\u30a4\u30e0\u7121\u52b9\u5316\u306e\u65b9\u6cd5\u306f\u3053\u3061\u3089<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580 wp-block-embed-autoworker\u301cgoogle-apps-script-gas-\u3068sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"ktziVJWTqs\"><a href=\"https:\/\/auto-worker.com\/blog\/?p=713\">Google Apps scirpt(GAS)\u30e9\u30f3\u30bf\u30a4\u30e0\u3092V8\u304b\u3089\u65e7\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u623b\u3059\u65b9\u6cd5(\u7121\u52b9\u5316\u30fb\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9)<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Google Apps scirpt(GAS)\u30e9\u30f3\u30bf\u30a4\u30e0\u3092V8\u304b\u3089\u65e7\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u623b\u3059\u65b9\u6cd5(\u7121\u52b9\u5316\u30fb\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9)&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=713&#038;embed=true#?secret=pawebxDccP#?secret=ktziVJWTqs\" data-secret=\"ktziVJWTqs\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u305f\u3060\u3001GAS\u306eV8\u30e2\u30fc\u30c9\u3092\u7121\u52b9\u5316\u306b\u3059\u308b\u3068\u3001ES2015\u306a\u3069\u306eJavascript\u306e\u30e2\u30c0\u30f3\u306a\u69cb\u6587\u304c\u4f7f\u7528\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5909\u6570\u306e\u5ba3\u8a00\u3067\u300clet\u300d\u3001\u5b9a\u6570\u306e\u5b9a\u7fa9\u306b\u300cconst\u300d\u306a\u3069\u306e\u5ba3\u8a00\u6587\u3092\u5229\u7528\u3057\u3066\u3044\u305f\u308a\u3001\u30a2\u30ed\u30fc\u95a2\u6570\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001V8\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u7121\u52b9\u5316\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u304c\u30a8\u30e9\u30fc\u3059\u308b\u305f\u3081\u3001\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081\u30fb\u7d42\u308f\u308a\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u3001Google Apps Script(GAS)\u306eV8\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u6709\u52b9\u306b\u3057\u305f\u72b6\u614b\u3067\u3001Google\u30c9\u30e9\u30a4\u30d6\u3078\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u58ca\u308c\u308b\u4e8b\u8c61\u3092\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3061\u3089\u306fV8\u30e9\u30f3\u30bf\u30a4\u30e0\u306e\u30d0\u30b0\u3068\u63a8\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001V8\u30e2\u30fc\u30c9\u3092\u7121\u52b9\u5316\u3059\u308b\u3053\u3068\u3067\u4e0d\u5177\u5408\u306f\u89e3\u6d88\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3001\u3059\u3067\u306bV8\u30e9\u30f3\u30bf\u30a4\u30e0\u306b\u5bfe\u5fdc\u3057\u305fGAS\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u308b\u5834\u5408\u306b\u3001V8\u3092\u7121\u52b9\u306b\u3059\u308b\u3068\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081V8\u5bfe\u5fdc\u306e\u3082\u306e\u306f\u6b8b\u3057\u3064\u3064\u3001V8\u7121\u52b9\u5316\u3057\u305f\u72b6\u614b\u3067\u52d5\u304f\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u3066\u6e96\u5099\u3059\u308b\u306e\u304c\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2020\u5e745\u6708\u6642\u70b9\u306b\u304a\u3044\u3066\u3001Google Apps Script(GAS)\u306eV8\u3092\u6709\u52b9\u306b\u3057\u305f\u72b6\u614b\u3067\u3001HTML\u30d5\u30a1\u30a4\u30eb\u3067\u7528\u610f\u3057\u305f\u30d5\u30a9\u30fc\u30e0\u3092\u7d4c\u7531\u3057\u3066Google\u30c9\u30e9\u30a4\u30d6\u3078\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u884c\u304a\u3046\u3068\u3059\u308b\u3068\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":883,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[14,271,234,272],"class_list":["post-865","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gas","category-tips","tag-gas","tag-google","tag-v8","tag-272"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=865"}],"version-history":[{"count":5,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/865\/revisions"}],"predecessor-version":[{"id":8292,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/865\/revisions\/8292"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/883"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}