Googleは最近、私は自動的に自分のスコアを表示するためにクイズの受信者を希望のGoogle Apps Scriptではプログラム
var form = FormApp.create('Ice cream Quiz').setIsQuiz(true);
form.set
// Make a 10 point question and set feedback on it
var item = form.addCheckboxItem();
item.setTitle("What flavors are in neapolitan ice cream?");
item.setPoints(10);
// chocolate, vanilla, and strawberry are the correct answers
item.setChoices([
item.createChoice("chocolate", true),
item.createChoice("vanilla", true),
item.createChoice("rum raisin", false),
item.createChoice("strawberry", true),
item.createChoice("mint", false)
]);
// If the respondent answers correctly, they'll see this feedback when they view
//scores.
var correctFeedback = FormApp.createFeedback()
.setText("You're an ice cream expert!")
.build();
item.setFeedbackForCorrect(correctFeedback);
// If they respond incorrectly, they'll see this feedback with helpful links to
//read more about ice cream.
var incorrectFeedback = FormApp.createFeedback()
.setText("Sorry, wrong answer")
.addLink(
"https://en.wikipedia.org/wiki/Neapolitan_ice_cream",
"Read more")
.build();
item.setFeedbackForIncorrect(incorrectFeedback);
をクイズをプログラムする能力を追加したGoogle Appsのスクリプトでクイズで見るスコアを可能にします。これをプログラムで行う方法はわかりません。むしろ私は手動でクイズの設定を行い、その後、リリースグレードを「即時提出」に設定し、回答者は「不在質問」、「回答の修正」、「ポイント値」を表示する必要があります
これらをプログラムで設定するには?