URL of experiment: https://pavlovia.org/padezhki/retrieveronline
Description of the problem: Our experiment relies on using different xlsx conditions file for every participant (different set of stimuli, different order, etc.). Locally, we solved the problem by opening a txt (or csv) file at the very beginning of the experiment, reading out the number inside, adding +1 and re-writing this file. The number is then used to select a conditions file called ‘sequence_of_pairs’ + file_number.toString() + ‘xlsx’.
Read from xlsx in javascript solved the reading-in part, however the part of modyfing and saving is not so obvious to me. What would be a way to do this with JS in PsychoPy or is there possibly an easier solution to the problem?