Millisecond Forums

openend below a text

https://forums.millisecond.com/Topic13089.aspx

By sikeller - 4/22/2014

Hello all,

I need help with programming a text above an opendended window.

People shall copy this text. I've already created a syntaxt and the window, people can write in, but I'm not able to create a text on the same page and at the same time, they shall copy.

Can anybody help me?


<expt>
/blocks = [1 = PSE ]
/ preinstructions = (intro)
</expt>

<block PSE>
/trials = [1 = story]
</block>


<page intro>
Lieber Teilnehmer,

im Folgenden erhalten Sie einen Text, den Sie bitte so schnell wie möglich, aber auch ohne Fehler abschreiben.
Sie haben 3 Minuten Zeit, so viel wie möglich abzutippen.
(Sollten Sie den Textabschnitt fehlerlos abgeschrieben haben, bestätigen Sie dies bitte mit der Leertaste.
Es erscheint dann ein weiterer Abschreibetext.

Arbeiten Sie bitte so schnell wie möglich, jedoch auch fehlerfrei.

Viel Erfolg.
</page>

<instruct>
/ nextkey = (" ")
/ fontstyle = ("Courier New", 2%, false, false, false, false, 5, 1)
/ windowsize = (70%, 70%)
/ txcolor = (255, 255, 255)
/ screencolor = (0, 0, 0)
</instruct>


<openended story>
/ stimulusframes =  [1 = story]
/ linelength = 80
/numlines = 25
/ charlimit = 20000
/ position = (50, 85)
/ numlines = 20
/ linelength = 50
/responseframe = 1
/ responseinterrupt = immediate
/ mouse = true
/ buttonlabel = " "
/multiline = true
</openended>

Kind regards,


Sikeller
By Dave - 4/22/2014

To display a <text> element, set up the <text> element and display it via the <openended> element's /stimulusframes or -times attribute just like any other stimulus in any other <trial>.
By sikeller - 4/23/2014

Thank you!

Unfortunately, I've got another question : My text which should be copied is very long and doesn't fit on one page together with the response window.

Is there a command to install a scrollbar (so that the participants can scroll down the text they have to copy and also can scroll above their written text)?


Thanks a lot!
By Dave - 4/23/2014

> Is there a command to install a scrollbar (so that the participants can scroll down the text they have to copy and also can scroll above their written text)?

No, not with <text> elements. You'll have to make it fit somehow.