Copying routines across experiments

OS Win 10

PsychoPy version 2020 1.3

Standard Standalone? (y/n) y

What are you trying to achieve?:

In experiment builder, I would like to copy a routine from one experiment to another. I have one builder file for my experiment, and another for adjusting the screen scale so that stimuli are the same size across different monitors. Specifically, this one:

I would like to copy the two routines from the screen scale file into the start of the flow in my experiment file.

What did you try to make it work?:

I opened both files, copied the routine in the screen scale file (via the Experiment drop down menu, and with Ctrl+Shift+C), went to my experiment Builder file and pasted it (again via the drop down menu and short cut keys.

What specifically went wrong when you tried that?:

When I click on ‘insert routine’ to add it to my flow, the copied routine is not available in the drop down menu.

2 Likes

You need to open one of the experiments in builder, and then within that instance click File, “new”, and then open the other experiment within the new instance. That will allow you to copy/paste routines and components between the two.

7 Likes

amazing, neat trick