Sign in with your CogSci, Facebook, Google, or Twitter account.

Or register to create a new account.

We'll use your information only for signing in to this forum.

Supported by

[open] Script of the whole experiment?

VVVickyVVVicky Posts: 1
edited August 2013 in OpenSesame

Greetings! I am new to OpenSesame and I wonder if there is a button in GUI that could generate the script of the whole experiment? I know that "EDIT SCRIPT" button generates the script of the particular routine, but is there a button for the whole experiment?

I kinda want to see the code of where the data is saved and what library OS recruits. That is why I want to take a look at the experiment code:)

Thank you for your time!



  • EdwinEdwin Posts: 655
    edited 10:49AM

    Hi Vicky,

    To see the script of your entire experiment, you can click on the 'Script editor' button under the experiment element (the one on top, with the blue OpenSesame logo, where the basic settings are visible). This will show you your experiment's script in OpenSesame syntax.

    Please do note that the OpenSesame syntax is not exactly what you seem to be expecting to find: It will not show you where your data is saved, nor will it show which libraries are recruited. Were you perhaps looking for a Python script of your experiment? This is not generated, so your best bet would be to look directly into OpenSesame's source code.

    If it's just the recruited libraries and the location of the saved data you're after, you might want to have a look at this page. At the bottom, all dependencies are listed. You may safely assume a regular experiment will use almost all of these. This does depend on your back-end, of course: When using the legacy back-end (PyGame based) PsychoPy will not be recruited. The location of your data files is a location you choose yourself upon running an experiment. Apart from this, some files will be stored in your temps as well (these files include the experiment script, and the contents of your file pool).

    If you feel this doesn't answer your question, please elaborate on why exactly you want to look at the experiment code.

    Good luck!


Sign In or Register to comment.