PennController for IBEX › Forums › Support › Selfpace Reading Dashcontroller
Tagged: Dashcontroller underlining
- This topic has 0 replies, 1 voice, and was last updated 1 month ago by HPI.
-
AuthorPosts
-
November 10, 2024 at 2:25 pm #11078HPIParticipant
Hi,
I recently started a new project with a self-paced reading task. The task presents a context sentence that matches or unmatches the target sentence and rotates in Latin square through the template.So i developed a script where the context sentence appears on the screen as normal text, and then the dashcontroller is called launching the target sentence.
They requested, to make the context sentence disappear once the self-paced sentence appears, and that the self paced sentence must appear without the underlining indicating the participant how many words will appear and how long each word is before the text appears. In the original stimuli, within the target sentence there is also a comma.
I tried this solution (this is for the practice trial but same for the experimental trial):
//pratica
Template(“Practice.csv”, variable_practice =>
newTrial(“practice”,fullscreen()
,newText(“spazio1″, ” “)
.center()
.print()
,newText(“spazio2″, ” “)
.center()
.print()
,newText(“spazio3″, ” “)
.center()
.print()
,newVar(“RT_practice_sentence”, 0).global().set(t_i_p_1 =>Date.now())
,newText(“practice_line1”, variable_practice.Context)
.css(“font-size”, 28)
.css(“font-family”, “Verdana”, “sans-serif”)
.center()
.print()
.log()
,newText(“spazio4″, ” “)
.center()
.print()
,newText(“spazio5″, ” “)
.center()
.print()
,
newText(“spazio6″, ” “)
.center()
.print()
,newController(“DashedSentence”, {s : variable_practice.Target})
.css(“font-size”, 28)
.css(“font-family”, “Verdana”, “sans-serif”)
.center()
.print()
.log()// Make sure to log the participant’s progress
.wait()
.remove()
,getVar(“RT_practice_sentence”).set(t_i_p_1=>Date.now()-t_i_p_1)
.log(),newText(“spazio7″, ” “)
.center()
.print()
,newButton(“Nuova Frase”)
.css(“font-size”, 28)
.css(“font-family”, “Verdana”, “sans-serif”)
.center()
.print()
.wait(),
)Then I had a .remove command before closing the trial, but like this the context sentence remains on screen with the target, and they want it out.
Where and how should I place the .remove such that the participants reads the full context sentence and once the dashed sentence comes in the context is removed? I tried to insert within the controller of the dashed sentence but I am not able to write it right.
How do I make the underlining of the dashcontroller disappear?
Can I have a comma within the dashed sentence? the , syntax doesn’t work.
Thank you in advance for your help!
HPI
-
AuthorPosts
- You must be logged in to reply to this topic.