﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » How to randomize script order in batch?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 14 Sep 2026 12:22:22 GMT</lastBuildDate><ttl>20</ttl><item><title>How to randomize script order in batch?</title><link>https://forums.millisecond.com/Topic22519.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I have 5 scripts which I have combined with the &amp;lt;batch&amp;gt; element. I would like to keep script1 always in the 1st position, but randomize the order of script2-5 when I administer the test to participants. I realise that I can create multiple batches with the different orders, and then use groupassignment = random to achieve this, but that would mean I have 4! = 24 combinations to write out! Is there a less cumbersome way to do this?&lt;br/&gt;&lt;br/&gt;My batch script:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "script1.iqx"&lt;br/&gt;/ file = "script2.iqx"&lt;br/&gt;/ file = "script3.iqx"&lt;br/&gt;/ file = "script4.iqx"&lt;br/&gt;/ file = "script5.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Thank you for your help.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 18 Sep 2017 20:24:27 GMT</pubDate><dc:creator>yhwong</dc:creator></item><item><title>RE: How to randomize script order in batch?</title><link>https://forums.millisecond.com/Topic22521.aspx</link><description>&lt;div data-id="22519" class="if-quote-wrapper" unselectable="on" data-guid="1505791411723"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="22519" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="22519" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="22519" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;yhwong - Monday, September 18, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-22519"&gt;&lt;div class="if-quote-message-margin"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have 5 scripts which I have combined with the &amp;lt;batch&amp;gt; element. I would like to keep script1 always in the 1st position, but randomize the order of script2-5 when I administer the test to participants. I realise that I can create multiple batches with the different orders, and then use groupassignment = random to achieve this, but that would mean I have 4! = 24 combinations to write out! Is there a less cumbersome way to do this?&lt;br/&gt;&lt;br/&gt;My batch script:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "script1.iqx"&lt;br/&gt;/ file = "script2.iqx"&lt;br/&gt;/ file = "script3.iqx"&lt;br/&gt;/ file = "script4.iqx"&lt;br/&gt;/ file = "script5.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Thank you for your help.&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="22519"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; Is there a less cumbersome way to do this?&lt;br/&gt;&lt;br/&gt;No, I'm afraid there isn't. Defining multiple &amp;lt;batch&amp;gt; elements and then assigning randomly to one would be the way to go.&lt;br/&gt;</description><pubDate>Mon, 18 Sep 2017 20:24:27 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>