Howdy, Stranger!

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

Supported by

[solved] Changing the default way to exit an experiment from esc to something else

edited March 2016 in OpenSesame

Hi everyone!

I am currently running an experiment that has 10 blocks. Just now, at the half way point the esc key got pressed and the experiment ended. So I ended up restarting the experiment. In the future, I was wondering if there was anyway of changing this to be something that is less easy to press by mistake or at least have a dialogue box ask me if I am sure I want to exit the experiment.. Because I can imagine other situations where this is mistake could quite easily happen!

On a slightly different note, was there anything I could have done to start the experiment from block 6 other than creating a new experiment that had block 6 onwards? (I did that but for some reason due to the stress didn't save it correctly or something and ended up running the wrong thing so it started afresh..)

Thank you!!
Grusha.

Comments

  • edited 6:28PM

    Hi Grusha,

    I'm sorry for your loss of data..! The Esc button has been a slippery customer up until the release of version 3.0. Since version 3.0, the Esc button will trigger a pause screen, from where you can exit the experiment by pressing Q. To avoid accidents like this, it would be best to run your experiment on a newer OpenSesame release. You probably won't have to rebuild your experiment; you can just change the current file extension into ".osexp".

    To run your experiment from a specific block, you can "turn off" preceding blocks. Clicking on the sequence that they are placed in, you'll find that the blocks are set to run-if always by default. You can change the first five into something that isn't true, so that they won't be run. (e.g. run-if [trial_count] = 9999, if you have a trial_count variable).

    Good luck!

    Josh

  • edited 6:28PM

    Hi Josh!

    I did not know that OpenSesame 3.0 did that.. I will download it soon! :) Also, setting the run-if to be false also makes so much sense! I don't know why I didn't think of that..

    Thank you so much this has been very helpful!!

Sign In or Register to comment.