Reply To: DashedSentence or DashedCustom for self-paced reading with cumulative window?

PennController for IBEX Forums Support DashedSentence or DashedCustom for self-paced reading with cumulative window? Reply To: DashedSentence or DashedCustom for self-paced reading with cumulative window?

#6237
Jeremy
Keymaster

Hi Muxuan,

Save DashedSentence.js using a different name (eg. DashedCustom.js), then edit it and replace the 6th line, name: "DashedSentence", with name: "DashedCustom", for example, and comment out or simply delete lines 192-193:

if (t.currentWord - 1 >= 0)
    t.blankWord(t.currentWord - 1);

Upload DashedCustom.js to the Controllers folder of your project. You should also save DashedSentence.css under a corresponding name, eg. DashedCustom.css, and upload it to the Aesthetics folder of your project.

Then you can use DashedCustom like this:

newTrial(
  newController("DashedCustom", {s: "This is a test sentence"})
    .print()
    .wait()
)

Jeremy