If found some interesting info here:
From what I understand you basically have to change the JS from:
psychoJS.start({
expName,
expInfo});
to:
psychoJS.start({
expName,
expInfo,
resources: [
// relative path to index.html
{ name: 'trialTypes_A.xls', path: 'trialTypes_A.xls' },
// absolute path:
{ name: 'trialTypes_B.xls', path: 'http://a.website.org/a.path/trialTypes_B.xls' }
]
});
and then, your script will not load all resource files by default but instead only the ones that you specified. The question is now: how can I include this in my PsychoPy–>PsychoJS script? The builder always overrides changes in the PsychoJS script. But perhaps I can use the PsychoJS script made from the builder, make my changes there and upload it in a new project where I don’t use the builder?
Any thoughts anyone?
Thanks!
Best, Katrin