Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Text Collection with 5 minute timeout

edited March 2015 in OpenSesame

Hello,

I'm trying to do something very simple, but just can't figure it out. I want to have a text box displayed in which people write a story for 5 minutes. After 5 minutes, the program advances. I was using the text_input response collection, but the timeout limit is set to 100000ms. I've tried changing the set timeout in the script, but it always reverts back to 100000ms. Does someone know of a way to easily accomplish this?

Thank you,

Karen

Comments

  • edited March 2015

    Hi Karen,

    This is odd, normally it should work; (at the moment however, the program would only advance when the timeout has passed AND a key is pressed; I'm planning to fix this sometime this week).
    If I give timeout the value 300000 (= 5 minutes) it works for me.
    Could you perhaps copy the script here, just to doublecheck?

    Cheers,
    Josh

  • edited March 2015

    Hi,

    I found out that if I make the change to the timeout setting and then immediately run the program - it works. However, if I open up anything else prior to running the program, the timeout reverts back to 100000ms.

    This is the script:

    set _question "Your question goes here..."
    set accept_on "timeout"
    set background "white"
    set font_family "sans"
    set font_size "24"
    set foreground "Black"
    set frame "yes"
    set frame_width "3"
    set linewidth "600"
    set timeout "300000"
    

    I also noted (once I got the timing working temporarily) the issue you noted, that a button had to be pressed after the timeout for it to move on. If you have a fix for that issue, that would be great as well for I need the program to advance automatically and without a button press.

    Thanks much for the help.

    Karen

Sign In or Register to comment.