﻿<?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  » Selecting and Randomly Presenting Stimuli with Fixed Names in Inquisit</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 28 May 2026 02:23:26 GMT</lastBuildDate><ttl>20</ttl><item><title>Selecting and Randomly Presenting Stimuli with Fixed Names in Inquisit</title><link>https://forums.millisecond.com/Topic38423.aspx</link><description>Hello everyone,  &lt;br/&gt;&lt;br/&gt;I am encountering a challenge while coding a script in Inquisit and would appreciate your help.  &lt;br/&gt;&lt;br/&gt;In the "Mere Exposure1" section, I need to randomly select three stimuli from the `&amp;lt;item picitems1&amp;gt;` list, but they must have fixed names to facilitate data analysis later:  &lt;br/&gt;1. The first randomly selected stimulus should be named `"Exposed1stimulus"`.  &lt;br/&gt;2. The second randomly selected stimulus, distinct from the first, should be named `"Exposed2stimulus"`.  &lt;br/&gt;3. The third randomly selected stimulus, which should not have been selected in the first two, should be named `"NonExposedstimulus"`.  &lt;br/&gt;&lt;br/&gt;Then, these stimuli must be presented according to a specific protocol:&lt;br/&gt;- `"Exposed1stimulus"` should be presented 10 times to participants.&lt;br/&gt;- `"Exposed2stimulus"` should be presented 2 times.&lt;br/&gt;- The order of these presentations must be randomized.&lt;br/&gt;&lt;br/&gt;Finally, in a later phase, all three stimuli should be evaluated by participants in a Likert-type rating task, as defined in `&amp;lt;likert listimages1&amp;gt;`.&lt;br/&gt;&lt;br/&gt;I have tried different approaches using `&amp;lt;values&amp;gt;` and `&amp;lt;expressions&amp;gt;`, but I have not been able to achieve the expected result. Do you have any suggestions on how to properly structure this selection and presentation in Inquisit?&lt;br/&gt;&lt;br/&gt;Thank you very much for your help!&lt;br/&gt;</description><pubDate>Thu, 20 Mar 2025 14:38:58 GMT</pubDate><dc:creator>TBParis</dc:creator></item><item><title>RE: Selecting and Randomly Presenting Stimuli with Fixed Names in Inquisit</title><link>https://forums.millisecond.com/Topic38445.aspx</link><description>&lt;blockquote data-id="38439" class="if-quote-wrapper" unselectable="on" data-guid="1742481524522" contenteditable="false" id="if_insertedNode_1742481523098"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="38439" title=""&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="38439" title=""&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"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="38439" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 3/19/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-38439"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;blockquote data-id="38438" class="if-quote-wrapper" unselectable="on" data-guid="1742481524522" contenteditable="false" id="if_insertedNode_1742398884268"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="38438" 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="38438" 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="38438" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 3/19/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-38438"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="38423" class="if-quote-wrapper" unselectable="on" data-guid="1742481524522" contenteditable="false" id="if_insertedNode_1742398107828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="38423" 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="38423" 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="38423" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;TBParis - 3/19/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-38423"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello everyone,  &lt;br/&gt;&lt;br/&gt;I am encountering a challenge while coding a script in Inquisit and would appreciate your help.  &lt;br/&gt;&lt;br/&gt;In the "Mere Exposure1" section, I need to randomly select three stimuli from the `&amp;lt;item picitems1&amp;gt;` list, but they must have fixed names to facilitate data analysis later:  &lt;br/&gt;1. The first randomly selected stimulus should be named `"Exposed1stimulus"`.  &lt;br/&gt;2. The second randomly selected stimulus, distinct from the first, should be named `"Exposed2stimulus"`.  &lt;br/&gt;3. The third randomly selected stimulus, which should not have been selected in the first two, should be named `"NonExposedstimulus"`.  &lt;br/&gt;&lt;br/&gt;Then, these stimuli must be presented according to a specific protocol:&lt;br/&gt;- `"Exposed1stimulus"` should be presented 10 times to participants.&lt;br/&gt;- `"Exposed2stimulus"` should be presented 2 times.&lt;br/&gt;- The order of these presentations must be randomized.&lt;br/&gt;&lt;br/&gt;Finally, in a later phase, all three stimuli should be evaluated by participants in a Likert-type rating task, as defined in `&amp;lt;likert listimages1&amp;gt;`.&lt;br/&gt;&lt;br/&gt;I have tried different approaches using `&amp;lt;values&amp;gt;` and `&amp;lt;expressions&amp;gt;`, but I have not been able to achieve the expected result. Do you have any suggestions on how to properly structure this selection and presentation in Inquisit?&lt;br/&gt;&lt;br/&gt;Thank you very much for your help!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="38423"&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;Two trial elements exposed1 and exposed2 two picture elements exposed 1 and 2, presented by the exposed1 and exposed2 trial elements respectively. A block sampling the two trials randomly, 12 trials total, 5:1 trial ratio.&lt;br/&gt;&lt;br/&gt;Items for the two picture elements selected using values from a list, set /onexptbegin.&lt;br/&gt;&lt;br/&gt;The likert part analogously.&lt;a class="if-quote-goto quote-link" href="#" data-id="38438"&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;In a nutshell:&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;item picitems1&amp;gt;&lt;br/&gt;/ 1 = "cs1.bmp"&lt;br/&gt;/ 2 = "cs3.bmp"&lt;br/&gt;/ 3 = "cs4.bmp"&lt;br/&gt;/ 4 = "cs5.bmp"&lt;br/&gt;/ 5 = "cs6.bmp"&lt;br/&gt;/ 6 = "cs7.bmp"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list allItems&amp;gt;&lt;br/&gt;/ poolsize = 6 // we have 6 items to choose from&lt;br/&gt;/ selectionrate = always&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ replace = false&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ exposed1Item = 0 // item number of exposed 1 item chosen&lt;br/&gt;/ exposed2Item = 0 // item number of exposed 2 item chosen&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt a&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.exposed1Item = list.allItems.nextindex; // pick item number for exposed 1&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.exposed2Item = list.allItems.nextindex; // pick item number for exposed 2&lt;br/&gt;]&lt;br/&gt;/ blocks = [1=exampleBlock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block exampleBlock&amp;gt;&lt;br/&gt;/ trials = [1-12 = noreplace(exposed1Stimulus, exposed1Stimulus, exposed1Stimulus, exposed1Stimulus, exposed1Stimulus, exposed2Stimulus)] // 12 trials, 5:1 ratio -&amp;gt; 10 exposed 1 trial, 2 exposed 2 trials in random order&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial exposed1Stimulus&amp;gt;&lt;br/&gt;/ stimulusframes = [1=clearScreen, exposed1]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = 2000&lt;br/&gt;/ posttrialpause = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial exposed2Stimulus&amp;gt;&lt;br/&gt;/ stimulusframes = [1=clearScreen, exposed2]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = 2000&lt;br/&gt;/ posttrialpause = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture exposed1&amp;gt;&lt;br/&gt;/ items = picitems1&lt;br/&gt;/ select = values.exposed1Item&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture exposed2&amp;gt;&lt;br/&gt;/ items = picitems1&lt;br/&gt;/ select = values.exposed2Item&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;[/code]&lt;a class="if-quote-goto quote-link" href="#" data-id="38439"&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 very much for your help Dave !</description><pubDate>Thu, 20 Mar 2025 14:38:58 GMT</pubDate><dc:creator>TBParis</dc:creator></item><item><title>RE: Selecting and Randomly Presenting Stimuli with Fixed Names in Inquisit</title><link>https://forums.millisecond.com/Topic38439.aspx</link><description>&lt;blockquote data-id="38438" class="if-quote-wrapper" unselectable="on" data-guid="1742398884798" contenteditable="false" id="if_insertedNode_1742398884268"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="38438" 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="38438" 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="38438" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 3/19/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-38438"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="38423" class="if-quote-wrapper" unselectable="on" data-guid="1742398884798" contenteditable="false" id="if_insertedNode_1742398107828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="38423" 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="38423" 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="38423" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;TBParis - 3/19/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-38423"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello everyone,  &lt;br/&gt;&lt;br/&gt;I am encountering a challenge while coding a script in Inquisit and would appreciate your help.  &lt;br/&gt;&lt;br/&gt;In the "Mere Exposure1" section, I need to randomly select three stimuli from the `&amp;lt;item picitems1&amp;gt;` list, but they must have fixed names to facilitate data analysis later:  &lt;br/&gt;1. The first randomly selected stimulus should be named `"Exposed1stimulus"`.  &lt;br/&gt;2. The second randomly selected stimulus, distinct from the first, should be named `"Exposed2stimulus"`.  &lt;br/&gt;3. The third randomly selected stimulus, which should not have been selected in the first two, should be named `"NonExposedstimulus"`.  &lt;br/&gt;&lt;br/&gt;Then, these stimuli must be presented according to a specific protocol:&lt;br/&gt;- `"Exposed1stimulus"` should be presented 10 times to participants.&lt;br/&gt;- `"Exposed2stimulus"` should be presented 2 times.&lt;br/&gt;- The order of these presentations must be randomized.&lt;br/&gt;&lt;br/&gt;Finally, in a later phase, all three stimuli should be evaluated by participants in a Likert-type rating task, as defined in `&amp;lt;likert listimages1&amp;gt;`.&lt;br/&gt;&lt;br/&gt;I have tried different approaches using `&amp;lt;values&amp;gt;` and `&amp;lt;expressions&amp;gt;`, but I have not been able to achieve the expected result. Do you have any suggestions on how to properly structure this selection and presentation in Inquisit?&lt;br/&gt;&lt;br/&gt;Thank you very much for your help!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="38423"&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;Two trial elements exposed1 and exposed2 two picture elements exposed 1 and 2, presented by the exposed1 and exposed2 trial elements respectively. A block sampling the two trials randomly, 12 trials total, 5:1 trial ratio.&lt;br/&gt;&lt;br/&gt;Items for the two picture elements selected using values from a list, set /onexptbegin.&lt;br/&gt;&lt;br/&gt;The likert part analogously.&lt;a class="if-quote-goto quote-link" href="#" data-id="38438"&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;In a nutshell:&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;item picitems1&amp;gt;&lt;br/&gt;/ 1 = "cs1.bmp"&lt;br/&gt;/ 2 = "cs3.bmp"&lt;br/&gt;/ 3 = "cs4.bmp"&lt;br/&gt;/ 4 = "cs5.bmp"&lt;br/&gt;/ 5 = "cs6.bmp"&lt;br/&gt;/ 6 = "cs7.bmp"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list allItems&amp;gt;&lt;br/&gt;/ poolsize = 6 // we have 6 items to choose from&lt;br/&gt;/ selectionrate = always&lt;br/&gt;/ selectionmode = random&lt;br/&gt;/ replace = false&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ exposed1Item = 0 // item number of exposed 1 item chosen&lt;br/&gt;/ exposed2Item = 0 // item number of exposed 2 item chosen&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expt a&amp;gt;&lt;br/&gt;/ onexptbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.exposed1Item = list.allItems.nextindex; // pick item number for exposed 1&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;values.exposed2Item = list.allItems.nextindex; // pick item number for exposed 2&lt;br/&gt;]&lt;br/&gt;/ blocks = [1=exampleBlock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block exampleBlock&amp;gt;&lt;br/&gt;/ trials = [1-12 = noreplace(exposed1Stimulus, exposed1Stimulus, exposed1Stimulus, exposed1Stimulus, exposed1Stimulus, exposed2Stimulus)] // 12 trials, 5:1 ratio -&amp;gt; 10 exposed 1 trial, 2 exposed 2 trials in random order&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial exposed1Stimulus&amp;gt;&lt;br/&gt;/ stimulusframes = [1=clearScreen, exposed1]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = 2000&lt;br/&gt;/ posttrialpause = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial exposed2Stimulus&amp;gt;&lt;br/&gt;/ stimulusframes = [1=clearScreen, exposed2]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = 2000&lt;br/&gt;/ posttrialpause = 1000&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture exposed1&amp;gt;&lt;br/&gt;/ items = picitems1&lt;br/&gt;/ select = values.exposed1Item&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture exposed2&amp;gt;&lt;br/&gt;/ items = picitems1&lt;br/&gt;/ select = values.exposed2Item&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;[/code]</description><pubDate>Wed, 19 Mar 2025 15:44:14 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Selecting and Randomly Presenting Stimuli with Fixed Names in Inquisit</title><link>https://forums.millisecond.com/Topic38438.aspx</link><description>&lt;blockquote data-id="38423" class="if-quote-wrapper" unselectable="on" data-guid="1742398108490" contenteditable="false" id="if_insertedNode_1742398107828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="38423" 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="38423" 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="38423" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;TBParis - 3/19/2025&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-38423"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello everyone,  &lt;br/&gt;&lt;br/&gt;I am encountering a challenge while coding a script in Inquisit and would appreciate your help.  &lt;br/&gt;&lt;br/&gt;In the "Mere Exposure1" section, I need to randomly select three stimuli from the `&amp;lt;item picitems1&amp;gt;` list, but they must have fixed names to facilitate data analysis later:  &lt;br/&gt;1. The first randomly selected stimulus should be named `"Exposed1stimulus"`.  &lt;br/&gt;2. The second randomly selected stimulus, distinct from the first, should be named `"Exposed2stimulus"`.  &lt;br/&gt;3. The third randomly selected stimulus, which should not have been selected in the first two, should be named `"NonExposedstimulus"`.  &lt;br/&gt;&lt;br/&gt;Then, these stimuli must be presented according to a specific protocol:&lt;br/&gt;- `"Exposed1stimulus"` should be presented 10 times to participants.&lt;br/&gt;- `"Exposed2stimulus"` should be presented 2 times.&lt;br/&gt;- The order of these presentations must be randomized.&lt;br/&gt;&lt;br/&gt;Finally, in a later phase, all three stimuli should be evaluated by participants in a Likert-type rating task, as defined in `&amp;lt;likert listimages1&amp;gt;`.&lt;br/&gt;&lt;br/&gt;I have tried different approaches using `&amp;lt;values&amp;gt;` and `&amp;lt;expressions&amp;gt;`, but I have not been able to achieve the expected result. Do you have any suggestions on how to properly structure this selection and presentation in Inquisit?&lt;br/&gt;&lt;br/&gt;Thank you very much for your help!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="38423"&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;Two trial elements exposed1 and exposed2 two picture elements exposed 1 and 2, presented by the exposed1 and exposed2 trial elements respectively. A block sampling the two trials randomly, 12 trials total, 5:1 trial ratio.&lt;br/&gt;&lt;br/&gt;Items for the two picture elements selected using values from a list, set /onexptbegin.&lt;br/&gt;&lt;br/&gt;The likert part analogously.</description><pubDate>Wed, 19 Mar 2025 15:31:24 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>