Random Order Sentences
Is there a way to let the program automatically get the texts from a database (file, sheet) and (a) present them in a random order and (b) present them one sentence at a time? I haven't found a way that works yet.
Is there a way to let the program automatically get the texts from a database (file, sheet) and (a) present them in a random order and (b) present them one sentence at a time? I haven't found a way that works yet.
Comments
Hi @Katharinaaa
I'm not sure what you mean by that.
If you have a .xlsx or .csv file for example, with a column 'sentence', where each row consists of a different sentence, you can use the loop item, and set the 'source' to file. Then you set 'order' to 'random'. Finally, in your sketchpad items, you can use something like {sentence} to present the sentences.
Looping and independent variables // OpenSesame documentation
If this is not what you are trying to achieve, then I would be grateful if you could provide a bit more information, and/or a concrete example.
Claire
Check out SigmundAI.eu for our OpenSesame AI assistant! 🤖