TOS21
About
- Username
- TOS21
- Joined
- Visits
- 21
- Last Active
- Roles
- Member
Comments
-
Update: I found a really easy solution that seems to work for our purposes. We uploaded the relevant files to our server and an inline_script with following content in the block loop did the job: vars.url = ###generated URL based on random selection…
-
I'm assuming that this subset is small enough to fit in the file pool of OpenSesame. (A practical limit, imposed by the browser, seems to be around 1,000 files.) So a pragmatic solution might be to create a number of different versions of the experi…
-
Hi Kristian, thanks for the fast reply. Well in that case the question narrows down to whether OSWeb allows fetching files from external sources (and maybe how to do that).
-
Hi Kristian, I'm a little confused because I could swear I've tried this before, but somehow it has worked now - thank you! This does not really belong here, but is there a way to initialize JATOS (i.e. load the variables) before the HTML is loaded …
-
Hi Kristian, no I didn't, as I expected OSWeb to automatically transition to the next component. I tried to add it in an inline_script in OpenSesame, but the results are the same: the last component starts, but it seems like it can't fetch studySess…
-
Could it be that OSWeb somehow doesn't transfer the studySessionData, i.e. "ends" the session? Maybe I should add that I just put the .html files to a subfolder in the zipped OSWeb files. This worked flawlessly for the survey as first comp…
-
Hi Kristian, many thanks for your help, I really appreciate that. I did actually already try it with "jatos.onload()" and it didn't work either. But in this case I did indeed get an error message stating that "accuracy" (because …
-
Hi Kristian, this is exactly what I have and it returns "undefined". The console doesn't show any error messages. I tested it with studySessionData set in OSWeb (as described above) and the data automatically set by OSWeb: <script type=…
-
Hi Lotje, yes, everything worked like a charm! And yes, I referred to the correct responses. It can easily be included at the beginning of the trial sequence with: if (vars.word.includes(vars.trial_item)){vars.correct_response = 'z';} else {vars.cor…
-
Hi Eduard, yes, your input helped a lot! I managed to collect some JS snippets to translate your code and it seems to work as expected. I haven't tried it with all 50000 items yet (I guess it will noticeably impact loading times?), but here is what …
-
Hi Eduard, many thanks for your response. As I said I am quite new to OS and I don't quite understand how I would feed my block loop with this new shuffled list (but I found some code that does the shuffling in JavaScript at least), i.e. were to pl…