Millisecond Forums

Randomize script order in batch except for one script

https://forums.millisecond.com/Topic35354.aspx

By falkenstone - 5/9/2023

Hello, 
I would like to combine multiple scripts and randomize them except for one script. I tried this by using <batch> and /selectionmode. However, with /selectionmode I can either randomize all scripts or have them all in sequence. I want to randomize test1.iqx, test2a.iqx/test2b.iqx and test3.iqx, but always have questionnaire.iqx as the last script. How can I do this? 

<batch group1>
/ subjects = (1 of 2)
/ groupassignment = random
/ file = "test1.iqx"
/ file = "test2a.iqx"
/ file = "test3.iqx"
/ file = "questionnaire.iqx"
/ selectionmode = random
</batch>

<batch group2>
/ subjects = (2 of 2)
/ groupassignment = random
/ file = "test1.iqx"
/ file = "test2b.iqx"
/ file = "test3.iqx"
/ file = "questionnaire.iqx"
/ selectionmode = random
</batch>

Thanks!
By Dave - 5/9/2023

falkenstone - 5/9/2023
Hello, 
I would like to combine multiple scripts and randomize them except for one script. I tried this by using <batch> and /selectionmode. However, with /selectionmode I can either randomize all scripts or have them all in sequence. I want to randomize test1.iqx, test2a.iqx/test2b.iqx and test3.iqx, but always have questionnaire.iqx as the last script. How can I do this? 

<batch group1>
/ subjects = (1 of 2)
/ groupassignment = random
/ file = "test1.iqx"
/ file = "test2a.iqx"
/ file = "test3.iqx"
/ file = "questionnaire.iqx"
/ selectionmode = random
</batch>

<batch group2>
/ subjects = (2 of 2)
/ groupassignment = random
/ file = "test1.iqx"
/ file = "test2b.iqx"
/ file = "test3.iqx"
/ file = "questionnaire.iqx"
/ selectionmode = random
</batch>

Thanks!

<batch a>
/ subjects = (1 of 2)
/ groupassignment = random
/ file = "test1.iqx"
/ file = "test2a.iqx"
/ file = "test3.iqx"
/ selectionmode = random
</batch>

<batch b>
/ subjects = (2 of 2)
/ groupassignment = random
/ file = "test1.iqx"
/ file = "test2b.iqx"
/ file = "test3.iqx"
/ selectionmode = random
</batch>

<batch c>
/ file = "questionnaire.iqx"
</batch>