﻿<?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 6  » using batch to branch to other scripts non randomly</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 28 Jun 2026 00:45:19 GMT</lastBuildDate><ttl>20</ttl><item><title>using batch to branch to other scripts non randomly</title><link>https://forums.millisecond.com/Topic30757.aspx</link><description>Hello, I found an old script that did this like so&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ id = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ id_selected = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch select&amp;gt;&lt;br/&gt;/ file = "pracprac.iqx"&lt;br/&gt;/ file = "1.2_5d62ecf0163.iqx" &lt;br/&gt;/ file = "1.2_5e0fe5cc2fc.iqx" &lt;br/&gt;/ file = "1.2_5ca616e03.iqx" &lt;br/&gt;/ file = "1.2_5923e1de6944f.iqx" &lt;br/&gt;/ file = "1.2_5f47f430ebf.iqx" &lt;br/&gt;/ file = "1.2_5c3fa8e18c.iqx"  &lt;br/&gt;/ file = "1.2_5feb9213e14.iqx" &lt;br/&gt;/ file = "1.2_59f110d1be.iqx" &lt;br/&gt;/ file = "1.2_5efb35574b.iqx"  &lt;br/&gt;/ file = "1.2_59daaf5de5.iqx"  &lt;br/&gt;/ file = "1.2_5e23164bff2.iqx" &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;/ onscriptend = [&lt;br/&gt;&amp;nbsp; if (batch.select.currentscript == "pracprac.iqx")&lt;br/&gt;&amp;nbsp; {&lt;br/&gt;&amp;nbsp;&amp;nbsp;  parameters.id = values.id_selected; &lt;br/&gt;&amp;nbsp; }&lt;br/&gt;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;but Inquisit says my /onexptbegin = [ if (parameters.id != 1) script.abort(false) is an invalid identifier. &lt;br/&gt;&lt;br/&gt; </description><pubDate>Tue, 09 Feb 2021 01:17:06 GMT</pubDate><dc:creator>troyh</dc:creator></item><item><title>RE: using batch to branch to other scripts non randomly</title><link>https://forums.millisecond.com/Topic30762.aspx</link><description>Got it! Thanks for your guidance!</description><pubDate>Tue, 09 Feb 2021 01:17:06 GMT</pubDate><dc:creator>troyh</dc:creator></item><item><title>RE: using batch to branch to other scripts non randomly</title><link>https://forums.millisecond.com/Topic30761.aspx</link><description>&lt;blockquote data-id="30759" class="if-quote-wrapper" unselectable="on" data-guid="1612830911453" id="if_insertedNode_1612830910811" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30759" 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="30759" 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="30759" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;troyh - 2/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30759"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Sorry, i thought I would be able to upload the rest of the files in this comment, but I am receiving a message that I have exceeded my space. Here is the thread i was referring to:&lt;a href="https://www.millisecond.com/forums/Topic23921.aspx#23934"&gt;&lt;a href="https://www.millisecond.com/forums/Topic23921.aspx#23934"&gt;https://www.millisecond.com/forums/Topic23921.aspx#23934&lt;/a&gt;&lt;/a&gt; . Any help would be great!&lt;a class="if-quote-goto quote-link" href="#" data-id="30759"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;There is a ZIP attached to the post you linked. Look at each script to see how it's set up to interface with the batch parameters and other logic.&lt;br/&gt;</description><pubDate>Tue, 09 Feb 2021 00:36:31 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: using batch to branch to other scripts non randomly</title><link>https://forums.millisecond.com/Topic30760.aspx</link><description>&lt;blockquote data-id="30758" class="if-quote-wrapper" unselectable="on" data-guid="1612830697278" id="if_insertedNode_1612830696541" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30758" 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="30758" 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="30758" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;troyh - 2/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30758"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="30757" class="if-quote-wrapper" unselectable="on" data-guid="1612830697278" id="if_insertedNode_1612830462821" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30757" 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="30757" 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="30757" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;troyh - 2/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30757"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello, I found an old script that did this like so&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ id = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ id_selected = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch select&amp;gt;&lt;br/&gt;/ file = "pracprac.iqx"&lt;br/&gt;/ file = "1.2_5d62ecf0163.iqx" &lt;br/&gt;/ file = "1.2_5e0fe5cc2fc.iqx" &lt;br/&gt;/ file = "1.2_5ca616e03.iqx" &lt;br/&gt;/ file = "1.2_5923e1de6944f.iqx" &lt;br/&gt;/ file = "1.2_5f47f430ebf.iqx" &lt;br/&gt;/ file = "1.2_5c3fa8e18c.iqx"  &lt;br/&gt;/ file = "1.2_5feb9213e14.iqx" &lt;br/&gt;/ file = "1.2_59f110d1be.iqx" &lt;br/&gt;/ file = "1.2_5efb35574b.iqx"  &lt;br/&gt;/ file = "1.2_59daaf5de5.iqx"  &lt;br/&gt;/ file = "1.2_5e23164bff2.iqx" &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;/ onscriptend = [&lt;br/&gt;&amp;nbsp; if (batch.select.currentscript == "pracprac.iqx")&lt;br/&gt;&amp;nbsp; {&lt;br/&gt;&amp;nbsp;&amp;nbsp;  parameters.id = values.id_selected; &lt;br/&gt;&amp;nbsp; }&lt;br/&gt;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;but Inquisit says my /onexptbegin = [ if (parameters.id != 1) script.abort(false) is an invalid identifier. &lt;br/&gt;&lt;br/&gt; &lt;a class="if-quote-goto quote-link" href="#" data-id="30757"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30758"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;The scripts run by the batch need to have the proper logic specified to interface with the batch. The script you plugged in there is missing all of that.&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/support/docs/v6/html/howto/batchparameters.htm"&gt;https://www.millisecond.com/support/docs/v6/html/howto/batchparameters.htm&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 09 Feb 2021 00:34:14 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: using batch to branch to other scripts non randomly</title><link>https://forums.millisecond.com/Topic30759.aspx</link><description>Sorry, i thought I would be able to upload the rest of the files in this comment, but I am receiving a message that I have exceeded my space. Here is the thread i was referring to:&lt;a href="https://www.millisecond.com/forums/Topic23921.aspx#23934"&gt;https://www.millisecond.com/forums/Topic23921.aspx#23934&lt;/a&gt; . Any help would be great!</description><pubDate>Tue, 09 Feb 2021 00:31:12 GMT</pubDate><dc:creator>troyh</dc:creator></item><item><title>RE: using batch to branch to other scripts non randomly</title><link>https://forums.millisecond.com/Topic30758.aspx</link><description>&lt;blockquote data-id="30757" class="if-quote-wrapper" unselectable="on" data-guid="1612830463740" contenteditable="false" id="if_insertedNode_1612830462821"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30757" 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="30757" 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="30757" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;troyh - 2/9/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30757"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello, I found an old script that did this like so&lt;br/&gt;&lt;br/&gt;&amp;lt;parameters&amp;gt;&lt;br/&gt;/ id = 0&lt;br/&gt;&amp;lt;/parameters&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ id_selected = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch select&amp;gt;&lt;br/&gt;/ file = "pracprac.iqx"&lt;br/&gt;/ file = "1.2_5d62ecf0163.iqx" &lt;br/&gt;/ file = "1.2_5e0fe5cc2fc.iqx" &lt;br/&gt;/ file = "1.2_5ca616e03.iqx" &lt;br/&gt;/ file = "1.2_5923e1de6944f.iqx" &lt;br/&gt;/ file = "1.2_5f47f430ebf.iqx" &lt;br/&gt;/ file = "1.2_5c3fa8e18c.iqx"  &lt;br/&gt;/ file = "1.2_5feb9213e14.iqx" &lt;br/&gt;/ file = "1.2_59f110d1be.iqx" &lt;br/&gt;/ file = "1.2_5efb35574b.iqx"  &lt;br/&gt;/ file = "1.2_59daaf5de5.iqx"  &lt;br/&gt;/ file = "1.2_5e23164bff2.iqx" &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;/ onscriptend = [&lt;br/&gt;&amp;nbsp; if (batch.select.currentscript == "pracprac.iqx")&lt;br/&gt;&amp;nbsp; {&lt;br/&gt;&amp;nbsp;&amp;nbsp;  parameters.id = values.id_selected; &lt;br/&gt;&amp;nbsp; }&lt;br/&gt;]&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;but Inquisit says my /onexptbegin = [ if (parameters.id != 1) script.abort(false) is an invalid identifier. &lt;br/&gt;&lt;br/&gt; &lt;a class="if-quote-goto quote-link" href="#" data-id="30757"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt;</description><pubDate>Tue, 09 Feb 2021 00:28:05 GMT</pubDate><dc:creator>troyh</dc:creator></item></channel></rss>