﻿<?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 7  » Running batch script in purely random order</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 24 Oct 2026 08:00:12 GMT</lastBuildDate><ttl>20</ttl><item><title>Running batch script in purely random order</title><link>https://forums.millisecond.com/Topic41657.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I want to run a batch script of three different tests in a purely random order (not related to group assignment or session). Is this possible? The selectionmode attribute doesn't seem to do anything in a batch element.&lt;br/&gt;&lt;br/&gt;Thank you.</description><pubDate>Wed, 24 Sep 2025 14:20:50 GMT</pubDate><dc:creator>astovall</dc:creator></item><item><title>RE: Running batch script in purely random order</title><link>https://forums.millisecond.com/Topic41663.aspx</link><description>&lt;blockquote data-id="41661" class="if-quote-wrapper" unselectable="on" data-guid="1758723604214" contenteditable="false" id="if_insertedNode_1758723603836"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="41661" 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="41661" 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="41661" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 9/24/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-41661"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="41660" class="if-quote-wrapper" unselectable="on" data-guid="1758723604214" contenteditable="false" id="if_insertedNode_1758676765648"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="41660" 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="41660" 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="41660" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;astovall - 9/24/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-41660"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Below is what I’ve tried (apologies, I should’ve included this with my original post), but it runs the tasks in sequential order every time.&lt;batch&gt;/ file = “script1.iqx”/ file = “script2.iqx”/ file = “script3.iqx”/ selectionmode = random&lt;/batch&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="41660"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Yes, that's correct and works perfectly fine here. If you're testing with Inquisit Lab, close the application between runs. It may be that the randomizer doesn't get a new seed value otherwise and threfore produces the same order.&lt;a class="if-quote-goto quote-link" href="#" data-id="41661"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Ah, I think that was my issue. Closing Inquisit Lab and rebooting the machine fixed it. Thank you!!</description><pubDate>Wed, 24 Sep 2025 14:20:50 GMT</pubDate><dc:creator>astovall</dc:creator></item><item><title>RE: Running batch script in purely random order</title><link>https://forums.millisecond.com/Topic41661.aspx</link><description>&lt;blockquote data-id="41660" class="if-quote-wrapper" unselectable="on" data-guid="1758676765923" contenteditable="false" id="if_insertedNode_1758676765648"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="41660" 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="41660" 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="41660" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;astovall - 9/24/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-41660"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Below is what I’ve tried (apologies, I should’ve included this with my original post), but it runs the tasks in sequential order every time.&lt;batch&gt;/ file = “script1.iqx”/ file = “script2.iqx”/ file = “script3.iqx”/ selectionmode = random&lt;/batch&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="41660"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Yes, that's correct and works perfectly fine here. If you're testing with Inquisit Lab, close the application between runs. It may be that the randomizer doesn't get a new seed value otherwise and threfore produces the same order.</description><pubDate>Wed, 24 Sep 2025 01:23:47 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Running batch script in purely random order</title><link>https://forums.millisecond.com/Topic41660.aspx</link><description>Below is what I’ve tried (apologies, I should’ve included this with my original post), but it runs the tasks in sequential order every time.

&lt;batch&gt;
/ file = “script1.iqx”
/ file = “script2.iqx”
/ file = “script3.iqx”
/ selectionmode = random
&lt;/batch&gt;</description><pubDate>Wed, 24 Sep 2025 00:51:01 GMT</pubDate><dc:creator>astovall</dc:creator></item><item><title>RE: Running batch script in purely random order</title><link>https://forums.millisecond.com/Topic41658.aspx</link><description>&lt;blockquote data-id="41657" class="if-quote-wrapper" unselectable="on" data-guid="1758669874403" contenteditable="false" id="if_insertedNode_1758669872518"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="41657" 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="41657" 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="41657" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;astovall - 9/23/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-41657"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I want to run a batch script of three different tests in a purely random order (not related to group assignment or session). Is this possible? The selectionmode attribute doesn't seem to do anything in a batch element.&lt;br/&gt;&lt;br/&gt;Thank you.&lt;a class="if-quote-goto quote-link" href="#" data-id="41657"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;Yes, this is possible. Set /selectionMode = random in the &amp;lt;batch&amp;gt; element.&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/current/html/language/attributes/selectionmode.htm"&gt;https://www.millisecond.com/support/docs/current/html/language/attributes/selectionmode.htm&lt;/a&gt;</description><pubDate>Tue, 23 Sep 2025 23:25:41 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>