How can we prevent the experimental procedure from returning to the desktop, or if it has already returned, how can we continue the experiment?

OS (e.g. Win10): Win11
PsychoPy version (e.g. 1.84.x): 2022.2.5
When running the experiment with only a single monitor, there is always a risk that participants may accidentally press the ‘Win’ key, causing the procedure to return to the desktop and interrupt the experiment. Importantly, in such situations, I am unable to interact with anything except the taskbar, and reopening the procedure from the taskbar is not possible. As a result, I can only restart the experiment rather than continue it. Is there a way to prevent this issue or, if it has already occurred, is there a way to resume the experiment?

Can you Alt-tab to get back to the experiment window?

This is one of the advantages of using a button box. A cheap alternative is an external numeric keypad or using a mouse if there are only two responses.

1 Like

Thank you for your suggestion! Unfortunately, I am unable to switch back to the experiment using Alt-Tab. In our lab, we do not have a button box available, and it is not possible to set the response as a mouse click. While there may be (slightly troublesome) methods to disable the ‘Win’ key in the Windows system according to information from Google, I am uncertain if there is any possible solution to circumvent this issue through coding or setting of psychopy.

Hello,

What about using keys away from the Win key? Participants may still hit the Win key, but this is highly unlikely if you only use the arrow keys, for instance.

Best wishes Jens

1 Like