﻿<?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  » Aborting part of the script in batch</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 05 May 2026 18:22:37 GMT</lastBuildDate><ttl>20</ttl><item><title>Aborting part of the script in batch</title><link>https://forums.millisecond.com/Topic31615.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I am working on a research structure that have made a button/ key to stop the task and go to next task in a batch&lt;br/&gt;&lt;br/&gt;The batch is divided into 2 sessions, because we want one of them to be the last task&lt;br/&gt;&lt;br/&gt;However, when I test running the stop function, I can stop the current task and go to next task in the same session.&lt;br/&gt;&lt;br/&gt;But when I stop the last task in the first session, it does not run the second session&lt;br/&gt;&lt;br/&gt;i.e. (with script)&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ sessions = (1 of 2)&lt;br/&gt;/ file = "stroopwithcontrolkeyboard.iqx"&lt;br/&gt;/ file = "gameofdicetask.iqx"&lt;br/&gt;/ file = "dpdt.iqx"&lt;br/&gt;/ file = "trailmakingtest.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt; &lt;br/&gt;/ sessions = (2 of 2)&lt;br/&gt;/ file = "bart.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Let's say I run the Stroop task in the last part of the session 1, when I quit it it does not run the BART.&lt;br/&gt;&lt;br/&gt;How can it be fixed?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 28 May 2021 11:33:13 GMT</pubDate><dc:creator>alex.ch_316</dc:creator></item><item><title>RE: Aborting part of the script in batch</title><link>https://forums.millisecond.com/Topic31620.aspx</link><description>&lt;blockquote data-id="31616" class="if-quote-wrapper" unselectable="on" data-guid="1622201541155" id="if_insertedNode_1622201540836" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="31616" 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="31616" 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="31616" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;alex.ch_316 - 5/28/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-31616"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="31615" class="if-quote-wrapper" unselectable="on" data-guid="1622201541155" id="if_insertedNode_1622168714527" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="31615" 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="31615" 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="31615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;alex.ch_316 - 5/28/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-31615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I am working on a research structure that have made a button/ key to stop the task and go to next task in a batch&lt;br/&gt;&lt;br/&gt;The batch is divided into 2 sessions, because we want one of them to be the last task&lt;br/&gt;&lt;br/&gt;However, when I test running the stop function, I can stop the current task and go to next task in the same session.&lt;br/&gt;&lt;br/&gt;But when I stop the last task in the first session, it does not run the second session&lt;br/&gt;&lt;br/&gt;i.e. (with script)&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ sessions = (1 of 2)&lt;br/&gt;/ file = "stroopwithcontrolkeyboard.iqx"&lt;br/&gt;/ file = "gameofdicetask.iqx"&lt;br/&gt;/ file = "dpdt.iqx"&lt;br/&gt;/ file = "trailmakingtest.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt; &lt;br/&gt;/ sessions = (2 of 2)&lt;br/&gt;/ file = "bart.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Let's say I run the Stroop task in the last part of the session 1, when I quit it it does not run the BART.&lt;br/&gt;&lt;br/&gt;How can it be fixed?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="31615"&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;font size="3"&gt;By the way I have tried the script.abort(false) but it still does not work&lt;/font&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="31616"&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;&amp;gt; But when I stop the last task in the first session, it does not run the second session.&lt;br/&gt;&lt;br/&gt;It is not supposed to. You are assigned one session by the session number. The other doesn't run, it's not been assigned.</description><pubDate>Fri, 28 May 2021 11:33:13 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Aborting part of the script in batch</title><link>https://forums.millisecond.com/Topic31616.aspx</link><description>&lt;blockquote data-id="31615" class="if-quote-wrapper" unselectable="on" data-guid="1622168715319" contenteditable="false" id="if_insertedNode_1622168714527"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="31615" 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="31615" 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="31615" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;alex.ch_316 - 5/28/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-31615"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I am working on a research structure that have made a button/ key to stop the task and go to next task in a batch&lt;br/&gt;&lt;br/&gt;The batch is divided into 2 sessions, because we want one of them to be the last task&lt;br/&gt;&lt;br/&gt;However, when I test running the stop function, I can stop the current task and go to next task in the same session.&lt;br/&gt;&lt;br/&gt;But when I stop the last task in the first session, it does not run the second session&lt;br/&gt;&lt;br/&gt;i.e. (with script)&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt;&lt;br/&gt;/ sessions = (1 of 2)&lt;br/&gt;/ file = "stroopwithcontrolkeyboard.iqx"&lt;br/&gt;/ file = "gameofdicetask.iqx"&lt;br/&gt;/ file = "dpdt.iqx"&lt;br/&gt;/ file = "trailmakingtest.iqx"&lt;br/&gt;/ selectionmode = random&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;batch&amp;gt; &lt;br/&gt;/ sessions = (2 of 2)&lt;br/&gt;/ file = "bart.iqx"&lt;br/&gt;&amp;lt;/batch&amp;gt;&lt;br/&gt;&lt;br/&gt;Let's say I run the Stroop task in the last part of the session 1, when I quit it it does not run the BART.&lt;br/&gt;&lt;br/&gt;How can it be fixed?&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="31615"&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;font size="3"&gt;By the way I have tried the script.abort(false) but it still does not work&lt;/font&gt;</description><pubDate>Fri, 28 May 2021 02:26:19 GMT</pubDate><dc:creator>alex.ch_316</dc:creator></item></channel></rss>