﻿<?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  » Nested lists, random choice of 3 words horizontally</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sun, 21 Jun 2026 00:16:48 GMT</lastBuildDate><ttl>20</ttl><item><title>Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26831.aspx</link><description>Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 23 Apr 2019 13:22:05 GMT</pubDate><dc:creator>erzsebet</dc:creator></item><item><title>RE: Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26844.aspx</link><description>&lt;div class="if-quote-wrapper" unselectable="on" data-id="26843" data-guid="1556050834534"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26843"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26843"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26843"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26843"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26842" data-guid="1556050834534"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26842"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26842"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26842"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26842"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26841" data-guid="1556050834534"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26841"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26841"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26841"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26841"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26840" data-guid="1556050834534"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26840"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26840"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26840"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26840"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26838" data-guid="1556050834534"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26838"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26838"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26838"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26838"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26837" data-guid="1556050834534"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26837"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26837"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26837"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26837"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26836" data-guid="1556050834534"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26836"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26836"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26836"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Monday, April 22, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26836"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26831" data-guid="1556050834534"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26831"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26831"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26831"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Saturday, April 20, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26831"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26831"&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;If you want to have a stimulus item broken up across several lines, you need to specify the &amp;lt;text&amp;gt; element's /size and then you can insert line breaks:&lt;br/&gt;&lt;br/&gt;&amp;lt;text example&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ size = (25%, 20%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "A~nB~nC"&lt;br/&gt;/ 2 = "D~nE~nF"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26836"&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;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Dear Dave,&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;It seems that I did not explain my problem clearly enough.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;I would like to show three-s of words horizontally. The answerer should click on one of three keys, according to the position of the word on the screen, but only one is correct.&lt;/span&gt;&lt;div&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;If the leftside word is the correct choice, the answerer shoud press "b", if the word on&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;the right side&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;&amp;nbsp;is the correct choice the answere should press "j", and "h" for the middle word.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Is it possible to randomize the order of three horizontal words shown at the same time, and getting the correct answer by key-press?&lt;/span&gt;&lt;div&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/item&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thank you for your help,&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26837"&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;Yes, I have answered that question in the thread where you posted that question, here: &lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;https://www.millisecond.com/forums/FindPost26834.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26838"&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;Dear Dave,&lt;br/&gt;After your answer I am able to assign the correct answers, if there is no randomization inside the items,&lt;br/&gt;But I still do not understand whether I can do any randomization between the three words shown horizontally together at the same time.&lt;br/&gt;For example&amp;nbsp; item /1 "Aa Ac Ab" or "Ac Ab Aa" or Ab Ac Aa" or "Aa Ab Ac" or" Ac Aa Ab" or "Ab Aa Ac" , and similarly with /items 2-5&lt;br/&gt;&lt;br/&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma" style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;br/&gt;&lt;/span&gt;&lt;font face="arial, tahoma" style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;Can I show the three A-s (and the three B-s, and the three C-s...) in a horizontal line in a randomized order?&lt;br/&gt;&lt;br/&gt;Thank you for your help,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26840"&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 randomize them, but you cannot do so when you have them in a single &amp;lt;item&amp;gt; element displayed by a single &amp;lt;text&amp;gt; element. What you need is three &amp;lt;text&amp;gt; elements, and then randomize the three text elements' hoizontal position:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ targetx = 0%&lt;br/&gt;/ distractor1x = 0%&lt;br/&gt;/ distractor2x = 0%&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-3 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.targetx = list.x.nextvalue;&lt;br/&gt;values.distractor1x = list.x.nextvalue;&lt;br/&gt;values.distractor2x = list.x.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=target, distractor1, distractor2]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (target, distractor1, distractor2)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list x&amp;gt;&lt;br/&gt;/ items = (40%, 50%, 60%)&lt;br/&gt;/ selectionrate = always &lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text target&amp;gt;&lt;br/&gt;/ items = targetitems&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.targetx&lt;br/&gt;/ select = noreplace&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor1&amp;gt;&lt;br/&gt;/ items = distractor1items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor1x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor2&amp;gt;&lt;br/&gt;/ items = distractor2items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor2x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetitems&amp;gt;&lt;br/&gt;/ 1 = "Target A"&lt;br/&gt;/ 2 = "Target B"&lt;br/&gt;/ 3 = "Target C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor1items&amp;gt;&lt;br/&gt;/ 1 = "Distractor1 A"&lt;br/&gt;/ 2 = "Distractor1 B"&lt;br/&gt;/ 3 = "Distractor1 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor2items&amp;gt;&lt;br/&gt;/ 1 = "Distractor2 A"&lt;br/&gt;/ 2 = "Distractor2 B"&lt;br/&gt;/ 3 = "Distractor2 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26841"&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;div dir="ltr"&gt;Thank you, Dave,&lt;/div&gt;&lt;div dir="ltr"&gt;the randomizations work.&lt;/div&gt;&lt;div dir="ltr"&gt;&lt;br/&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;But I still have one problem left:&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;If I use the mouse as an input device I can add " / iscorrectresponse = [target] " and the correct answer will be recorded.&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;However, if I use the keyboard as the input device and pressing certain keys (2,3,4 as standing for "'1","2","3") indicate the position of the target I do not know how to define the correct answer.&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Can you help me with this problem too?&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Thank you!&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;/div&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26842"&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 too can easily be done per /iscorrectresponse:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ targetx = 0%&lt;br/&gt;/ distractor1x = 0%&lt;br/&gt;/ distractor2x = 0%&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-3 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.targetx = list.x.nextvalue;&lt;br/&gt;values.distractor1x = list.x.nextvalue;&lt;br/&gt;values.distractor2x = list.x.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=target, distractor1, distractor2]&lt;br/&gt;&lt;strong&gt;/ inputdevice = keyboard&lt;br/&gt;/ validresponse = (2,3,4)&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;/ iscorrectresponse = [&lt;br/&gt;(values.targetx == 40% &amp;amp;&amp;amp; trial.mytrial.response == 2) || &lt;br/&gt;(values.targetx == 50% &amp;amp;&amp;amp; trial.mytrial.response == 3) ||&lt;br/&gt;(values.targetx == 60% &amp;amp;&amp;amp; trial.mytrial.response == 4)&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;/ correctmessage = true(cmsg,1000)&lt;br/&gt;/ errormessage = true(emsg, 1000)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list x&amp;gt;&lt;br/&gt;/ items = (40%, 50%, 60%)&lt;br/&gt;/ selectionrate = always &lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text target&amp;gt;&lt;br/&gt;/ items = targetitems&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.targetx&lt;br/&gt;/ select = noreplace&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor1&amp;gt;&lt;br/&gt;/ items = distractor1items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor1x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor2&amp;gt;&lt;br/&gt;/ items = distractor2items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor2x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetitems&amp;gt;&lt;br/&gt;/ 1 = "Target A"&lt;br/&gt;/ 2 = "Target B"&lt;br/&gt;/ 3 = "Target C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor1items&amp;gt;&lt;br/&gt;/ 1 = "Distractor1 A"&lt;br/&gt;/ 2 = "Distractor1 B"&lt;br/&gt;/ 3 = "Distractor1 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor2items&amp;gt;&lt;br/&gt;/ 1 = "Distractor2 A"&lt;br/&gt;/ 2 = "Distractor2 B"&lt;br/&gt;/ 3 = "Distractor2 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text cmsg&amp;gt;&lt;br/&gt;/ items = ("CORRECT")&lt;br/&gt;/ txcolor = green&lt;br/&gt;/ position = (50%, 75%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text emsg&amp;gt;&lt;br/&gt;/ items = ("ERROR")&lt;br/&gt;/ txcolor = red&lt;br/&gt;/ position = (50%, 75%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26843"&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;Thank you!&lt;br/&gt;</description><pubDate>Tue, 23 Apr 2019 13:22:05 GMT</pubDate><dc:creator>erzsebet</dc:creator></item><item><title>RE: Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26843.aspx</link><description>&lt;div data-id="26842" class="if-quote-wrapper" unselectable="on" data-guid="1556041353773"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26842" 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="26842" 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="26842" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 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-26842"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26841" data-guid="1556041353773"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26841" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26841" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26841"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26841"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26840" data-guid="1556041353773"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26840" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26840" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26840"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26840"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26838" data-guid="1556041353773"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26838" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26838" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26838"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26838"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26837" data-guid="1556041353773"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26837" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26837" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26837"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26837"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26836" data-guid="1556041353773"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26836" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26836" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26836"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Monday, April 22, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26836"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26831" data-guid="1556041353773"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26831" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26831" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26831"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Saturday, April 20, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26831"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26831"&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;If you want to have a stimulus item broken up across several lines, you need to specify the &amp;lt;text&amp;gt; element's /size and then you can insert line breaks:&lt;br/&gt;&lt;br/&gt;&amp;lt;text example&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ size = (25%, 20%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "A~nB~nC"&lt;br/&gt;/ 2 = "D~nE~nF"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26836"&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;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Dear Dave,&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;It seems that I did not explain my problem clearly enough.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;I would like to show three-s of words horizontally. The answerer should click on one of three keys, according to the position of the word on the screen, but only one is correct.&lt;/span&gt;&lt;div&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;If the leftside word is the correct choice, the answerer shoud press "b", if the word on&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;the right side&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;&amp;nbsp;is the correct choice the answere should press "j", and "h" for the middle word.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Is it possible to randomize the order of three horizontal words shown at the same time, and getting the correct answer by key-press?&lt;/span&gt;&lt;div&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/item&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thank you for your help,&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26837"&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;Yes, I have answered that question in the thread where you posted that question, here: &lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;https://www.millisecond.com/forums/FindPost26834.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26838"&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;Dear Dave,&lt;br/&gt;After your answer I am able to assign the correct answers, if there is no randomization inside the items,&lt;br/&gt;But I still do not understand whether I can do any randomization between the three words shown horizontally together at the same time.&lt;br/&gt;For example&amp;nbsp; item /1 "Aa Ac Ab" or "Ac Ab Aa" or Ab Ac Aa" or "Aa Ab Ac" or" Ac Aa Ab" or "Ab Aa Ac" , and similarly with /items 2-5&lt;br/&gt;&lt;br/&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;br/&gt;&lt;/span&gt;&lt;font style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;Can I show the three A-s (and the three B-s, and the three C-s...) in a horizontal line in a randomized order?&lt;br/&gt;&lt;br/&gt;Thank you for your help,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26840"&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 randomize them, but you cannot do so when you have them in a single &amp;lt;item&amp;gt; element displayed by a single &amp;lt;text&amp;gt; element. What you need is three &amp;lt;text&amp;gt; elements, and then randomize the three text elements' hoizontal position:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ targetx = 0%&lt;br/&gt;/ distractor1x = 0%&lt;br/&gt;/ distractor2x = 0%&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-3 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.targetx = list.x.nextvalue;&lt;br/&gt;values.distractor1x = list.x.nextvalue;&lt;br/&gt;values.distractor2x = list.x.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=target, distractor1, distractor2]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (target, distractor1, distractor2)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list x&amp;gt;&lt;br/&gt;/ items = (40%, 50%, 60%)&lt;br/&gt;/ selectionrate = always &lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text target&amp;gt;&lt;br/&gt;/ items = targetitems&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.targetx&lt;br/&gt;/ select = noreplace&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor1&amp;gt;&lt;br/&gt;/ items = distractor1items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor1x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor2&amp;gt;&lt;br/&gt;/ items = distractor2items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor2x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetitems&amp;gt;&lt;br/&gt;/ 1 = "Target A"&lt;br/&gt;/ 2 = "Target B"&lt;br/&gt;/ 3 = "Target C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor1items&amp;gt;&lt;br/&gt;/ 1 = "Distractor1 A"&lt;br/&gt;/ 2 = "Distractor1 B"&lt;br/&gt;/ 3 = "Distractor1 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor2items&amp;gt;&lt;br/&gt;/ 1 = "Distractor2 A"&lt;br/&gt;/ 2 = "Distractor2 B"&lt;br/&gt;/ 3 = "Distractor2 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26841"&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;div dir="ltr"&gt;Thank you, Dave,&lt;/div&gt;&lt;div dir="ltr"&gt;the randomizations work.&lt;/div&gt;&lt;div dir="ltr"&gt;&lt;br/&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;But I still have one problem left:&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;If I use the mouse as an input device I can add " / iscorrectresponse = [target] " and the correct answer will be recorded.&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;However, if I use the keyboard as the input device and pressing certain keys (2,3,4 as standing for "'1","2","3") indicate the position of the target I do not know how to define the correct answer.&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Can you help me with this problem too?&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Thank you!&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;/div&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26842"&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 too can easily be done per /iscorrectresponse:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ targetx = 0%&lt;br/&gt;/ distractor1x = 0%&lt;br/&gt;/ distractor2x = 0%&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-3 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.targetx = list.x.nextvalue;&lt;br/&gt;values.distractor1x = list.x.nextvalue;&lt;br/&gt;values.distractor2x = list.x.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=target, distractor1, distractor2]&lt;br/&gt;&lt;strong&gt;/ inputdevice = keyboard&lt;br/&gt;/ validresponse = (2,3,4)&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;/ iscorrectresponse = [&lt;br/&gt;(values.targetx == 40% &amp;amp;&amp;amp; trial.mytrial.response == 2) || &lt;br/&gt;(values.targetx == 50% &amp;amp;&amp;amp; trial.mytrial.response == 3) ||&lt;br/&gt;(values.targetx == 60% &amp;amp;&amp;amp; trial.mytrial.response == 4)&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;/ correctmessage = true(cmsg,1000)&lt;br/&gt;/ errormessage = true(emsg, 1000)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list x&amp;gt;&lt;br/&gt;/ items = (40%, 50%, 60%)&lt;br/&gt;/ selectionrate = always &lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text target&amp;gt;&lt;br/&gt;/ items = targetitems&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.targetx&lt;br/&gt;/ select = noreplace&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor1&amp;gt;&lt;br/&gt;/ items = distractor1items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor1x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor2&amp;gt;&lt;br/&gt;/ items = distractor2items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor2x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetitems&amp;gt;&lt;br/&gt;/ 1 = "Target A"&lt;br/&gt;/ 2 = "Target B"&lt;br/&gt;/ 3 = "Target C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor1items&amp;gt;&lt;br/&gt;/ 1 = "Distractor1 A"&lt;br/&gt;/ 2 = "Distractor1 B"&lt;br/&gt;/ 3 = "Distractor1 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor2items&amp;gt;&lt;br/&gt;/ 1 = "Distractor2 A"&lt;br/&gt;/ 2 = "Distractor2 B"&lt;br/&gt;/ 3 = "Distractor2 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text cmsg&amp;gt;&lt;br/&gt;/ items = ("CORRECT")&lt;br/&gt;/ txcolor = green&lt;br/&gt;/ position = (50%, 75%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text emsg&amp;gt;&lt;br/&gt;/ items = ("ERROR")&lt;br/&gt;/ txcolor = red&lt;br/&gt;/ position = (50%, 75%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 23 Apr 2019 10:47:03 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26842.aspx</link><description>&lt;div class="if-quote-wrapper" unselectable="on" data-id="26841" data-guid="1556037670406"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26841"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26841"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26841"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26841"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26840" data-guid="1556037670406"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26840"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26840"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26840"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26840"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26838" data-guid="1556037670406"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26838"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26838"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26838"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26838"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26837" data-guid="1556037670406"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26837"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26837"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26837"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26837"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26836" data-guid="1556037670406"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26836"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26836"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26836"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Monday, April 22, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26836"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26831" data-guid="1556037670406"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26831"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26831"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26831"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Saturday, April 20, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26831"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26831"&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;If you want to have a stimulus item broken up across several lines, you need to specify the &amp;lt;text&amp;gt; element's /size and then you can insert line breaks:&lt;br/&gt;&lt;br/&gt;&amp;lt;text example&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ size = (25%, 20%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "A~nB~nC"&lt;br/&gt;/ 2 = "D~nE~nF"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26836"&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;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Dear Dave,&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;It seems that I did not explain my problem clearly enough.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;I would like to show three-s of words horizontally. The answerer should click on one of three keys, according to the position of the word on the screen, but only one is correct.&lt;/span&gt;&lt;div&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;If the leftside word is the correct choice, the answerer shoud press "b", if the word on&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;the right side&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;&amp;nbsp;is the correct choice the answere should press "j", and "h" for the middle word.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Is it possible to randomize the order of three horizontal words shown at the same time, and getting the correct answer by key-press?&lt;/span&gt;&lt;div&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/item&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thank you for your help,&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26837"&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;Yes, I have answered that question in the thread where you posted that question, here: &lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;https://www.millisecond.com/forums/FindPost26834.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26838"&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;Dear Dave,&lt;br/&gt;After your answer I am able to assign the correct answers, if there is no randomization inside the items,&lt;br/&gt;But I still do not understand whether I can do any randomization between the three words shown horizontally together at the same time.&lt;br/&gt;For example&amp;nbsp; item /1 "Aa Ac Ab" or "Ac Ab Aa" or Ab Ac Aa" or "Aa Ab Ac" or" Ac Aa Ab" or "Ab Aa Ac" , and similarly with /items 2-5&lt;br/&gt;&lt;br/&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma" style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;br/&gt;&lt;/span&gt;&lt;font face="arial, tahoma" style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;Can I show the three A-s (and the three B-s, and the three C-s...) in a horizontal line in a randomized order?&lt;br/&gt;&lt;br/&gt;Thank you for your help,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26840"&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 randomize them, but you cannot do so when you have them in a single &amp;lt;item&amp;gt; element displayed by a single &amp;lt;text&amp;gt; element. What you need is three &amp;lt;text&amp;gt; elements, and then randomize the three text elements' hoizontal position:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ targetx = 0%&lt;br/&gt;/ distractor1x = 0%&lt;br/&gt;/ distractor2x = 0%&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-3 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.targetx = list.x.nextvalue;&lt;br/&gt;values.distractor1x = list.x.nextvalue;&lt;br/&gt;values.distractor2x = list.x.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=target, distractor1, distractor2]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (target, distractor1, distractor2)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list x&amp;gt;&lt;br/&gt;/ items = (40%, 50%, 60%)&lt;br/&gt;/ selectionrate = always &lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text target&amp;gt;&lt;br/&gt;/ items = targetitems&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.targetx&lt;br/&gt;/ select = noreplace&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor1&amp;gt;&lt;br/&gt;/ items = distractor1items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor1x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor2&amp;gt;&lt;br/&gt;/ items = distractor2items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor2x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetitems&amp;gt;&lt;br/&gt;/ 1 = "Target A"&lt;br/&gt;/ 2 = "Target B"&lt;br/&gt;/ 3 = "Target C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor1items&amp;gt;&lt;br/&gt;/ 1 = "Distractor1 A"&lt;br/&gt;/ 2 = "Distractor1 B"&lt;br/&gt;/ 3 = "Distractor1 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor2items&amp;gt;&lt;br/&gt;/ 1 = "Distractor2 A"&lt;br/&gt;/ 2 = "Distractor2 B"&lt;br/&gt;/ 3 = "Distractor2 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26841"&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;div dir="ltr"&gt;Thank you, Dave,&lt;/div&gt;&lt;div dir="ltr"&gt;the randomizations work.&lt;/div&gt;&lt;div dir="ltr"&gt;&lt;br/&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;But I still have one problem left:&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;If I use the mouse as an input device I can add " / iscorrectresponse = [target] " and the correct answer will be recorded.&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;However, if I use the keyboard as the input device and pressing certain keys (2,3,4 as standing for "'1","2","3") indicate the position of the target I do not know how to define the correct answer.&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;br/&gt;&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Can you help me with this problem too?&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Thank you!&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;/div&gt;&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;</description><pubDate>Tue, 23 Apr 2019 09:42:44 GMT</pubDate><dc:creator>erzsebet</dc:creator></item><item><title>RE: Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26841.aspx</link><description>&lt;div data-id="26840" class="if-quote-wrapper" unselectable="on" data-guid="1556028464260"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26840" 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="26840" 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="26840" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 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-26840"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26838" data-guid="1556028464260"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26838" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26838" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26838"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26838"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26837" data-guid="1556028464260"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26837" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26837" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26837"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26837"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26836" data-guid="1556028464260"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26836" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26836" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26836"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Monday, April 22, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26836"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26831" data-guid="1556028464260"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26831" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26831" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26831"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Saturday, April 20, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26831"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26831"&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;If you want to have a stimulus item broken up across several lines, you need to specify the &amp;lt;text&amp;gt; element's /size and then you can insert line breaks:&lt;br/&gt;&lt;br/&gt;&amp;lt;text example&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ size = (25%, 20%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "A~nB~nC"&lt;br/&gt;/ 2 = "D~nE~nF"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26836"&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;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Dear Dave,&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;It seems that I did not explain my problem clearly enough.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;I would like to show three-s of words horizontally. The answerer should click on one of three keys, according to the position of the word on the screen, but only one is correct.&lt;/span&gt;&lt;div&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;If the leftside word is the correct choice, the answerer shoud press "b", if the word on&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;the right side&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;&amp;nbsp;is the correct choice the answere should press "j", and "h" for the middle word.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Is it possible to randomize the order of three horizontal words shown at the same time, and getting the correct answer by key-press?&lt;/span&gt;&lt;div&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/item&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thank you for your help,&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26837"&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;Yes, I have answered that question in the thread where you posted that question, here: &lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;https://www.millisecond.com/forums/FindPost26834.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26838"&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;Dear Dave,&lt;br/&gt;After your answer I am able to assign the correct answers, if there is no randomization inside the items,&lt;br/&gt;But I still do not understand whether I can do any randomization between the three words shown horizontally together at the same time.&lt;br/&gt;For example&amp;nbsp; item /1 "Aa Ac Ab" or "Ac Ab Aa" or Ab Ac Aa" or "Aa Ab Ac" or" Ac Aa Ab" or "Ab Aa Ac" , and similarly with /items 2-5&lt;br/&gt;&lt;br/&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;br/&gt;&lt;/span&gt;&lt;font style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;" face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;Can I show the three A-s (and the three B-s, and the three C-s...) in a horizontal line in a randomized order?&lt;br/&gt;&lt;br/&gt;Thank you for your help,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26840"&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 randomize them, but you cannot do so when you have them in a single &amp;lt;item&amp;gt; element displayed by a single &amp;lt;text&amp;gt; element. What you need is three &amp;lt;text&amp;gt; elements, and then randomize the three text elements' hoizontal position:&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ targetx = 0%&lt;br/&gt;/ distractor1x = 0%&lt;br/&gt;/ distractor2x = 0%&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-3 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;values.targetx = list.x.nextvalue;&lt;br/&gt;values.distractor1x = list.x.nextvalue;&lt;br/&gt;values.distractor2x = list.x.nextvalue;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=target, distractor1, distractor2]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (target, distractor1, distractor2)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list x&amp;gt;&lt;br/&gt;/ items = (40%, 50%, 60%)&lt;br/&gt;/ selectionrate = always &lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text target&amp;gt;&lt;br/&gt;/ items = targetitems&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.targetx&lt;br/&gt;/ select = noreplace&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor1&amp;gt;&lt;br/&gt;/ items = distractor1items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor1x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text distractor2&amp;gt;&lt;br/&gt;/ items = distractor2items&lt;br/&gt;/ vposition = 50%&lt;br/&gt;/ hposition = values.distractor2x&lt;br/&gt;/ select = text.target.currentitemnumber&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item targetitems&amp;gt;&lt;br/&gt;/ 1 = "Target A"&lt;br/&gt;/ 2 = "Target B"&lt;br/&gt;/ 3 = "Target C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor1items&amp;gt;&lt;br/&gt;/ 1 = "Distractor1 A"&lt;br/&gt;/ 2 = "Distractor1 B"&lt;br/&gt;/ 3 = "Distractor1 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item distractor2items&amp;gt;&lt;br/&gt;/ 1 = "Distractor2 A"&lt;br/&gt;/ 2 = "Distractor2 B"&lt;br/&gt;/ 3 = "Distractor2 C"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 23 Apr 2019 07:17:43 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26840.aspx</link><description>&lt;div class="if-quote-wrapper" unselectable="on" data-id="26838" data-guid="1556026001758"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26838"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26838"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26838"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26838"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26837" data-guid="1556026001758"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26837"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26837"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26837"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26837"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26836" data-guid="1556026001758"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26836"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26836"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26836"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Monday, April 22, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26836"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26831" data-guid="1556026001758"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26831"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26831"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26831"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Saturday, April 20, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26831"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26831"&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;If you want to have a stimulus item broken up across several lines, you need to specify the &amp;lt;text&amp;gt; element's /size and then you can insert line breaks:&lt;br/&gt;&lt;br/&gt;&amp;lt;text example&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ size = (25%, 20%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "A~nB~nC"&lt;br/&gt;/ 2 = "D~nE~nF"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26836"&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;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Dear Dave,&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;It seems that I did not explain my problem clearly enough.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;I would like to show three-s of words horizontally. The answerer should click on one of three keys, according to the position of the word on the screen, but only one is correct.&lt;/span&gt;&lt;div&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;If the leftside word is the correct choice, the answerer shoud press "b", if the word on&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;the right side&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;&amp;nbsp;is the correct choice the answere should press "j", and "h" for the middle word.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Is it possible to randomize the order of three horizontal words shown at the same time, and getting the correct answer by key-press?&lt;/span&gt;&lt;div&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/item&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thank you for your help,&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26837"&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;Yes, I have answered that question in the thread where you posted that question, here: &lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;https://www.millisecond.com/forums/FindPost26834.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26838"&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;Dear Dave,&lt;br/&gt;After your answer I am able to assign the correct answers, if there is no randomization inside the items,&lt;br/&gt;But I still do not understand whether I can do any randomization between the three words shown horizontally together at the same time.&lt;br/&gt;For example&amp;nbsp; item /1 "Aa Ac Ab" or "Ac Ab Aa" or Ab Ac Aa" or "Aa Ab Ac" or" Ac Aa Ab" or "Ab Aa Ac" , and similarly with /items 2-5&lt;br/&gt;&lt;br/&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma" style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: arial,tahoma; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;br/&gt;&lt;/span&gt;&lt;font face="arial, tahoma" style="border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div style="background-color: transparent; border-bottom-color: rgb(34, 34, 34); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(34, 34, 34); border-left-style: none; border-left-width: 0px; border-right-color: rgb(34, 34, 34); border-right-style: none; border-right-width: 0px; border-top-color: rgb(34, 34, 34); border-top-style: none; border-top-width: 0px; color: rgb(34, 34, 34); font-family: Arial,Helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;span style="background-color: transparent; border-bottom-color: rgb(0, 0, 0); border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(0, 0, 0); border-left-style: none; border-left-width: 0px; border-right-color: rgb(0, 0, 0); border-right-style: none; border-right-width: 0px; border-top-color: rgb(0, 0, 0); border-top-style: none; border-top-width: 0px; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;Can I show the three A-s (and the three B-s, and the three C-s...) in a horizontal line in a randomized order?&lt;br/&gt;&lt;br/&gt;Thank you for your help,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 23 Apr 2019 06:51:31 GMT</pubDate><dc:creator>erzsebet</dc:creator></item><item><title>RE: Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26838.aspx</link><description>&lt;div data-id="26837" class="if-quote-wrapper" unselectable="on" data-guid="1556022623905"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26837" 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="26837" 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="26837" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;erzsebet - Tuesday, April 23, 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-26837"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26836" data-guid="1556022623905"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26836" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26836" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26836"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Monday, April 22, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26836"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26831" data-guid="1556022623905"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" href="#" unselectable="on" data-id="26831" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" href="#" unselectable="on" data-id="26831" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" unselectable="on" contenteditable="false"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26831"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Saturday, April 20, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26831"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26831"&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;If you want to have a stimulus item broken up across several lines, you need to specify the &amp;lt;text&amp;gt; element's /size and then you can insert line breaks:&lt;br/&gt;&lt;br/&gt;&amp;lt;text example&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ size = (25%, 20%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "A~nB~nC"&lt;br/&gt;/ 2 = "D~nE~nF"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26836"&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;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Dear Dave,&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;It seems that I did not explain my problem clearly enough.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;I would like to show three-s of words horizontally. The answerer should click on one of three keys, according to the position of the word on the screen, but only one is correct.&lt;/span&gt;&lt;div&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;If the leftside word is the correct choice, the answerer shoud press "b", if the word on&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;the right side&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;&amp;nbsp;is the correct choice the answere should press "j", and "h" for the middle word.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Is it possible to randomize the order of three horizontal words shown at the same time, and getting the correct answer by key-press?&lt;/span&gt;&lt;div&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/item&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thank you for your help,&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26837"&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;Yes, I have answered that question in the thread where you posted that question, here: &lt;a href="https://www.millisecond.com/forums/FindPost26834.aspx"&gt;https://www.millisecond.com/forums/FindPost26834.aspx&lt;/a&gt;&lt;br/&gt;</description><pubDate>Tue, 23 Apr 2019 05:31:02 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26837.aspx</link><description>&lt;div class="if-quote-wrapper" unselectable="on" data-id="26836" data-guid="1556020083088"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26836"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26836"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26836"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;Dave - Monday, April 22, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26836"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div class="if-quote-wrapper" unselectable="on" data-id="26831" data-guid="1556020083088"&gt;&lt;a title="Move Cursor Below" class="quote-para" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26831"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a title="Delete Quote" class="quote-delete" style="display: none;" contenteditable="false" href="#" unselectable="on" data-id="26831"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span class="quote-markup" unselectable="on"&gt;[quote]&lt;/span&gt;&lt;div class="if-quote-header" contenteditable="false" unselectable="on"&gt;&lt;div class="if-quote-toggle-wrapper" unselectable="on"&gt;&lt;a title=" " class="if-quote-toggle quote-link" href="#" data-id="26831"&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="quote-markup" unselectable="on"&gt;[b]&lt;/span&gt;erzsebet - Saturday, April 20, 2019&lt;span class="quote-markup" unselectable="on"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26831"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26831"&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;If you want to have a stimulus item broken up across several lines, you need to specify the &amp;lt;text&amp;gt; element's /size and then you can insert line breaks:&lt;br/&gt;&lt;br/&gt;&amp;lt;text example&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ size = (25%, 20%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "A~nB~nC"&lt;br/&gt;/ 2 = "D~nE~nF"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26836"&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;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Dear Dave,&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;It seems that I did not explain my problem clearly enough.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;I would like to show three-s of words horizontally. The answerer should click on one of three keys, according to the position of the word on the screen, but only one is correct.&lt;/span&gt;&lt;div&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;If the leftside word is the correct choice, the answerer shoud press "b", if the word on&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;the right side&lt;/span&gt;&lt;span style="font-family: arial, tahoma; font-size: 13.33px;"&gt;&amp;nbsp;is the correct choice the answere should press "j", and "h" for the middle word.&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;&lt;span style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 13.33px; line-height: 24px; font-family: arial, tahoma;"&gt;Is it possible to randomize the order of three horizontal words shown at the same time, and getting the correct answer by key-press?&lt;/span&gt;&lt;div&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ items = firstwordtriplets&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/text&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 1 = "&amp;nbsp; Aa &amp;nbsp; Ab&amp;nbsp; Ac &amp;nbsp; "&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 2 = "&amp;nbsp; Ba&amp;nbsp; Bb &amp;nbsp; Bc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;br/&gt;&lt;span style="background-color: transparent; color: rgb(102, 102, 102); font-family: arial, tahoma; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;/ 3 = "&amp;nbsp; Cc&amp;nbsp; Cb&amp;nbsp; Cc&amp;nbsp; &amp;nbsp;"&lt;/span&gt;&lt;font face="arial, tahoma"&gt;&lt;/font&gt;/ 4 = "&amp;nbsp; Da&amp;nbsp; Db&amp;nbsp; &amp;nbsp;Dc&amp;nbsp; &amp;nbsp;"&lt;/div&gt;&lt;div&gt;/ 5 = "&amp;nbsp; Ea&amp;nbsp; Eb&amp;nbsp; &amp;nbsp; Ec&amp;nbsp; "&lt;/div&gt;&lt;div&gt;&lt;span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.33px; font-variant-numeric: normal; font-variant-east-asian: normal;"&gt;&amp;lt;/item&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;/div&gt;Thank you for your help,&lt;/div&gt;&lt;div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; 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;"&gt;Erzsebet&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;</description><pubDate>Tue, 23 Apr 2019 04:54:51 GMT</pubDate><dc:creator>erzsebet</dc:creator></item><item><title>RE: Nested lists, random choice of 3 words horizontally</title><link>https://forums.millisecond.com/Topic26836.aspx</link><description>&lt;div data-id="26831" class="if-quote-wrapper" unselectable="on" data-guid="1555936435279"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26831" 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="26831" 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="26831" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;erzsebet - Saturday, April 20, 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-26831"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;I've tried writing a simple script, but I couldn't solve my problem:&lt;br/&gt;&lt;br/&gt;There are two parts of my test.&lt;br/&gt;In the first part I would like to show three words ("triplets") together, horizontally, thirty times. These words should appear in a random order, horizontally, The odd one (according to the instructions in the beginning of the first part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;There are thirty word-triplets, they should come after each other, in a random order.&lt;br/&gt;In the second part I would like to show the same word-triplets, always&amp;nbsp; in a random order horizontally, and, additionally, all thirty of them randomly after each other.&amp;nbsp;The odd one (according to the instructions in the beginning of the second part) should be chosen, by clicking on b, h, or j.&lt;br/&gt;&lt;br/&gt;I managed to write something like this, but I cannot figure out how to write the three words inside the triplets randomly horizontally.&lt;br/&gt;&lt;br/&gt;Can you help me?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;Erzsebet&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Text Stimuli&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;text firstwordtriplets&amp;gt;&lt;br/&gt;/ items = firstwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item firstwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;  elefánt&amp;nbsp;&amp;nbsp;&amp;nbsp;"&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp; kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;&amp;nbsp;narancs&amp;nbsp;&amp;nbsp;körte&amp;nbsp;&amp;nbsp; golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text secondwordtriplets&amp;gt;  &lt;br/&gt;/ items = secondwordtriplets&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item secondwordtriplets&amp;gt;&lt;br/&gt;/ 1 = "&amp;nbsp; repülő&amp;nbsp;&amp;nbsp; seregély&amp;nbsp;&amp;nbsp; elefánt&amp;nbsp;&amp;nbsp;  "&lt;br/&gt;/ 2 = "&amp;nbsp;&amp;nbsp;sapka&amp;nbsp;&amp;nbsp; harang&amp;nbsp;&amp;nbsp;  kendő&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;/ 3 = "&amp;nbsp;  narancs&amp;nbsp;&amp;nbsp; körte&amp;nbsp;&amp;nbsp;  golyó&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text bkey&amp;gt;  &lt;br/&gt;/ items = ("press B if &lt;br/&gt;the left word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (25, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text hkey&amp;gt;  &lt;br/&gt;/ items = ("press H if &lt;br/&gt;the middle word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text jkey&amp;gt;  &lt;br/&gt;/ items = ("press J if &lt;br/&gt;the right word is &lt;br/&gt;the odd one out")&lt;br/&gt;/ position = (75, 75)&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Instructions&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;page intro&amp;gt; &lt;br/&gt;^^^^^^^^Odd one out&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page first&amp;gt;&lt;br/&gt;^^^^^^^^First part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page second&amp;gt;&lt;br/&gt;^^^^^^^^^^Second part, which is the less similar in color?&lt;br/&gt;3 fingers B and H and J, B left, J right, H middle word,&lt;br/&gt;^^^^^^^^^^press "H" to continue&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;page end&amp;gt;  &lt;br/&gt;^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br/&gt;^^^^^^^^&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thank you&lt;br/&gt;&amp;lt;/page&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;instruct&amp;gt;&lt;br/&gt;/ nextkey = ("h")&lt;br/&gt;&amp;lt;/instruct&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Trials&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;trial firstwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=firstwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial secondwordtriplets&amp;gt;  &lt;br/&gt;/ validresponse = ("b", "h", "j")&lt;br/&gt;/ stimulusframes = [1=secondwordtriplets]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating Blocks&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;block first&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(firstwordtriplets)]&lt;br/&gt;/ preinstructions = (first)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block second&amp;gt;&lt;br/&gt;/ trials = [1-3 = noreplace(secondwordtriplets)]&lt;br/&gt;/ preinstructions = (second)&lt;br/&gt;/ bgstim = (bkey, jkey, hkey)&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*************************************************&lt;br/&gt;Creating an Expt&lt;br/&gt;*************************************************&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ preinstructions = (intro)&lt;br/&gt;/ postinstructions = (end)&lt;br/&gt;/ blocks = [1=first; 2=second]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ screencolor = (175, 175, 255)&lt;br/&gt;/ fontstyle = ("Courier New", 14pt)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26831"&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;If you want to have a stimulus item broken up across several lines, you need to specify the &amp;lt;text&amp;gt; element's /size and then you can insert line breaks:&lt;br/&gt;&lt;br/&gt;&amp;lt;text example&amp;gt;&lt;br/&gt;/ items = exampleitems&lt;br/&gt;/ size = (25%, 20%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;item exampleitems&amp;gt;&lt;br/&gt;/ 1 = "A~nB~nC"&lt;br/&gt;/ 2 = "D~nE~nF"&lt;br/&gt;&amp;lt;/item&amp;gt;&lt;br/&gt;</description><pubDate>Mon, 22 Apr 2019 05:36:19 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>