﻿<?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  » saving values appended to a list from one script to transfer to another</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 13 May 2026 08:12:42 GMT</lastBuildDate><ttl>20</ttl><item><title>saving values appended to a list from one script to transfer to another</title><link>https://forums.millisecond.com/Topic34355.aspx</link><description>hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;in my experiment, images are randomly selected (indices from a list) and shown to a participant in the first block; those indices (or values) are then appended to a new list. i then use these indices from the list generated by the first block to build a particular sequence of images in the second block (i.e., given their position in the first block). i am looking to use this script in an fMRI experiment, and it would help to have separate scripts for the blocks in case of troubleshooting. is there a way i could automatically save the list of indices appended in the first block to then feed into a separate script for the second block?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;thank you for your help!</description><pubDate>Fri, 27 May 2022 20:08:02 GMT</pubDate><dc:creator>nrouhani</dc:creator></item><item><title>RE: saving values appended to a list from one script to transfer to another</title><link>https://forums.millisecond.com/Topic34358.aspx</link><description>&lt;blockquote data-id="34357" class="if-quote-wrapper" unselectable="on" data-guid="1653681983548" id="if_insertedNode_1653681982649" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34357" 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="34357" 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="34357" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nrouhani - 5/27/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34357"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="34356" class="if-quote-wrapper" unselectable="on" data-guid="1653681983548" id="if_insertedNode_1653679834494" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34356" 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="34356" 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="34356" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 5/27/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34356"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="34355" class="if-quote-wrapper" unselectable="on" data-guid="1653681983548" id="if_insertedNode_1653652191755" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34355" 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="34355" 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="34355" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nrouhani - 5/27/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34355"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;in my experiment, images are randomly selected (indices from a list) and shown to a participant in the first block; those indices (or values) are then appended to a new list. i then use these indices from the list generated by the first block to build a particular sequence of images in the second block (i.e., given their position in the first block). i am looking to use this script in an fMRI experiment, and it would help to have separate scripts for the blocks in case of troubleshooting. is there a way i could automatically save the list of indices appended in the first block to then feed into a separate script for the second block?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;thank you for your help!&lt;a class="if-quote-goto quote-link" href="#" data-id="34355"&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;Not quite automatically, but see &lt;a href="https://forums.millisecond.com/Topic31950.aspx"&gt;&lt;a href="https://forums.millisecond.com/Topic31950.aspx"&gt;https://forums.millisecond.com/Topic31950.aspx&lt;/a&gt;&lt;/a&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="34356"&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;thank you! one other question, if i wanted to start a script on the second (versus the first) block, is there a way to do so without the second block as its own experiment? &lt;a class="if-quote-goto quote-link" href="#" data-id="34357"&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;You could certainly build some logic that, say, uses a /skip attribute in the first block to omit said first block if you enter a certain group number.</description><pubDate>Fri, 27 May 2022 20:08:02 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: saving values appended to a list from one script to transfer to another</title><link>https://forums.millisecond.com/Topic34357.aspx</link><description>&lt;blockquote data-id="34356" class="if-quote-wrapper" unselectable="on" data-guid="1653679835685" contenteditable="false" id="if_insertedNode_1653679834494"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34356" 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="34356" 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="34356" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 5/27/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34356"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="34355" class="if-quote-wrapper" unselectable="on" data-guid="1653679835685" id="if_insertedNode_1653652191755" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34355" 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="34355" 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="34355" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nrouhani - 5/27/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34355"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;in my experiment, images are randomly selected (indices from a list) and shown to a participant in the first block; those indices (or values) are then appended to a new list. i then use these indices from the list generated by the first block to build a particular sequence of images in the second block (i.e., given their position in the first block). i am looking to use this script in an fMRI experiment, and it would help to have separate scripts for the blocks in case of troubleshooting. is there a way i could automatically save the list of indices appended in the first block to then feed into a separate script for the second block?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;thank you for your help!&lt;a class="if-quote-goto quote-link" href="#" data-id="34355"&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;Not quite automatically, but see &lt;a href="https://forums.millisecond.com/Topic31950.aspx"&gt;&lt;a href="https://forums.millisecond.com/Topic31950.aspx"&gt;https://forums.millisecond.com/Topic31950.aspx&lt;/a&gt;&lt;/a&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="34356"&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;thank you! one other question, if i wanted to start a script on the second (versus the first) block, is there a way to do so without the second block as its own experiment? </description><pubDate>Fri, 27 May 2022 19:32:32 GMT</pubDate><dc:creator>nrouhani</dc:creator></item><item><title>RE: saving values appended to a list from one script to transfer to another</title><link>https://forums.millisecond.com/Topic34356.aspx</link><description>&lt;blockquote data-id="34355" class="if-quote-wrapper" unselectable="on" data-guid="1653652192816" id="if_insertedNode_1653652191755" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="34355" 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="34355" 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="34355" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nrouhani - 5/27/2022&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-34355"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;hello,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;in my experiment, images are randomly selected (indices from a list) and shown to a participant in the first block; those indices (or values) are then appended to a new list. i then use these indices from the list generated by the first block to build a particular sequence of images in the second block (i.e., given their position in the first block). i am looking to use this script in an fMRI experiment, and it would help to have separate scripts for the blocks in case of troubleshooting. is there a way i could automatically save the list of indices appended in the first block to then feed into a separate script for the second block?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;thank you for your help!&lt;a class="if-quote-goto quote-link" href="#" data-id="34355"&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;Not quite automatically, but see &lt;a href="https://forums.millisecond.com/Topic31950.aspx"&gt;https://forums.millisecond.com/Topic31950.aspx&lt;/a&gt;</description><pubDate>Fri, 27 May 2022 11:54:52 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>