|
Post by displaytext on Apr 16, 2020 3:05:55 GMT
I'm using the WSCT task. i want to include a text "Press e to exit" at all times during all times and end the task all together. How can I do that?
|
|
|
Post by PsyToolkit on Apr 16, 2020 10:12:53 GMT
You could use the "end experiment" command, look here for details: link to documentationFor example, you can add to your keys, here is an example below: task MyTask keys a l e show bitmap MyStimulus readkey 1 10000 if KEY == 3 end experiment fi if STATUS == CORRECT show bitmap well_done fi save RT STATUS
With the example above, you basically check when people press an "e" and if that happens, the experiment ends.
Note this can only be pressed when the script is waiting for a response, not at "any time". But typically this works well. Add to the instruction that people can press the e to end and they will understand. Given that the WCST works with the mouse, you can also have an exit button and check for that instead.
Have you considered task switching instead of the WCST as well. It is a better way to measure mental flexibility in the healthy population:
|
|