If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10):
PsychoPy version (e.g. 1.84.x): Psychopy3 v2020.1.2
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?:
I’ve seen several similar cases here, BUT, I’m not familiar with psychopy and its components (I opened it for the first time today), and I’m a beginner in coding python (who hasn’t coded anything for the past 2 years - life happened). That to say that I don’t understand the solutions to the similar cases and I need someone to walk me through (PLEASE). I am used to OpenSesame…but online running with pavlovia made me change to psychopy.
Well, I need a pause (with its proper screen and message) that happens regularly every 14 trials (I divided my list in 4 equal parts). The participant have to be able to press any key to continue the experiment. It must not have a timeout.
What did you try to make it work?:
I created a dedicated routine (PauseScreen) within the trial loop (Trial). In the Routine I put a text component with the message I want, no duration. And I also put a keyboard component, with no specified duration as well. In my conditions file, I have a column called “PAUSE” in which the value is “s” when the pause is to happen, and “n” when the trial should go normally. I just don’t know how to tell the builder to skip that routine in case $PAUSE == “s”
I also tried using the continueRoutine, but there is something wrong with my syntax.
If [PAUSE] == “n”
_continueRoutine = False
What specifically went wrong when you tried that?:
/* Syntax Error: Fix Python code */
Include pasted full error message if possible. “That didn’t work” is not enough information.