Randomize script order in batch except for one script


Author
Message
falkenstone
falkenstone
New Member (49 reputation)New Member (49 reputation)New Member (49 reputation)New Member (49 reputation)New Member (49 reputation)New Member (49 reputation)New Member (49 reputation)New Member (49 reputation)New Member (49 reputation)
Group: Forum Members
Posts: 5, Visits: 45
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!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
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>



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search