[open] Adjust number of displayed experiments on Android runtime
Hi,
Just a short and practical question: Is there a way to display more than 8 experiments in the experiment menu? For example by creating two columns or a second page?
Hi,
Just a short and practical question: Is there a way to display more than 8 experiments in the experiment menu? For example by creating two columns or a second page?
Comments
Hi,
Not really, no. You could take a look at the menu 'experiment' though. This is the code that implements the startup menu on OpenSesame for Android, and it's just a normal OpenSesame experiment.
If you feel so inclined, you could see if you can come up with a better design?
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
Here is my attempt at creating a second column, i reckon it isn't the most elegant but it does the trick:
Basically, it creates buttons for the first half of the list until it breaks and continues on the second column with the second half of the experiments
) the font size should be adjusted too.
list. The amount of experiments is now doubled to 16 but in the unlikely scenario of needing more than that amount (let's hope this will never happenAlternatively, i could stick to one column and reserve the final row for a 'next page' button which leads to an identical form that loops through the second half of the experiments list. Let me know what you think.
Laurent
I've also added another piece that passes the chosen experiment into the logfile path. Might be handy when you have multiple experiments running and want the logfile into the corresponding folder of that experiment, instead of manually switching between folders. I couldn't find a variable for the chosen experiment so it strips the path of the experiment until only the title remains:
And later on in the select logfile form:
Again, probably not the prettiest but it works on my end
Cheers,
Laurent