This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//元の選択肢。 | |
var originalChoice = [ | |
'Choice1', | |
'Choice2', | |
'etc.' | |
]; | |
// 設定 | |
var numQuestion = 2; // 動的に変化させる質問の番号。配列なので0からカウント。0, 1, 2, ... | |
var textQuestion = 'Title of Item (form question)'; // 動的に変化させる質問のテキスト |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Function to move all files in a particular Google Drive folder to another folder | |
* @param {string} moveFromFolderId - the original Google Drive folder ID from which you want to move the files | |
* @param {string} moveToFolderId - the Google Drive folder ID to which you want to move the files | |
*/ | |
function moveAllFiles(moveFromFolderId, moveToFolderId) { | |
var moveFrom = DriveApp.getFolderById(moveFromFolderId); | |
var moveTo = DriveApp.getFolderById(moveToFolderId); | |
var files = moveFrom.getFiles(); |
NewerOlder