﻿<?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 choose random batches?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 17 Sep 2026 23:10:18 GMT</lastBuildDate><ttl>20</ttl><item><title>How to choose random batches?</title><link>https://forums.millisecond.com/Topic27335.aspx</link><description>Hi all,&lt;br/&gt;&lt;br/&gt;I have a question in Inquisit 5. &lt;br/&gt;&lt;br/&gt;I would like to choose 2 random batches from total 6, but if you see the below code, it shows 2 random studies, but those 2 studies stick together ((1),(2) / (3),(4) / (5),(6)).&lt;br/&gt;&lt;br/&gt;How can I randomize them and choose 2 batches? Any help for what to try is greatly appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "Intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// IAT &lt;br/&gt; &lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(1).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(2).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(3).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(4).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(5).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(6).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;</description><pubDate>Tue, 02 Jul 2019 16:40:24 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27376.aspx</link><description>&lt;div data-id="27375" class="if-quote-wrapper" unselectable="on" data-guid="1562110723178"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27375" 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="27375" 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="27375" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27375"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27374" class="if-quote-wrapper" unselectable="on" data-guid="1562110723178"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27374" 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="27374" 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="27374" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27374"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27373" class="if-quote-wrapper" unselectable="on" data-guid="1562110723178"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27373" 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="27373" 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="27373" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27373"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27372" class="if-quote-wrapper" unselectable="on" data-guid="1562110723178"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27372" 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="27372" 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="27372" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27372"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27371" class="if-quote-wrapper" unselectable="on" data-guid="1562110723178"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27371" 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="27371" 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="27371" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27371"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27370" class="if-quote-wrapper" unselectable="on" data-guid="1562110723178"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27370" 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="27370" 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="27370" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27370"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27369" class="if-quote-wrapper" unselectable="on" data-guid="1562110723178"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27369" 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="27369" 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="27369" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27369"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;I also think that there must be a problem in abort() command but could not figure out it. Do you have any other idea?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="27369"&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; Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would it be possible to explain what that problem is?&lt;br/&gt;&lt;br/&gt;&amp;gt; I also think that there must be a problem in abort() command but could not figure out it. &lt;br/&gt;&lt;br/&gt;What did you try and what isn't working? I'm not sure what I'm supposed to say without any details and the actual code. Why do you think there is a problem with script.abort() and what is it that you couldn't figure out?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27370"&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;I mean even if I change the code from script.abort(true) to script.abort(false), it still shows the white black page and stops (need to use alt+command+esc to exit).&lt;br/&gt;&lt;br/&gt;This is "batch.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;AND from each file from &amp;lt;batch2&amp;gt;,&amp;nbsp;for example in file "a.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;if(parameters.scriptcount &amp;gt;= 2) script.abort(false);&lt;br/&gt;]&lt;br/&gt;/ blocks = [1=myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("This is &amp;lt;%script.filename%&amp;gt;. Press SPACE.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;if I change "if(parameters.scriptcount &amp;gt;= 2)" to "if(parameters.scriptcount &amp;gt;= 6)", which means going through all the files (from a.iqx to f.iqx), it works very well and does not show white black page or stop. And from this result, I assume that there can be a problem in script.abort(). I hope my description makes sense. If you have more detail, please let me know.&lt;a class="if-quote-goto quote-link" href="#" data-id="27371"&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;Sorry for the typo. white black page -&amp;gt; white blank page.&lt;a class="if-quote-goto quote-link" href="#" data-id="27372"&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;Could you please run through this&lt;br/&gt;&lt;br/&gt;&lt;a href="https://mili2nd.co/6unb"&gt;&lt;a href="https://mili2nd.co/6unb"&gt;https://mili2nd.co/6unb&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;and let me know how it behaves for you. It should (and does, for me) run:&lt;br/&gt;- intro&lt;br/&gt;- two random scripts out of A to F&lt;br/&gt;- a simple slider script at the end&lt;br/&gt;-&amp;nbsp; the default finish page&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27373"&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;It works very well !!&lt;a class="if-quote-goto quote-link" href="#" data-id="27374"&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;Is it the same code with above or did you change something? Please let me know. Thank you.&lt;a class="if-quote-goto quote-link" href="#" data-id="27375"&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;It's the exact same code, I'm attaching the full set of files below for your reference.&lt;br/&gt;</description><pubDate>Tue, 02 Jul 2019 16:40:24 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27375.aspx</link><description>&lt;div data-id="27374" class="if-quote-wrapper" unselectable="on" data-guid="1562108784826"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27374" 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="27374" 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="27374" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27374"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27373" class="if-quote-wrapper" unselectable="on" data-guid="1562108784826"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27373" 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="27373" 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="27373" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27373"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27372" class="if-quote-wrapper" unselectable="on" data-guid="1562108784826"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27372" 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="27372" 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="27372" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27372"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27371" class="if-quote-wrapper" unselectable="on" data-guid="1562108784826"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27371" 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="27371" 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="27371" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27371"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27370" class="if-quote-wrapper" unselectable="on" data-guid="1562108784826"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27370" 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="27370" 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="27370" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27370"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27369" class="if-quote-wrapper" unselectable="on" data-guid="1562108784826"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27369" 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="27369" 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="27369" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27369"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;I also think that there must be a problem in abort() command but could not figure out it. Do you have any other idea?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="27369"&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; Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would it be possible to explain what that problem is?&lt;br/&gt;&lt;br/&gt;&amp;gt; I also think that there must be a problem in abort() command but could not figure out it. &lt;br/&gt;&lt;br/&gt;What did you try and what isn't working? I'm not sure what I'm supposed to say without any details and the actual code. Why do you think there is a problem with script.abort() and what is it that you couldn't figure out?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27370"&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;I mean even if I change the code from script.abort(true) to script.abort(false), it still shows the white black page and stops (need to use alt+command+esc to exit).&lt;br/&gt;&lt;br/&gt;This is "batch.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;AND from each file from &amp;lt;batch2&amp;gt;,&amp;nbsp;for example in file "a.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;if(parameters.scriptcount &amp;gt;= 2) script.abort(false);&lt;br/&gt;]&lt;br/&gt;/ blocks = [1=myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("This is &amp;lt;%script.filename%&amp;gt;. Press SPACE.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;if I change "if(parameters.scriptcount &amp;gt;= 2)" to "if(parameters.scriptcount &amp;gt;= 6)", which means going through all the files (from a.iqx to f.iqx), it works very well and does not show white black page or stop. And from this result, I assume that there can be a problem in script.abort(). I hope my description makes sense. If you have more detail, please let me know.&lt;a class="if-quote-goto quote-link" href="#" data-id="27371"&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;Sorry for the typo. white black page -&amp;gt; white blank page.&lt;a class="if-quote-goto quote-link" href="#" data-id="27372"&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;Could you please run through this&lt;br/&gt;&lt;br/&gt;&lt;a href="https://mili2nd.co/6unb"&gt;&lt;a href="https://mili2nd.co/6unb"&gt;https://mili2nd.co/6unb&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;and let me know how it behaves for you. It should (and does, for me) run:&lt;br/&gt;- intro&lt;br/&gt;- two random scripts out of A to F&lt;br/&gt;- a simple slider script at the end&lt;br/&gt;-&amp;nbsp; the default finish page&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27373"&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;It works very well !!&lt;a class="if-quote-goto quote-link" href="#" data-id="27374"&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;Is it the same code with above or did you change something? Please let me know. Thank you.</description><pubDate>Tue, 02 Jul 2019 16:06:54 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27374.aspx</link><description>&lt;div data-id="27373" class="if-quote-wrapper" unselectable="on" data-guid="1562108245078"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27373" 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="27373" 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="27373" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27373"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27372" class="if-quote-wrapper" unselectable="on" data-guid="1562108245078"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27372" 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="27372" 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="27372" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27372"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27371" class="if-quote-wrapper" unselectable="on" data-guid="1562108245078"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27371" 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="27371" 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="27371" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27371"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27370" class="if-quote-wrapper" unselectable="on" data-guid="1562108245078"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27370" 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="27370" 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="27370" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27370"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27369" class="if-quote-wrapper" unselectable="on" data-guid="1562108245078"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27369" 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="27369" 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="27369" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27369"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;I also think that there must be a problem in abort() command but could not figure out it. Do you have any other idea?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="27369"&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; Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would it be possible to explain what that problem is?&lt;br/&gt;&lt;br/&gt;&amp;gt; I also think that there must be a problem in abort() command but could not figure out it. &lt;br/&gt;&lt;br/&gt;What did you try and what isn't working? I'm not sure what I'm supposed to say without any details and the actual code. Why do you think there is a problem with script.abort() and what is it that you couldn't figure out?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27370"&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;I mean even if I change the code from script.abort(true) to script.abort(false), it still shows the white black page and stops (need to use alt+command+esc to exit).&lt;br/&gt;&lt;br/&gt;This is "batch.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;AND from each file from &amp;lt;batch2&amp;gt;,&amp;nbsp;for example in file "a.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;if(parameters.scriptcount &amp;gt;= 2) script.abort(false);&lt;br/&gt;]&lt;br/&gt;/ blocks = [1=myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("This is &amp;lt;%script.filename%&amp;gt;. Press SPACE.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;if I change "if(parameters.scriptcount &amp;gt;= 2)" to "if(parameters.scriptcount &amp;gt;= 6)", which means going through all the files (from a.iqx to f.iqx), it works very well and does not show white black page or stop. And from this result, I assume that there can be a problem in script.abort(). I hope my description makes sense. If you have more detail, please let me know.&lt;a class="if-quote-goto quote-link" href="#" data-id="27371"&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;Sorry for the typo. white black page -&amp;gt; white blank page.&lt;a class="if-quote-goto quote-link" href="#" data-id="27372"&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;Could you please run through this&lt;br/&gt;&lt;br/&gt;&lt;a href="https://mili2nd.co/6unb"&gt;&lt;a href="https://mili2nd.co/6unb"&gt;https://mili2nd.co/6unb&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;and let me know how it behaves for you. It should (and does, for me) run:&lt;br/&gt;- intro&lt;br/&gt;- two random scripts out of A to F&lt;br/&gt;- a simple slider script at the end&lt;br/&gt;-&amp;nbsp; the default finish page&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27373"&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;It works very well !!</description><pubDate>Tue, 02 Jul 2019 15:58:09 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27373.aspx</link><description>&lt;div data-id="27372" class="if-quote-wrapper" unselectable="on" data-guid="1562101545583"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27372" 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="27372" 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="27372" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27372"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27371" class="if-quote-wrapper" unselectable="on" data-guid="1562101545583"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27371" 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="27371" 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="27371" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27371"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27370" class="if-quote-wrapper" unselectable="on" data-guid="1562101545583"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27370" 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="27370" 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="27370" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27370"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27369" class="if-quote-wrapper" unselectable="on" data-guid="1562101545583"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27369" 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="27369" 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="27369" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27369"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;I also think that there must be a problem in abort() command but could not figure out it. Do you have any other idea?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="27369"&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; Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would it be possible to explain what that problem is?&lt;br/&gt;&lt;br/&gt;&amp;gt; I also think that there must be a problem in abort() command but could not figure out it. &lt;br/&gt;&lt;br/&gt;What did you try and what isn't working? I'm not sure what I'm supposed to say without any details and the actual code. Why do you think there is a problem with script.abort() and what is it that you couldn't figure out?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27370"&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;I mean even if I change the code from script.abort(true) to script.abort(false), it still shows the white black page and stops (need to use alt+command+esc to exit).&lt;br/&gt;&lt;br/&gt;This is "batch.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;AND from each file from &amp;lt;batch2&amp;gt;,&amp;nbsp;for example in file "a.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;if(parameters.scriptcount &amp;gt;= 2) script.abort(false);&lt;br/&gt;]&lt;br/&gt;/ blocks = [1=myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("This is &amp;lt;%script.filename%&amp;gt;. Press SPACE.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;if I change "if(parameters.scriptcount &amp;gt;= 2)" to "if(parameters.scriptcount &amp;gt;= 6)", which means going through all the files (from a.iqx to f.iqx), it works very well and does not show white black page or stop. And from this result, I assume that there can be a problem in script.abort(). I hope my description makes sense. If you have more detail, please let me know.&lt;a class="if-quote-goto quote-link" href="#" data-id="27371"&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;Sorry for the typo. white black page -&amp;gt; white blank page.&lt;a class="if-quote-goto quote-link" href="#" data-id="27372"&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;Could you please run through this&lt;br/&gt;&lt;br/&gt;&lt;a href="https://mili2nd.co/6unb"&gt;https://mili2nd.co/6unb&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;and let me know how it behaves for you. It should (and does, for me) run:&lt;br/&gt;- intro&lt;br/&gt;- two random scripts out of A to F&lt;br/&gt;- a simple slider script at the end&lt;br/&gt;-&amp;nbsp; the default finish page&lt;br/&gt;</description><pubDate>Tue, 02 Jul 2019 14:07:43 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27372.aspx</link><description>&lt;div data-id="27371" class="if-quote-wrapper" unselectable="on" data-guid="1562100899569"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27371" 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="27371" 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="27371" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27371"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27370" class="if-quote-wrapper" unselectable="on" data-guid="1562100899569"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27370" 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="27370" 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="27370" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27370"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27369" class="if-quote-wrapper" unselectable="on" data-guid="1562100899569"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27369" 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="27369" 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="27369" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27369"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;I also think that there must be a problem in abort() command but could not figure out it. Do you have any other idea?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="27369"&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; Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would it be possible to explain what that problem is?&lt;br/&gt;&lt;br/&gt;&amp;gt; I also think that there must be a problem in abort() command but could not figure out it. &lt;br/&gt;&lt;br/&gt;What did you try and what isn't working? I'm not sure what I'm supposed to say without any details and the actual code. Why do you think there is a problem with script.abort() and what is it that you couldn't figure out?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27370"&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;I mean even if I change the code from script.abort(true) to script.abort(false), it still shows the white black page and stops (need to use alt+command+esc to exit).&lt;br/&gt;&lt;br/&gt;This is "batch.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;AND from each file from &amp;lt;batch2&amp;gt;,&amp;nbsp;for example in file "a.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;if(parameters.scriptcount &amp;gt;= 2) script.abort(false);&lt;br/&gt;]&lt;br/&gt;/ blocks = [1=myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("This is &amp;lt;%script.filename%&amp;gt;. Press SPACE.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;if I change "if(parameters.scriptcount &amp;gt;= 2)" to "if(parameters.scriptcount &amp;gt;= 6)", which means going through all the files (from a.iqx to f.iqx), it works very well and does not show white black page or stop. And from this result, I assume that there can be a problem in script.abort(). I hope my description makes sense. If you have more detail, please let me know.&lt;a class="if-quote-goto quote-link" href="#" data-id="27371"&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;Sorry for the typo. white black page -&amp;gt; white blank page.</description><pubDate>Tue, 02 Jul 2019 13:55:23 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27371.aspx</link><description>&lt;div data-id="27370" class="if-quote-wrapper" unselectable="on" data-guid="1562099960046"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27370" 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="27370" 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="27370" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27370"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27369" class="if-quote-wrapper" unselectable="on" data-guid="1562099960046"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27369" 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="27369" 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="27369" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27369"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;I also think that there must be a problem in abort() command but could not figure out it. Do you have any other idea?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="27369"&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; Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would it be possible to explain what that problem is?&lt;br/&gt;&lt;br/&gt;&amp;gt; I also think that there must be a problem in abort() command but could not figure out it. &lt;br/&gt;&lt;br/&gt;What did you try and what isn't working? I'm not sure what I'm supposed to say without any details and the actual code. Why do you think there is a problem with script.abort() and what is it that you couldn't figure out?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27370"&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;I mean even if I change the code from script.abort(true) to script.abort(false), it still shows the white black page and stops (need to use alt+command+esc to exit).&lt;br/&gt;&lt;br/&gt;This is "batch.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;AND from each file from &amp;lt;batch2&amp;gt;,&amp;nbsp;for example in file "a.iqx",&lt;br/&gt;&lt;br/&gt;&amp;lt;expt myexpt&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;if(parameters.scriptcount &amp;gt;= 2) script.abort(false);&lt;br/&gt;]&lt;br/&gt;/ blocks = [1=myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("This is &amp;lt;%script.filename%&amp;gt;. Press SPACE.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;if I change "if(parameters.scriptcount &amp;gt;= 2)" to "if(parameters.scriptcount &amp;gt;= 6)", which means going through all the files (from a.iqx to f.iqx), it works very well and does not show white black page or stop. And from this result, I assume that there can be a problem in script.abort(). I hope my description makes sense. If you have more detail, please let me know.</description><pubDate>Tue, 02 Jul 2019 13:54:15 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27370.aspx</link><description>&lt;div data-id="27369" class="if-quote-wrapper" unselectable="on" data-guid="1562099708581"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27369" 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="27369" 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="27369" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27369"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;I also think that there must be a problem in abort() command but could not figure out it. Do you have any other idea?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="27369"&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; Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would it be possible to explain what that problem is?&lt;br/&gt;&lt;br/&gt;&amp;gt; I also think that there must be a problem in abort() command but could not figure out it. &lt;br/&gt;&lt;br/&gt;What did you try and what isn't working? I'm not sure what I'm supposed to say without any details and the actual code. Why do you think there is a problem with script.abort() and what is it that you couldn't figure out?&lt;br/&gt;</description><pubDate>Tue, 02 Jul 2019 13:37:29 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27369.aspx</link><description>&lt;div data-id="27368" class="if-quote-wrapper" unselectable="on" data-guid="1562098685355"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27368" 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="27368" 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="27368" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27368"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27367" class="if-quote-wrapper" unselectable="on" data-guid="1562098685355"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27367" 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="27367" 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="27367" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27367"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27366" class="if-quote-wrapper" unselectable="on" data-guid="1562098685355"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27366" 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="27366" 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="27366" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27366"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27365" class="if-quote-wrapper" unselectable="on" data-guid="1562098685355"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27365" 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="27365" 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="27365" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27365"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/ad5ae7d6-cf65-4e7d-b697-0bf6.png" data-download-url="https://www.millisecond.com/forums/Uploads/Images/eafe7f47-3e17-40ce-bbf5-4168.png"&gt;&lt;br/&gt;&lt;br/&gt;So this is a normal end survey page in the Web Inquisit. But after the study above, it automatically goes back to the very first page.&lt;a class="if-quote-goto quote-link" href="#" data-id="27365"&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;You said the "study &lt;strong&gt;immediately &lt;/strong&gt;reverts [to this page]" -- what does "immediately" mean? Does the study run at all or do you click start, nothing happens, and the study goes back to the start page?&lt;br/&gt;&lt;br/&gt;You also said "We got a same problem even if we put &lt;strong&gt;extra sections&lt;/strong&gt; after that." What extra sections? After what? Do you mean redirecting to some external page? Or do you mean further &amp;lt;batch&amp;gt; elements?&lt;br/&gt;&lt;br/&gt;Could you please clarify the above? Perhaps a link to the actual study would be helpful, too. Thanks.&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27366"&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;1. Ah, I might need to take "immediately" out. I mean after going through all the batches, web inquisit goes back to the start page instead of an ending page. Sorry for making you confused.&lt;br/&gt;&lt;br/&gt;2. I mean further &amp;lt;batch&amp;gt; elements. So, even when I put such as "slider.iqx" after the original code, it shows the same problem without going to "slider.iqx."&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;batch 3&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/file = "slider.iqx"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;/batch&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27367"&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;I see, thank you for the clarification. #2 is the expected behavior. The whole batch script is terminated, after all. If you don't want to quit the entire set of &amp;lt;batch&amp;gt;es after two scripts in the middle one, you need to change the script.abort() logic from &lt;br/&gt;&lt;br/&gt;script.abort(true), where "true" means terminate the entire batch script&lt;br/&gt;to &lt;br/&gt;script.abort(false), where "false" indicates that the batch script should keep running and only the individual script is terminated.&lt;br/&gt;&lt;br/&gt;That might also solve problem #1, since, technically, the whole thing runs regularly through to the end then.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27368"&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;Sorry Dave, still have a problem...&amp;nbsp;&lt;br/&gt;I also think that there must be a problem in abort() command but could not figure out it. Do you have any other idea?&amp;nbsp;</description><pubDate>Tue, 02 Jul 2019 13:21:42 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27368.aspx</link><description>&lt;div data-id="27367" class="if-quote-wrapper" unselectable="on" data-guid="1562094754615"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27367" 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="27367" 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="27367" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27367"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27366" class="if-quote-wrapper" unselectable="on" data-guid="1562094754615"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27366" 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="27366" 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="27366" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27366"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27365" class="if-quote-wrapper" unselectable="on" data-guid="1562094754615"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27365" 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="27365" 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="27365" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27365"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/ad5ae7d6-cf65-4e7d-b697-0bf6.png" data-download-url="https://www.millisecond.com/forums/Uploads/Images/eafe7f47-3e17-40ce-bbf5-4168.png"&gt;&lt;br/&gt;&lt;br/&gt;So this is a normal end survey page in the Web Inquisit. But after the study above, it automatically goes back to the very first page.&lt;a class="if-quote-goto quote-link" href="#" data-id="27365"&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;You said the "study &lt;strong&gt;immediately &lt;/strong&gt;reverts [to this page]" -- what does "immediately" mean? Does the study run at all or do you click start, nothing happens, and the study goes back to the start page?&lt;br/&gt;&lt;br/&gt;You also said "We got a same problem even if we put &lt;strong&gt;extra sections&lt;/strong&gt; after that." What extra sections? After what? Do you mean redirecting to some external page? Or do you mean further &amp;lt;batch&amp;gt; elements?&lt;br/&gt;&lt;br/&gt;Could you please clarify the above? Perhaps a link to the actual study would be helpful, too. Thanks.&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27366"&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;1. Ah, I might need to take "immediately" out. I mean after going through all the batches, web inquisit goes back to the start page instead of an ending page. Sorry for making you confused.&lt;br/&gt;&lt;br/&gt;2. I mean further &amp;lt;batch&amp;gt; elements. So, even when I put such as "slider.iqx" after the original code, it shows the same problem without going to "slider.iqx."&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;batch 3&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/file = "slider.iqx"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;/batch&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27367"&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;I see, thank you for the clarification. #2 is the expected behavior. The whole batch script is terminated, after all. If you don't want to quit the entire set of &amp;lt;batch&amp;gt;es after two scripts in the middle one, you need to change the script.abort() logic from &lt;br/&gt;&lt;br/&gt;script.abort(true), where "true" means terminate the entire batch script&lt;br/&gt;to &lt;br/&gt;script.abort(false), where "false" indicates that the batch script should keep running and only the individual script is terminated.&lt;br/&gt;&lt;br/&gt;That might also solve problem #1, since, technically, the whole thing runs regularly through to the end then.&lt;br/&gt;</description><pubDate>Tue, 02 Jul 2019 12:16:29 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27367.aspx</link><description>&lt;div data-id="27366" class="if-quote-wrapper" unselectable="on" data-guid="1562092286317"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27366" 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="27366" 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="27366" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27366"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27365" class="if-quote-wrapper" unselectable="on" data-guid="1562092286317"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27365" 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="27365" 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="27365" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27365"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/ad5ae7d6-cf65-4e7d-b697-0bf6.png" data-download-url="https://www.millisecond.com/forums/Uploads/Images/eafe7f47-3e17-40ce-bbf5-4168.png"&gt;&lt;br/&gt;&lt;br/&gt;So this is a normal end survey page in the Web Inquisit. But after the study above, it automatically goes back to the very first page.&lt;a class="if-quote-goto quote-link" href="#" data-id="27365"&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;You said the "study &lt;strong&gt;immediately &lt;/strong&gt;reverts [to this page]" -- what does "immediately" mean? Does the study run at all or do you click start, nothing happens, and the study goes back to the start page?&lt;br/&gt;&lt;br/&gt;You also said "We got a same problem even if we put &lt;strong&gt;extra sections&lt;/strong&gt; after that." What extra sections? After what? Do you mean redirecting to some external page? Or do you mean further &amp;lt;batch&amp;gt; elements?&lt;br/&gt;&lt;br/&gt;Could you please clarify the above? Perhaps a link to the actual study would be helpful, too. Thanks.&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27366"&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;1. Ah, I might need to take "immediately" out. I mean after going through all the batches, web inquisit goes back to the start page instead of an ending page. Sorry for making you confused.&lt;br/&gt;&lt;br/&gt;2. I mean further &amp;lt;batch&amp;gt; elements. So, even when I put such as "slider.iqx" after the original code, it shows the same problem without going to "slider.iqx."&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 1&amp;gt;&lt;br/&gt;/ file = "intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch 2&amp;gt;&lt;br/&gt;/ file = "a.iqx"&lt;br/&gt;/ file = "b.iqx"&lt;br/&gt;/ file = "c.iqx"&lt;br/&gt;/ file = "d.iqx"&lt;br/&gt;/ file = "e.iqx"&lt;br/&gt;/ file = "f.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ onscriptend = [parameters.scriptcount += 1;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ scriptcount = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;batch 3&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;/file = "slider.iqx"&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(34, 34, 34); font-family: arial, tahoma; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&amp;lt;/batch&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 02 Jul 2019 11:45:13 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27366.aspx</link><description>&lt;div data-id="27365" class="if-quote-wrapper" unselectable="on" data-guid="1562091838636"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27365" 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="27365" 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="27365" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27365"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/ad5ae7d6-cf65-4e7d-b697-0bf6.png" data-download-url="https://www.millisecond.com/forums/Uploads/Images/eafe7f47-3e17-40ce-bbf5-4168.png"&gt;&lt;br/&gt;&lt;br/&gt;So this is a normal end survey page in the Web Inquisit. But after the study above, it automatically goes back to the very first page.&lt;a class="if-quote-goto quote-link" href="#" data-id="27365"&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;You said the "study &lt;strong&gt;immediately &lt;/strong&gt;reverts [to this page]" -- what does "immediately" mean? Does the study run at all or do you click start, nothing happens, and the study goes back to the start page?&lt;br/&gt;&lt;br/&gt;You also said "We got a same problem even if we put &lt;strong&gt;extra sections&lt;/strong&gt; after that." What extra sections? After what? Do you mean redirecting to some external page? Or do you mean further &amp;lt;batch&amp;gt; elements?&lt;br/&gt;&lt;br/&gt;Could you please clarify the above? Perhaps a link to the actual study would be helpful, too. Thanks.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 02 Jul 2019 11:28:16 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27365.aspx</link><description>&lt;div data-id="27360" class="if-quote-wrapper" unselectable="on" data-guid="1562089032515"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27360" 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="27360" 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="27360" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 7/2/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27360"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27356" class="if-quote-wrapper" unselectable="on" data-guid="1562089032515"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27356" 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="27356" 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="27356" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/1/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27356"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Hello Dave, I found the same problem in my colleague's laptop (white blank page) even if he updated to latest version (5.0.14.0). In web Inquisit, we didn't see the white page, but&amp;nbsp;the study reverted immediately back to this screen (see the below). We got a same problem even if we put extra sections after that. Please let us know if you have any idea. Thank you.&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/97ed1b2d-cd76-43b7-805c-82ca.png" data-download-url="https://www.millisecond.com/forums/Uploads/Images/3422d58d-8f10-491c-a6c1-3aeb.png"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27356"&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;I don't understand what "everted immediately back to this screen (see the below). We got a same problem even if we put extra sections after that." is supposed to mean in this context. Please clarifiy.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27360"&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;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/ad5ae7d6-cf65-4e7d-b697-0bf6.png" data-download-url="https://www.millisecond.com/forums/Uploads/Images/eafe7f47-3e17-40ce-bbf5-4168.png"&gt;&lt;br/&gt;&lt;br/&gt;So this is a normal end survey page in the Web Inquisit. But after the study above, it automatically goes back to the very first page.</description><pubDate>Tue, 02 Jul 2019 10:40:48 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27360.aspx</link><description>&lt;div data-id="27356" class="if-quote-wrapper" unselectable="on" data-guid="1562069823280"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27356" 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="27356" 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="27356" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 7/1/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27356"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;br/&gt;Hello Dave, I found the same problem in my colleague's laptop (white blank page) even if he updated to latest version (5.0.14.0). In web Inquisit, we didn't see the white page, but&amp;nbsp;the study reverted immediately back to this screen (see the below). We got a same problem even if we put extra sections after that. Please let us know if you have any idea. Thank you.&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/97ed1b2d-cd76-43b7-805c-82ca.png" data-download-url="https://www.millisecond.com/forums/Uploads/Images/3422d58d-8f10-491c-a6c1-3aeb.png"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27356"&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;I don't understand what "everted immediately back to this screen (see the below). We got a same problem even if we put extra sections after that." is supposed to mean in this context. Please clarifiy.&lt;br/&gt;</description><pubDate>Tue, 02 Jul 2019 05:17:42 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27356.aspx</link><description>&lt;div data-id="27340" class="if-quote-wrapper" unselectable="on" data-guid="1562034469628"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27340" 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="27340" 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="27340" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27340"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27339" class="if-quote-wrapper" unselectable="on" data-guid="1562034469628"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27339" 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="27339" 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="27339" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27339"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27338" class="if-quote-wrapper" unselectable="on" data-guid="1562034469628"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27338" 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="27338" 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="27338" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27338"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27337" class="if-quote-wrapper" unselectable="on" data-guid="1562034469628"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27337" 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="27337" 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="27337" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27337"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27336" class="if-quote-wrapper" unselectable="on" data-guid="1562034469628"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27336" 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="27336" 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="27336" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27336"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27335" class="if-quote-wrapper" unselectable="on" data-guid="1562034469628"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27335" 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="27335" 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="27335" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27335"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I have a question in Inquisit 5. &lt;br/&gt;&lt;br/&gt;I would like to choose 2 random batches from total 6, but if you see the below code, it shows 2 random studies, but those 2 studies stick together ((1),(2) / (3),(4) / (5),(6)).&lt;br/&gt;&lt;br/&gt;How can I randomize them and choose 2 batches? Any help for what to try is greatly appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "Intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// IAT &lt;br/&gt; &lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(1).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(2).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(3).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(4).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(5).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(6).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27335"&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;You can't do it that way. You need to create a single &amp;lt;batch&amp;gt; element running your 6 scripts, set the script selectionmode in that &amp;lt;batch&amp;gt; to random, and then use &amp;lt;batch&amp;gt; parameters to terminate the &amp;lt;batch&amp;gt; after 2 random scripts have been run ( &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm&lt;/a&gt;&lt;/a&gt; ). I've attached a small example illustrating how this would look in practice.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27336"&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;It works! Thank you so much.&lt;br/&gt;&lt;br/&gt;However, one thing that I noticed is that when the script is aborted, the Inquisit program stops and only shows a white &amp;#119;indow. Force stop (control + Q) is not working, and system quit (alt+command+esc) is the only way out and it makes me run the Inquisit program every time. I found this problem even in the sample code you attached. Would you mind giving any clue that I can solve this problem?&lt;a class="if-quote-goto quote-link" href="#" data-id="27337"&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;This sounds like your Inquisit Lab installation is outdated. Please make sure you have the latest release installed (5.0.14.0; available at &lt;a href="https://www.millisecond.com/download/"&gt;&lt;a href="https://www.millisecond.com/download/"&gt;https://www.millisecond.com/download/&lt;/a&gt;&lt;/a&gt; as usual).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27338"&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;Hmm.. still have a problem even after the update. Maybe we need to try it with web Inquisit. I'll come back to the thread if there is a same issue in web Inquisit. Thank you Dave. I appreciate your help!&lt;a class="if-quote-goto quote-link" href="#" data-id="27339"&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;Hmm, that's strange. I'm unable to reproduce this under 5.0.14.0, but I know that a previous version had that issue (I unfortunately don't recall which one off the top of my head). &lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27340"&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;Hello Dave, I found the same problem in my colleague's laptop (white blank page) even if he updated to latest version (5.0.14.0). In web Inquisit, we didn't see the white page, but&amp;nbsp;the study reverted immediately back to this screen (see the below). We got a same problem even if we put extra sections after that. Please let us know if you have any idea. Thank you.&lt;br/&gt;&lt;br/&gt;&amp;nbsp;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/97ed1b2d-cd76-43b7-805c-82ca.png" data-download-url="https://www.millisecond.com/forums/Uploads/Images/3422d58d-8f10-491c-a6c1-3aeb.png"&gt;</description><pubDate>Mon, 01 Jul 2019 19:35:48 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27340.aspx</link><description>&lt;div data-id="27339" class="if-quote-wrapper" unselectable="on" data-guid="1561741433726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27339" 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="27339" 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="27339" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27339"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27338" class="if-quote-wrapper" unselectable="on" data-guid="1561741433726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27338" 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="27338" 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="27338" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27338"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27337" class="if-quote-wrapper" unselectable="on" data-guid="1561741433726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27337" 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="27337" 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="27337" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27337"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27336" class="if-quote-wrapper" unselectable="on" data-guid="1561741433726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27336" 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="27336" 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="27336" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27336"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27335" class="if-quote-wrapper" unselectable="on" data-guid="1561741433726"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27335" 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="27335" 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="27335" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27335"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I have a question in Inquisit 5. &lt;br/&gt;&lt;br/&gt;I would like to choose 2 random batches from total 6, but if you see the below code, it shows 2 random studies, but those 2 studies stick together ((1),(2) / (3),(4) / (5),(6)).&lt;br/&gt;&lt;br/&gt;How can I randomize them and choose 2 batches? Any help for what to try is greatly appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "Intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// IAT &lt;br/&gt; &lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(1).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(2).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(3).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(4).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(5).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(6).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27335"&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;You can't do it that way. You need to create a single &amp;lt;batch&amp;gt; element running your 6 scripts, set the script selectionmode in that &amp;lt;batch&amp;gt; to random, and then use &amp;lt;batch&amp;gt; parameters to terminate the &amp;lt;batch&amp;gt; after 2 random scripts have been run ( &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm&lt;/a&gt;&lt;/a&gt; ). I've attached a small example illustrating how this would look in practice.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27336"&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;It works! Thank you so much.&lt;br/&gt;&lt;br/&gt;However, one thing that I noticed is that when the script is aborted, the Inquisit program stops and only shows a white window. Force stop (control + Q) is not working, and system quit (alt+command+esc) is the only way out and it makes me run the Inquisit program every time. I found this problem even in the sample code you attached. Would you mind giving any clue that I can solve this problem?&lt;a class="if-quote-goto quote-link" href="#" data-id="27337"&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;This sounds like your Inquisit Lab installation is outdated. Please make sure you have the latest release installed (5.0.14.0; available at &lt;a href="https://www.millisecond.com/download/"&gt;&lt;a href="https://www.millisecond.com/download/"&gt;https://www.millisecond.com/download/&lt;/a&gt;&lt;/a&gt; as usual).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27338"&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;Hmm.. still have a problem even after the update. Maybe we need to try it with web Inquisit. I'll come back to the thread if there is a same issue in web Inquisit. Thank you Dave. I appreciate your help!&lt;a class="if-quote-goto quote-link" href="#" data-id="27339"&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;Hmm, that's strange. I'm unable to reproduce this under 5.0.14.0, but I know that a previous version had that issue (I unfortunately don't recall which one off the top of my head). &lt;br/&gt;</description><pubDate>Fri, 28 Jun 2019 10:05:28 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27339.aspx</link><description>&lt;div data-id="27338" class="if-quote-wrapper" unselectable="on" data-guid="1561740455852"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27338" 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="27338" 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="27338" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27338"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27337" class="if-quote-wrapper" unselectable="on" data-guid="1561740455852"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27337" 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="27337" 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="27337" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27337"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27336" class="if-quote-wrapper" unselectable="on" data-guid="1561740455852"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27336" 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="27336" 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="27336" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27336"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27335" class="if-quote-wrapper" unselectable="on" data-guid="1561740455852"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27335" 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="27335" 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="27335" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27335"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I have a question in Inquisit 5. &lt;br/&gt;&lt;br/&gt;I would like to choose 2 random batches from total 6, but if you see the below code, it shows 2 random studies, but those 2 studies stick together ((1),(2) / (3),(4) / (5),(6)).&lt;br/&gt;&lt;br/&gt;How can I randomize them and choose 2 batches? Any help for what to try is greatly appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "Intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// IAT &lt;br/&gt; &lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(1).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(2).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(3).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(4).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(5).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(6).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27335"&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;You can't do it that way. You need to create a single &amp;lt;batch&amp;gt; element running your 6 scripts, set the script selectionmode in that &amp;lt;batch&amp;gt; to random, and then use &amp;lt;batch&amp;gt; parameters to terminate the &amp;lt;batch&amp;gt; after 2 random scripts have been run ( &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm&lt;/a&gt;&lt;/a&gt; ). I've attached a small example illustrating how this would look in practice.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27336"&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;It works! Thank you so much.&lt;br/&gt;&lt;br/&gt;However, one thing that I noticed is that when the script is aborted, the Inquisit program stops and only shows a white &amp;#119;indow. Force stop (control + Q) is not working, and system quit (alt+command+esc) is the only way out and it makes me run the Inquisit program every time. I found this problem even in the sample code you attached. Would you mind giving any clue that I can solve this problem?&lt;a class="if-quote-goto quote-link" href="#" data-id="27337"&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;This sounds like your Inquisit Lab installation is outdated. Please make sure you have the latest release installed (5.0.14.0; available at &lt;a href="https://www.millisecond.com/download/"&gt;&lt;a href="https://www.millisecond.com/download/"&gt;https://www.millisecond.com/download/&lt;/a&gt;&lt;/a&gt; as usual).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27338"&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;Hmm.. still have a problem even after the update. Maybe we need to try it with web Inquisit. I'll come back to the thread if there is a same issue in web Inquisit. Thank you Dave. I appreciate your help!</description><pubDate>Fri, 28 Jun 2019 09:54:21 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27338.aspx</link><description>&lt;div data-id="27337" class="if-quote-wrapper" unselectable="on" data-guid="1561740033741"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27337" 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="27337" 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="27337" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27337"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27336" class="if-quote-wrapper" unselectable="on" data-guid="1561740033741"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27336" 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="27336" 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="27336" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27336"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27335" class="if-quote-wrapper" unselectable="on" data-guid="1561740033741"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27335" 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="27335" 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="27335" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27335"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I have a question in Inquisit 5. &lt;br/&gt;&lt;br/&gt;I would like to choose 2 random batches from total 6, but if you see the below code, it shows 2 random studies, but those 2 studies stick together ((1),(2) / (3),(4) / (5),(6)).&lt;br/&gt;&lt;br/&gt;How can I randomize them and choose 2 batches? Any help for what to try is greatly appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "Intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// IAT &lt;br/&gt; &lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(1).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(2).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(3).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(4).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(5).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(6).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27335"&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;You can't do it that way. You need to create a single &amp;lt;batch&amp;gt; element running your 6 scripts, set the script selectionmode in that &amp;lt;batch&amp;gt; to random, and then use &amp;lt;batch&amp;gt; parameters to terminate the &amp;lt;batch&amp;gt; after 2 random scripts have been run ( &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm&lt;/a&gt;&lt;/a&gt; ). I've attached a small example illustrating how this would look in practice.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27336"&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;It works! Thank you so much.&lt;br/&gt;&lt;br/&gt;However, one thing that I noticed is that when the script is aborted, the Inquisit program stops and only shows a white window. Force stop (control + Q) is not working, and system quit (alt+command+esc) is the only way out and it makes me run the Inquisit program every time. I found this problem even in the sample code you attached. Would you mind giving any clue that I can solve this problem?&lt;a class="if-quote-goto quote-link" href="#" data-id="27337"&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;This sounds like your Inquisit Lab installation is outdated. Please make sure you have the latest release installed (5.0.14.0; available at &lt;a href="https://www.millisecond.com/download/"&gt;https://www.millisecond.com/download/&lt;/a&gt; as usual).&lt;br/&gt;</description><pubDate>Fri, 28 Jun 2019 09:42:31 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27337.aspx</link><description>&lt;div data-id="27336" class="if-quote-wrapper" unselectable="on" data-guid="1561736162613"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27336" 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="27336" 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="27336" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27336"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="27335" class="if-quote-wrapper" unselectable="on" data-guid="1561736162613"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27335" 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="27335" 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="27335" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27335"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I have a question in Inquisit 5. &lt;br/&gt;&lt;br/&gt;I would like to choose 2 random batches from total 6, but if you see the below code, it shows 2 random studies, but those 2 studies stick together ((1),(2) / (3),(4) / (5),(6)).&lt;br/&gt;&lt;br/&gt;How can I randomize them and choose 2 batches? Any help for what to try is greatly appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "Intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// IAT &lt;br/&gt; &lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(1).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(2).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(3).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(4).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(5).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(6).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27335"&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;You can't do it that way. You need to create a single &amp;lt;batch&amp;gt; element running your 6 scripts, set the script selectionmode in that &amp;lt;batch&amp;gt; to random, and then use &amp;lt;batch&amp;gt; parameters to terminate the &amp;lt;batch&amp;gt; after 2 random scripts have been run ( &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;&lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm&lt;/a&gt;&lt;/a&gt; ). I've attached a small example illustrating how this would look in practice.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27336"&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;It works! Thank you so much.&lt;br/&gt;&lt;br/&gt;However, one thing that I noticed is that when the script is aborted, the Inquisit program stops and only shows a white &amp;#119;indow. Force stop (control + Q) is not working, and system quit (alt+command+esc) is the only way out and it makes me run the Inquisit program every time. I found this problem even in the sample code you attached. Would you mind giving any clue that I can solve this problem?</description><pubDate>Fri, 28 Jun 2019 08:58:30 GMT</pubDate><dc:creator>Sean L.</dc:creator></item><item><title>RE: How to choose random batches?</title><link>https://forums.millisecond.com/Topic27336.aspx</link><description>&lt;div data-id="27335" class="if-quote-wrapper" unselectable="on" data-guid="1561722817935"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="27335" 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="27335" 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="27335" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sean L. - 6/28/2019&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-27335"&gt;&lt;div class="if-quote-message-margin"&gt;Hi all,&lt;br/&gt;&lt;br/&gt;I have a question in Inquisit 5. &lt;br/&gt;&lt;br/&gt;I would like to choose 2 random batches from total 6, but if you see the below code, it shows 2 random studies, but those 2 studies stick together ((1),(2) / (3),(4) / (5),(6)).&lt;br/&gt;&lt;br/&gt;How can I randomize them and choose 2 batches? Any help for what to try is greatly appreciated!&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ file = "Intro.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;// IAT &lt;br/&gt; &lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(1).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (1 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(2).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(3).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (2 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(4).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(5).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/subjects = (3 of 3)&lt;br/&gt;/groupassignment = random&lt;br/&gt;/file = "New_IAT(6).iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="27335"&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;You can't do it that way. You need to create a single &amp;lt;batch&amp;gt; element running your 6 scripts, set the script selectionmode in that &amp;lt;batch&amp;gt; to random, and then use &amp;lt;batch&amp;gt; parameters to terminate the &amp;lt;batch&amp;gt; after 2 random scripts have been run ( &lt;a href="https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm"&gt;https://www.millisecond.com/support/docs/v5/html/howto/batchparameters.htm&lt;/a&gt; ). I've attached a small example illustrating how this would look in practice.&lt;br/&gt;</description><pubDate>Fri, 28 Jun 2019 05:27:19 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>