﻿<?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 3  » visual analogue scale?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Wed, 22 Apr 2026 20:19:01 GMT</lastBuildDate><ttl>20</ttl><item><title>visual analogue scale?</title><link>https://forums.millisecond.com/Topic2345.aspx</link><description>Hey there!&lt;br&gt;&lt;br&gt;Could someone tell me if it is possible (and easy) to create a visual analogue scale in Inquisit version 3? In an older post (from 2007) someone asked the same question, and there the answer was that such a tool would be soon included in a newer version of Inquisit. So I was wondering if this is included in Inquisit 3, and if so, how...&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;&lt;br&gt;Annemarie&lt;br&gt;</description><pubDate>Wed, 31 May 2017 12:51:27 GMT</pubDate><dc:creator>Annemarie</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21744.aspx</link><description>&lt;div data-id="21734" class="if-quote-wrapper" unselectable="on" data-guid="1496260114570"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21734" 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="21734" 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="21734" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Wednesday, May 31, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21734"&gt;&lt;div class="if-quote-message-margin"&gt;Hey Dave,&lt;br/&gt;&lt;br/&gt;I still got trouble with my data Output. Somehow Inqusit copies the text.scale.currentitem and all other responses in all lines of the Output and not just for the line in which it is needed. &lt;br/&gt;I include the output and&amp;nbsp;the data specification&amp;nbsp;for clarification of the issue. &lt;br/&gt;Would be great if you could be of assistance.&lt;br/&gt;&lt;br/&gt;Thank you! &lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [subject, date, time, blockcode, trialcode, trialnum,latency, textbox.Alter.response, radiobuttons.Geschlecht.response, radiobuttons.Student.response, textbox.Taetigkeit.response, radiobuttons.Deutschkenntnisse.response, radiobuttons.Muttersprache.response, radiobuttons.Hoervermoegen.response, textbox.ahb.response, radiobuttons.Sehvermoegen.response, radiobuttons.Medikamente.response, textbox.am.response, text.swls.currentitem, text.cses.currentitem, text.panas.currentitem,expressions.correctedscore]&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21734"&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;The data output is as it is supposed to be. text.cses.currentitem reflects the current item selected in &amp;lt;text cses&amp;gt;. This does not change just because the trial a given row reflects is not from the cses scale.&lt;br/&gt;</description><pubDate>Wed, 31 May 2017 12:51:27 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title /><link>https://forums.millisecond.com/Topic21734.aspx</link><description>Hey Dave,&lt;br/&gt;&lt;br/&gt;I still got trouble with my data Output. Somehow Inqusit copies the text.scale.currentitem and all other responses in all lines of the Output and not just for the line in which it is needed. &lt;br/&gt;I include the output and&amp;nbsp;the data specification&amp;nbsp;for clarification of the issue. &lt;br/&gt;Would be great if you could be of assistance.&lt;br/&gt;&lt;br/&gt;Thank you! &lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [subject, date, time, blockcode, trialcode, trialnum,latency, textbox.Alter.response, radiobuttons.Geschlecht.response, radiobuttons.Student.response, textbox.Taetigkeit.response, radiobuttons.Deutschkenntnisse.response, radiobuttons.Muttersprache.response, radiobuttons.Hoervermoegen.response, textbox.ahb.response, radiobuttons.Sehvermoegen.response, radiobuttons.Medikamente.response, textbox.am.response, text.swls.currentitem, text.cses.currentitem, text.panas.currentitem,expressions.correctedscore]&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;</description><pubDate>Wed, 31 May 2017 08:21:09 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21453.aspx</link><description>&lt;div data-id="21439" class="if-quote-wrapper" unselectable="on" data-guid="1493286851014"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21439" 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="21439" 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="21439" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21439"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21437" class="if-quote-wrapper" unselectable="on" data-guid="1493286851014"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21437" 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="21437" 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="21437" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21437"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21436" class="if-quote-wrapper" unselectable="on" data-guid="1493286851014"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21436" 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="21436" 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="21436" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21436"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21435" class="if-quote-wrapper" unselectable="on" data-guid="1493286851014"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21435" 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="21435" 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="21435" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21435"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21428" class="if-quote-wrapper" unselectable="on" data-guid="1493286851014"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21428" 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="21428" 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="21428" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21428"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21427" class="if-quote-wrapper" unselectable="on" data-guid="1493286851014"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21427" 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="21427" 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="21427" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21427"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you for your help so far! :)&lt;br/&gt;I still got some issues with my script. So I used your Visual Analogue Scale as a basis but created multiple different Scales within the script. There are three different experimental groups and two Scales for each group. The first group has to answer the same questions again while seeing their old answer, so I used your VisualAnalogueScale_Repeat trial. For the other two groups i used independent VASs, because they are not supposed to see their old answer. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Now I have some trouble with the dataframe. I suppose they yield from the fact that I haven´t definded &amp;lt;expressions&amp;gt; more than once and consequently there is no link to the trials and Inquisit has problems saving the results. &amp;nbsp;&lt;br/&gt;I tried to fix that myself using your examples but was confused, because in your sample script for the Visual Analogue Scale you used &amp;nbsp;&lt;strong&gt;trial.VisualAnalogueScale.responsex&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = &lt;strong&gt;(trial.VisualAnalogueScale.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;and then there was no further definition in the Visual Analogue Trial. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=eraser,question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When I asked you about the Repetition Scale you used &lt;strong&gt;values.responsex&lt;/strong&gt; and that was defined again within the trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (&lt;strong&gt;values.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Obviously both ways worked out fine in your scripts, I was just wondering about which to use for my script. I could also imagine that it´s different whether I use a simple VAS or the VAS_Repeat Trial?&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;And do I guess right, that I would also have to include the newly defined expressions in the &amp;lt;data&amp;gt; colums?&amp;nbsp;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;I hope I could make my point. Would be great if you could give me a hint. Thank you in advance! :)&amp;nbsp;&lt;br/&gt;&lt;br/&gt;For further clarification I´ll include my script.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21427"&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;values.responsex is a global variable. It isn't necessary to calculate the corrected score in the original script because there is only one &amp;lt;trial&amp;gt; element whose response that calculation is based on -- &amp;lt;trial visualanaloguescale&amp;gt;.&lt;br/&gt;&lt;br/&gt;In your script, however, you want to make use of the x coordinate stemming from multiple, *different* trial elements. Hence you store the appropriate x coordinate in the global variable as in &lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and use the variable -- values.responsex -- in the expression. You can see this script attached to my previous response:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;https://www.millisecond.com/forums/FindPost21395.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;CSESScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.CSESXstore.item = trial.CSESScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.CSESScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;PANASScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.PANASXstore.item = trial.PANASScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.PANASScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth.&lt;br/&gt;&lt;br/&gt;And yes, if you define additional expressions and want them logged, you need to add them to the &amp;lt;data&amp;gt; element's /columns attribute.&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21428"&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;Ah, I see. Thank you! But if I get you right and only change the definition of&amp;nbsp;&lt;span style="font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; text-align: left; background-color: rgb(255, 255, 255); float: none; display: inline !important;"&gt;values.responseX for each trial but don´t change anything in the &amp;lt;expressions&amp;gt;, how can I logg the different scales in the data element?&amp;nbsp;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21435"&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 should have all the information you need in the data file if you log the expression. The blockcode and trialcode columns tell you the scale, the logged item numbers and items tell you the scale item, etc. You can aggregate that data as needed. If you want anything beyond that (e.g. variables that sum up the responses by scale), you need to build it into the script and log it.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21436"&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;I am sorry, but I suppose I still don´t get it right. Inquisit is new for me and I have newer programmed before, so excuse me please, if I ask a lot of questions. &lt;br/&gt;&amp;nbsp;So obviously when using the trial with the counter element (as in your script) I can define the values.responsex and then the data is logged seperatly via the &amp;lt;expression&amp;gt; term.&amp;nbsp;&lt;br/&gt;In my script I also use a simple Visual Analogue Scale with no counter element. It is not clear to me right now, how I can define properly where those responses are logged. I thought I would need &amp;lt;expressions&amp;gt; for that too? If that is the case, do I have to add something to the trial itself or the &amp;lt;expressions&amp;gt; term?&lt;a class="if-quote-goto quote-link" href="#" data-id="21437"&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 have a raw data file. This provides the trial-by-trial record. If you look at the trialcode column (and those mentioned previously), you see what "scale" a given trial (i.e. line in the data file) belonged to. The value of the expression logged in that same line represents the response to that scale item. Does that clarify?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21439"&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;Actually that was clear to me.&amp;nbsp;&lt;br/&gt;Anyway it works out now, I suppose all problems were due to stupid thinking errors on my part. Thank you for your help! &amp;nbsp;</description><pubDate>Thu, 27 Apr 2017 02:57:26 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21439.aspx</link><description>&lt;div data-id="21437" class="if-quote-wrapper" unselectable="on" data-guid="1493243206520"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21437" 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="21437" 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="21437" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21437"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21436" class="if-quote-wrapper" unselectable="on" data-guid="1493243206520"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21436" 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="21436" 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="21436" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21436"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21435" class="if-quote-wrapper" unselectable="on" data-guid="1493243206520"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21435" 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="21435" 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="21435" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21435"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21428" class="if-quote-wrapper" unselectable="on" data-guid="1493243206520"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21428" 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="21428" 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="21428" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21428"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21427" class="if-quote-wrapper" unselectable="on" data-guid="1493243206520"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21427" 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="21427" 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="21427" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21427"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you for your help so far! :)&lt;br/&gt;I still got some issues with my script. So I used your Visual Analogue Scale as a basis but created multiple different Scales within the script. There are three different experimental groups and two Scales for each group. The first group has to answer the same questions again while seeing their old answer, so I used your VisualAnalogueScale_Repeat trial. For the other two groups i used independent VASs, because they are not supposed to see their old answer. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Now I have some trouble with the dataframe. I suppose they yield from the fact that I haven´t definded &amp;lt;expressions&amp;gt; more than once and consequently there is no link to the trials and Inquisit has problems saving the results. &amp;nbsp;&lt;br/&gt;I tried to fix that myself using your examples but was confused, because in your sample script for the Visual Analogue Scale you used &amp;nbsp;&lt;strong&gt;trial.VisualAnalogueScale.responsex&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = &lt;strong&gt;(trial.VisualAnalogueScale.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;and then there was no further definition in the Visual Analogue Trial. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=eraser,question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When I asked you about the Repetition Scale you used &lt;strong&gt;values.responsex&lt;/strong&gt; and that was defined again within the trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (&lt;strong&gt;values.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Obviously both ways worked out fine in your scripts, I was just wondering about which to use for my script. I could also imagine that it´s different whether I use a simple VAS or the VAS_Repeat Trial?&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;And do I guess right, that I would also have to include the newly defined expressions in the &amp;lt;data&amp;gt; colums?&amp;nbsp;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;I hope I could make my point. Would be great if you could give me a hint. Thank you in advance! :)&amp;nbsp;&lt;br/&gt;&lt;br/&gt;For further clarification I´ll include my script.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21427"&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;values.responsex is a global variable. It isn't necessary to calculate the corrected score in the original script because there is only one &amp;lt;trial&amp;gt; element whose response that calculation is based on -- &amp;lt;trial visualanaloguescale&amp;gt;.&lt;br/&gt;&lt;br/&gt;In your script, however, you want to make use of the x coordinate stemming from multiple, *different* trial elements. Hence you store the appropriate x coordinate in the global variable as in &lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and use the variable -- values.responsex -- in the expression. You can see this script attached to my previous response:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;https://www.millisecond.com/forums/FindPost21395.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;CSESScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.CSESXstore.item = trial.CSESScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.CSESScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;PANASScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.PANASXstore.item = trial.PANASScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.PANASScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth.&lt;br/&gt;&lt;br/&gt;And yes, if you define additional expressions and want them logged, you need to add them to the &amp;lt;data&amp;gt; element's /columns attribute.&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21428"&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;Ah, I see. Thank you! But if I get you right and only change the definition of&amp;nbsp;&lt;span style="font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; text-align: left; background-color: rgb(255, 255, 255); float: none; display: inline !important;"&gt;values.responseX for each trial but don´t change anything in the &amp;lt;expressions&amp;gt;, how can I logg the different scales in the data element?&amp;nbsp;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21435"&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 should have all the information you need in the data file if you log the expression. The blockcode and trialcode columns tell you the scale, the logged item numbers and items tell you the scale item, etc. You can aggregate that data as needed. If you want anything beyond that (e.g. variables that sum up the responses by scale), you need to build it into the script and log it.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21436"&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;I am sorry, but I suppose I still don´t get it right. Inquisit is new for me and I have newer programmed before, so excuse me please, if I ask a lot of questions. &lt;br/&gt;&amp;nbsp;So obviously when using the trial with the counter element (as in your script) I can define the values.responsex and then the data is logged seperatly via the &amp;lt;expression&amp;gt; term.&amp;nbsp;&lt;br/&gt;In my script I also use a simple Visual Analogue Scale with no counter element. It is not clear to me right now, how I can define properly where those responses are logged. I thought I would need &amp;lt;expressions&amp;gt; for that too? If that is the case, do I have to add something to the trial itself or the &amp;lt;expressions&amp;gt; term?&lt;a class="if-quote-goto quote-link" href="#" data-id="21437"&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 have a raw data file. This provides the trial-by-trial record. If you look at the trialcode column (and those mentioned previously), you see what "scale" a given trial (i.e. line in the data file) belonged to. The value of the expression logged in that same line represents the response to that scale item. Does that clarify?&lt;br/&gt;</description><pubDate>Wed, 26 Apr 2017 14:49:06 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21437.aspx</link><description>&lt;div data-id="21436" class="if-quote-wrapper" unselectable="on" data-guid="1493232827092"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21436" 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="21436" 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="21436" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21436"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21435" class="if-quote-wrapper" unselectable="on" data-guid="1493232827092"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21435" 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="21435" 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="21435" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21435"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21428" class="if-quote-wrapper" unselectable="on" data-guid="1493232827092"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21428" 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="21428" 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="21428" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21428"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21427" class="if-quote-wrapper" unselectable="on" data-guid="1493232827092"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21427" 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="21427" 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="21427" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21427"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you for your help so far! :)&lt;br/&gt;I still got some issues with my script. So I used your Visual Analogue Scale as a basis but created multiple different Scales within the script. There are three different experimental groups and two Scales for each group. The first group has to answer the same questions again while seeing their old answer, so I used your VisualAnalogueScale_Repeat trial. For the other two groups i used independent VASs, because they are not supposed to see their old answer. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Now I have some trouble with the dataframe. I suppose they yield from the fact that I haven´t definded &amp;lt;expressions&amp;gt; more than once and consequently there is no link to the trials and Inquisit has problems saving the results. &amp;nbsp;&lt;br/&gt;I tried to fix that myself using your examples but was confused, because in your sample script for the Visual Analogue Scale you used &amp;nbsp;&lt;strong&gt;trial.VisualAnalogueScale.responsex&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = &lt;strong&gt;(trial.VisualAnalogueScale.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;and then there was no further definition in the Visual Analogue Trial. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=eraser,question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When I asked you about the Repetition Scale you used &lt;strong&gt;values.responsex&lt;/strong&gt; and that was defined again within the trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (&lt;strong&gt;values.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Obviously both ways worked out fine in your scripts, I was just wondering about which to use for my script. I could also imagine that it´s different whether I use a simple VAS or the VAS_Repeat Trial?&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;And do I guess right, that I would also have to include the newly defined expressions in the &amp;lt;data&amp;gt; colums?&amp;nbsp;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;I hope I could make my point. Would be great if you could give me a hint. Thank you in advance! :)&amp;nbsp;&lt;br/&gt;&lt;br/&gt;For further clarification I´ll include my script.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21427"&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;values.responsex is a global variable. It isn't necessary to calculate the corrected score in the original script because there is only one &amp;lt;trial&amp;gt; element whose response that calculation is based on -- &amp;lt;trial visualanaloguescale&amp;gt;.&lt;br/&gt;&lt;br/&gt;In your script, however, you want to make use of the x coordinate stemming from multiple, *different* trial elements. Hence you store the appropriate x coordinate in the global variable as in &lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and use the variable -- values.responsex -- in the expression. You can see this script attached to my previous response:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;https://www.millisecond.com/forums/FindPost21395.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;CSESScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.CSESXstore.item = trial.CSESScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.CSESScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;PANASScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.PANASXstore.item = trial.PANASScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.PANASScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth.&lt;br/&gt;&lt;br/&gt;And yes, if you define additional expressions and want them logged, you need to add them to the &amp;lt;data&amp;gt; element's /columns attribute.&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21428"&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;Ah, I see. Thank you! But if I get you right and only change the definition of&amp;nbsp;&lt;span style="font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; text-align: left; background-color: rgb(255, 255, 255); float: none; display: inline !important;"&gt;values.responseX for each trial but don´t change anything in the &amp;lt;expressions&amp;gt;, how can I logg the different scales in the data element?&amp;nbsp;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21435"&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 should have all the information you need in the data file if you log the expression. The blockcode and trialcode columns tell you the scale, the logged item numbers and items tell you the scale item, etc. You can aggregate that data as needed. If you want anything beyond that (e.g. variables that sum up the responses by scale), you need to build it into the script and log it.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21436"&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;I am sorry, but I suppose I still don´t get it right. Inquisit is new for me and I have newer programmed before, so excuse me please, if I ask a lot of questions. &lt;br/&gt;&amp;nbsp;So obviously when using the trial with the counter element (as in your script) I can define the values.responsex and then the data is logged seperatly via the &amp;lt;expression&amp;gt; term.&amp;nbsp;&lt;br/&gt;In my script I also use a simple Visual Analogue Scale with no counter element. It is not clear to me right now, how I can define properly where those responses are logged. I thought I would need &amp;lt;expressions&amp;gt; for that too? If that is the case, do I have to add something to the trial itself or the &amp;lt;expressions&amp;gt; term?</description><pubDate>Wed, 26 Apr 2017 11:58:59 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21436.aspx</link><description>&lt;div data-id="21435" class="if-quote-wrapper" unselectable="on" data-guid="1493227530760"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21435" 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="21435" 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="21435" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Wednesday, April 26, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21435"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21428" class="if-quote-wrapper" unselectable="on" data-guid="1493227530760"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21428" 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="21428" 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="21428" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21428"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21427" class="if-quote-wrapper" unselectable="on" data-guid="1493227530760"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21427" 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="21427" 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="21427" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21427"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you for your help so far! :)&lt;br/&gt;I still got some issues with my script. So I used your Visual Analogue Scale as a basis but created multiple different Scales within the script. There are three different experimental groups and two Scales for each group. The first group has to answer the same questions again while seeing their old answer, so I used your VisualAnalogueScale_Repeat trial. For the other two groups i used independent VASs, because they are not supposed to see their old answer. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Now I have some trouble with the dataframe. I suppose they yield from the fact that I haven´t definded &amp;lt;expressions&amp;gt; more than once and consequently there is no link to the trials and Inquisit has problems saving the results. &amp;nbsp;&lt;br/&gt;I tried to fix that myself using your examples but was confused, because in your sample script for the Visual Analogue Scale you used &amp;nbsp;&lt;strong&gt;trial.VisualAnalogueScale.responsex&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = &lt;strong&gt;(trial.VisualAnalogueScale.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;and then there was no further definition in the Visual Analogue Trial. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=eraser,question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When I asked you about the Repetition Scale you used &lt;strong&gt;values.responsex&lt;/strong&gt; and that was defined again within the trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (&lt;strong&gt;values.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Obviously both ways worked out fine in your scripts, I was just wondering about which to use for my script. I could also imagine that it´s different whether I use a simple VAS or the VAS_Repeat Trial?&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;And do I guess right, that I would also have to include the newly defined expressions in the &amp;lt;data&amp;gt; colums?&amp;nbsp;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;I hope I could make my point. Would be great if you could give me a hint. Thank you in advance! :)&amp;nbsp;&lt;br/&gt;&lt;br/&gt;For further clarification I´ll include my script.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21427"&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;values.responsex is a global variable. It isn't necessary to calculate the corrected score in the original script because there is only one &amp;lt;trial&amp;gt; element whose response that calculation is based on -- &amp;lt;trial visualanaloguescale&amp;gt;.&lt;br/&gt;&lt;br/&gt;In your script, however, you want to make use of the x coordinate stemming from multiple, *different* trial elements. Hence you store the appropriate x coordinate in the global variable as in &lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and use the variable -- values.responsex -- in the expression. You can see this script attached to my previous response:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;https://www.millisecond.com/forums/FindPost21395.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;CSESScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.CSESXstore.item = trial.CSESScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.CSESScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;PANASScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.PANASXstore.item = trial.PANASScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.PANASScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth.&lt;br/&gt;&lt;br/&gt;And yes, if you define additional expressions and want them logged, you need to add them to the &amp;lt;data&amp;gt; element's /columns attribute.&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21428"&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;Ah, I see. Thank you! But if I get you right and only change the definition of&amp;nbsp;&lt;span style="font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; text-align: left; background-color: rgb(255, 255, 255); float: none; display: inline !important;"&gt;values.responseX for each trial but don´t change anything in the &amp;lt;expressions&amp;gt;, how can I logg the different scales in the data element?&amp;nbsp;&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21435"&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 should have all the information you need in the data file if you log the expression. The blockcode and trialcode columns tell you the scale, the logged item numbers and items tell you the scale item, etc. You can aggregate that data as needed. If you want anything beyond that (e.g. variables that sum up the responses by scale), you need to build it into the script and log it.&lt;br/&gt;</description><pubDate>Wed, 26 Apr 2017 10:29:14 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21435.aspx</link><description>&lt;div data-id="21428" class="if-quote-wrapper" unselectable="on" data-guid="1493226214054"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21428" 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="21428" 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="21428" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21428"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21427" class="if-quote-wrapper" unselectable="on" data-guid="1493226214054"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21427" 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="21427" 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="21427" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21427"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you for your help so far! :)&lt;br/&gt;I still got some issues with my script. So I used your Visual Analogue Scale as a basis but created multiple different Scales within the script. There are three different experimental groups and two Scales for each group. The first group has to answer the same questions again while seeing their old answer, so I used your VisualAnalogueScale_Repeat trial. For the other two groups i used independent VASs, because they are not supposed to see their old answer. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Now I have some trouble with the dataframe. I suppose they yield from the fact that I haven´t definded &amp;lt;expressions&amp;gt; more than once and consequently there is no link to the trials and Inquisit has problems saving the results. &amp;nbsp;&lt;br/&gt;I tried to fix that myself using your examples but was confused, because in your sample script for the Visual Analogue Scale you used &amp;nbsp;&lt;strong&gt;trial.VisualAnalogueScale.responsex&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = &lt;strong&gt;(trial.VisualAnalogueScale.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;and then there was no further definition in the Visual Analogue Trial. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=eraser,question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When I asked you about the Repetition Scale you used &lt;strong&gt;values.responsex&lt;/strong&gt; and that was defined again within the trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (&lt;strong&gt;values.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Obviously both ways worked out fine in your scripts, I was just wondering about which to use for my script. I could also imagine that it´s different whether I use a simple VAS or the VAS_Repeat Trial?&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;And do I guess right, that I would also have to include the newly defined expressions in the &amp;lt;data&amp;gt; colums?&amp;nbsp;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;I hope I could make my point. Would be great if you could give me a hint. Thank you in advance! :)&amp;nbsp;&lt;br/&gt;&lt;br/&gt;For further clarification I´ll include my script.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21427"&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;values.responsex is a global variable. It isn't necessary to calculate the corrected score in the original script because there is only one &amp;lt;trial&amp;gt; element whose response that calculation is based on -- &amp;lt;trial visualanaloguescale&amp;gt;.&lt;br/&gt;&lt;br/&gt;In your script, however, you want to make use of the x coordinate stemming from multiple, *different* trial elements. Hence you store the appropriate x coordinate in the global variable as in &lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and use the variable -- values.responsex -- in the expression. You can see this script attached to my previous response:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;https://www.millisecond.com/forums/FindPost21395.aspx&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;CSESScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.CSESXstore.item = trial.CSESScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.CSESScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;PANASScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.PANASXstore.item = trial.PANASScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.PANASScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth.&lt;br/&gt;&lt;br/&gt;And yes, if you define additional expressions and want them logged, you need to add them to the &amp;lt;data&amp;gt; element's /columns attribute.&lt;/span&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21428"&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;Ah, I see. Thank you! But if I get you right and only change the definition of&amp;nbsp;&lt;span style="font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; text-align: left; background-color: rgb(255, 255, 255); float: none; display: inline !important;"&gt;values.responseX for each trial but don´t change anything in the &amp;lt;expressions&amp;gt;, how can I logg the different scales in the data element?&amp;nbsp;&lt;/span&gt;</description><pubDate>Wed, 26 Apr 2017 10:07:43 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21428.aspx</link><description>&lt;div data-id="21427" class="if-quote-wrapper" unselectable="on" data-guid="1493143476339"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21427" 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="21427" 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="21427" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Tuesday, April 25, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21427"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you for your help so far! :)&lt;br/&gt;I still got some issues with my script. So I used your Visual Analogue Scale as a basis but created multiple different Scales within the script. There are three different experimental groups and two Scales for each group. The first group has to answer the same questions again while seeing their old answer, so I used your VisualAnalogueScale_Repeat trial. For the other two groups i used independent VASs, because they are not supposed to see their old answer. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Now I have some trouble with the dataframe. I suppose they yield from the fact that I haven´t definded &amp;lt;expressions&amp;gt; more than once and consequently there is no link to the trials and Inquisit has problems saving the results. &amp;nbsp;&lt;br/&gt;I tried to fix that myself using your examples but was confused, because in your sample script for the Visual Analogue Scale you used &amp;nbsp;&lt;strong&gt;trial.VisualAnalogueScale.responsex&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = &lt;strong&gt;(trial.VisualAnalogueScale.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;and then there was no further definition in the Visual Analogue Trial. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=eraser,question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When I asked you about the Repetition Scale you used &lt;strong&gt;values.responsex&lt;/strong&gt; and that was defined again within the trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (&lt;strong&gt;values.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Obviously both ways worked out fine in your scripts, I was just wondering about which to use for my script. I could also imagine that it´s different whether I use a simple VAS or the VAS_Repeat Trial?&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;And do I guess right, that I would also have to include the newly defined expressions in the &amp;lt;data&amp;gt; colums?&amp;nbsp;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;I hope I could make my point. Would be great if you could give me a hint. Thank you in advance! :)&amp;nbsp;&lt;br/&gt;&lt;br/&gt;For further clarification I´ll include my script.&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21427"&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;values.responsex is a global variable. It isn't necessary to calculate the corrected score in the original script because there is only one &amp;lt;trial&amp;gt; element whose response that calculation is based on -- &amp;lt;trial visualanaloguescale&amp;gt;.&lt;br/&gt;&lt;br/&gt;In your script, however, you want to make use of the x coordinate stemming from multiple, *different* trial elements. Hence you store the appropriate x coordinate in the global variable as in &lt;br/&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and use the variable -- values.responsex -- in the expression. You can see this script attached to my previous response:&lt;br/&gt;&lt;br/&gt;&lt;a href="https://www.millisecond.com/forums/FindPost21395.aspx"&gt;https://www.millisecond.com/forums/FindPost21395.aspx&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;CSESScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.CSESXstore.item = trial.CSESScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.CSESScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial &lt;strong&gt;PANASScale&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.PANASXstore.item = trial.PANASScale.responsex;&lt;br/&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.PANASScale.responsex;&lt;/strong&gt;&lt;br/&gt;]&lt;br/&gt;...&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;and so forth.&lt;br/&gt;&lt;br/&gt;And yes, if you define additional expressions and want them logged, you need to add them to the &amp;lt;data&amp;gt; element's /columns attribute.&lt;/span&gt;</description><pubDate>Tue, 25 Apr 2017 11:14:48 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21427.aspx</link><description>Hi Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thank you for your help so far! :)&lt;br/&gt;I still got some issues with my script. So I used your Visual Analogue Scale as a basis but created multiple different Scales within the script. There are three different experimental groups and two Scales for each group. The first group has to answer the same questions again while seeing their old answer, so I used your VisualAnalogueScale_Repeat trial. For the other two groups i used independent VASs, because they are not supposed to see their old answer. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Now I have some trouble with the dataframe. I suppose they yield from the fact that I haven´t definded &amp;lt;expressions&amp;gt; more than once and consequently there is no link to the trials and Inquisit has problems saving the results. &amp;nbsp;&lt;br/&gt;I tried to fix that myself using your examples but was confused, because in your sample script for the Visual Analogue Scale you used &amp;nbsp;&lt;strong&gt;trial.VisualAnalogueScale.responsex&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = &lt;strong&gt;(trial.VisualAnalogueScale.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;and then there was no further definition in the Visual Analogue Trial. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=eraser,question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;When I asked you about the Repetition Scale you used &lt;strong&gt;values.responsex&lt;/strong&gt; and that was defined again within the trial.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (&lt;strong&gt;values.responsex&lt;/strong&gt; - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ ontrialend = [&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; float: none; display: inline !important;"&gt;&lt;strong&gt;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;/strong&gt;&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ inputdevice = mouse&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ validresponse = (line)&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;/ branch = [trial.showresponse]&lt;/span&gt;&lt;br/&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; 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; display: inline !important; float: none;"&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Obviously both ways worked out fine in your scripts, I was just wondering about which to use for my script. I could also imagine that it´s different whether I use a simple VAS or the VAS_Repeat Trial?&amp;nbsp;&lt;span style="font-size: 13.3333px;"&gt;And do I guess right, that I would also have to include the newly defined expressions in the &amp;lt;data&amp;gt; colums?&amp;nbsp;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;I hope I could make my point. Would be great if you could give me a hint. Thank you in advance! :)&amp;nbsp;&lt;br/&gt;&lt;br/&gt;For further clarification I´ll include my script.&amp;nbsp;</description><pubDate>Tue, 25 Apr 2017 08:52:34 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21396.aspx</link><description>&lt;div data-id="21395" class="if-quote-wrapper" unselectable="on" data-guid="1492792536842"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21395" 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="21395" 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="21395" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, April 21, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21395"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21392" class="if-quote-wrapper" unselectable="on" data-guid="1492792536842"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21392" 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="21392" 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="21392" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Friday, April 21, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21392"&gt;&lt;div class="if-quote-message-margin"&gt;Hey Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I am so sorry, but I´ve got another question.&amp;nbsp;&lt;br/&gt;I´ve been working with your script (which works really great, so thank you very much again!!) and tried to include another VAS.&amp;nbsp;&lt;br/&gt;To specify where the problem is I´ll have to give a short overview over the entire experiment.&amp;nbsp;&lt;br/&gt;So after a few demographic questions participants are asked to rate how much they agree to certain statements (and they do so on the VAS). They are supposed to to so for three scales (Satisfaction with Life Scale (SWLS), Core Self Evaluation Scale (CSES) and PANAS). Afterwards they do a different task, where they interact with someone directly (so no Inquisit here) and then I want to reassess the three scales again but in a different order (PANAS, Satisfaction with Life Scale, Core Self Evaluation Scale)&lt;br/&gt;I tried to just copy the &amp;lt;trial VisualAnalogeScale&amp;gt; and the &amp;lt;trial VisualAnalogeScaleRepeat&amp;gt; and rename them for the Scales but now I face the problem that when repeating the scales Inquisit does show an old response but not the one the participant gave on the very current item.&amp;nbsp;&lt;br/&gt;I know that I somehow have to tell Inquisit where to get the old response from but I have absolutly now idea how to do so.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I include my script here and hope it isn´t a problem that the items and instructions are in German.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would be great if you could give me a hint on how to solve the problem :) Thank you!&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21392"&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 need separate &amp;lt;counter&amp;gt;s to store the responses -- one per scale. See attached.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21395"&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;Ah, I see.&lt;br/&gt;Thank you so much!! :)&amp;nbsp;</description><pubDate>Fri, 21 Apr 2017 09:35:49 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21395.aspx</link><description>&lt;div data-id="21392" class="if-quote-wrapper" unselectable="on" data-guid="1492792239931"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21392" 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="21392" 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="21392" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Friday, April 21, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21392"&gt;&lt;div class="if-quote-message-margin"&gt;Hey Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I am so sorry, but I´ve got another question.&amp;nbsp;&lt;br/&gt;I´ve been working with your script (which works really great, so thank you very much again!!) and tried to include another VAS.&amp;nbsp;&lt;br/&gt;To specify where the problem is I´ll have to give a short overview over the entire experiment.&amp;nbsp;&lt;br/&gt;So after a few demographic questions participants are asked to rate how much they agree to certain statements (and they do so on the VAS). They are supposed to to so for three scales (Satisfaction with Life Scale (SWLS), Core Self Evaluation Scale (CSES) and PANAS). Afterwards they do a different task, where they interact with someone directly (so no Inquisit here) and then I want to reassess the three scales again but in a different order (PANAS, Satisfaction with Life Scale, Core Self Evaluation Scale)&lt;br/&gt;I tried to just copy the &amp;lt;trial VisualAnalogeScale&amp;gt; and the &amp;lt;trial VisualAnalogeScaleRepeat&amp;gt; and rename them for the Scales but now I face the problem that when repeating the scales Inquisit does show an old response but not the one the participant gave on the very current item.&amp;nbsp;&lt;br/&gt;I know that I somehow have to tell Inquisit where to get the old response from but I have absolutly now idea how to do so.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I include my script here and hope it isn´t a problem that the items and instructions are in German.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would be great if you could give me a hint on how to solve the problem :) Thank you!&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21392"&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 need separate &amp;lt;counter&amp;gt;s to store the responses -- one per scale. See attached.&lt;br/&gt;</description><pubDate>Fri, 21 Apr 2017 09:31:54 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21392.aspx</link><description>Hey Dave,&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I am so sorry, but I´ve got another question.&amp;nbsp;&lt;br/&gt;I´ve been working with your script (which works really great, so thank you very much again!!) and tried to include another VAS.&amp;nbsp;&lt;br/&gt;To specify where the problem is I´ll have to give a short overview over the entire experiment.&amp;nbsp;&lt;br/&gt;So after a few demographic questions participants are asked to rate how much they agree to certain statements (and they do so on the VAS). They are supposed to to so for three scales (Satisfaction with Life Scale (SWLS), Core Self Evaluation Scale (CSES) and PANAS). Afterwards they do a different task, where they interact with someone directly (so no Inquisit here) and then I want to reassess the three scales again but in a different order (PANAS, Satisfaction with Life Scale, Core Self Evaluation Scale)&lt;br/&gt;I tried to just copy the &amp;lt;trial VisualAnalogeScale&amp;gt; and the &amp;lt;trial VisualAnalogeScaleRepeat&amp;gt; and rename them for the Scales but now I face the problem that when repeating the scales Inquisit does show an old response but not the one the participant gave on the very current item.&amp;nbsp;&lt;br/&gt;I know that I somehow have to tell Inquisit where to get the old response from but I have absolutly now idea how to do so.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;I include my script here and hope it isn´t a problem that the items and instructions are in German.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Would be great if you could give me a hint on how to solve the problem :) Thank you!&amp;nbsp;</description><pubDate>Fri, 21 Apr 2017 03:04:02 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21352.aspx</link><description>&lt;div data-id="21351" class="if-quote-wrapper" unselectable="on" data-guid="1492456492804"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21351" 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="21351" 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="21351" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21351"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21350" class="if-quote-wrapper" unselectable="on" data-guid="1492456492804"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21350" 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="21350" 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="21350" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21350"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21349" class="if-quote-wrapper" unselectable="on" data-guid="1492456492804"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21349" 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="21349" 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="21349" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21349"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21348" class="if-quote-wrapper" unselectable="on" data-guid="1492456492804"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21348" 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="21348" 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="21348" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21348"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21346" class="if-quote-wrapper" unselectable="on" data-guid="1492456492804"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21346" 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="21346" 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="21346" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21346"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21344" class="if-quote-wrapper" unselectable="on" data-guid="1492456492804"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21344" 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="21344" 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="21344" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21344"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21343" class="if-quote-wrapper" unselectable="on" data-guid="1492456492804"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21343" 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="21343" 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="21343" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21343"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="2446" class="if-quote-wrapper" unselectable="on" data-guid="1492456492804"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="2446" 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="2446" 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="2446" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, January 30, 2009&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-2446"&gt;&lt;div class="if-quote-message-margin"&gt;For anyone who's interested, here's a small sample script that shows how to implement a 'real' VAS with Inquisit 3 (see attached file). Hopefully this will be useful for some.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;~Dave&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="2446"&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;Hi Dave, I tried your script and found it to be quite what I was looking for.&amp;nbsp;&lt;br/&gt;There´s just one problem i have. In my experiment participants are asked to rate quite a number of questions and I tried to fill in the questions in the &amp;lt;text question&amp;gt; .&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The problem now is that since the questions aren´t of the same length there is always a part of the old question text displayed when the next question is presented. Is there a way to solve this problem or am I supposed to built a new item for each question? And if I have to do so, how do I implement that into the script (blocks, trials, etc.)?&lt;br/&gt;&lt;br/&gt;I hope it get´s clear what I mean.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina&lt;a class="if-quote-goto quote-link" href="#" data-id="21343"&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;Oh and by the way, is there a way to use screencaptures with VASs? My paradigm requires participants to answer these questions twice and use their first rating as an orientation. It would be best if they could use the very same VAS to do so but if that is not possible it would also be fine if they just see their past response.&amp;nbsp;&lt;br/&gt;Can someone help me with that?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21344"&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;Add a &amp;lt;shape&amp;gt; to the script that covers the entire screen and thus "erases" / overwrites any previous questions fully. Display it as the 1st stimulus in &amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;eraser&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (100%,100%)&lt;br/&gt;/ color = white&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=&lt;strong&gt;eraser&lt;/strong&gt;, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;To get screencaptures, set the /screencapture attribute to true in &amp;lt;trial showresponse&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial showresponse&amp;gt;&lt;br/&gt;/ stimulusframes = [1=X, responsevalue]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ timeout = 1500&lt;br/&gt;/ recorddata = false&lt;br/&gt;&lt;strong&gt;/ screencapture = true&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21346"&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, that helps a lot :)&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21348"&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;And how can I use the screencaptures later on in the experiment?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21349"&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;That is not possible.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21350"&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'll have to do something like this instead:&lt;br/&gt;&lt;br/&gt;*** Default Settings &amp;amp; Data Specifications ***&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", -19, true, false, false, false, 5, 0)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [subject, date, time, blockcode, trialcode, trialnum, latency, text.question.currentitem, expressions.correctedscore]&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;*** Response Scoring Routines ***&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (values.responsex - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;*** Block Definition ***&lt;br/&gt;&lt;br/&gt;&amp;lt;block VAS&amp;gt;&lt;br/&gt;/ trials = [1-3=VisualAnalogueScale; 4-6=VisualAnalogueScaleRepeat]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*** Trial Definitions ***&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial showresponse&amp;gt;&lt;br/&gt;/ stimulusframes = [1=X, responsevalue]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ timeout = 1500&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScaleRepeat&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.prevX = counter.Xstore.selectedvalue;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.VisualAnalogueScaleRepeat.responsex;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor, prevX]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*** Scale Items ***&lt;br/&gt;&lt;br/&gt;&amp;lt;shape line&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = (0, 0, 0)&lt;br/&gt;/ size = (700, 6)&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape leftborder&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = (0, 0, 0)&lt;br/&gt;/ size = (6, 30)&lt;br/&gt;/ position = (16, 75)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape rightborder&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = (0, 0, 0)&lt;br/&gt;/ size = (6, 30)&lt;br/&gt;/ position = (84, 75)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape eraser&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (100%,100%)&lt;br/&gt;/ color = white&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text leftanchor&amp;gt;&lt;br/&gt;/ items = ("Left Anchor")&lt;br/&gt;/ position = (10, 75)&lt;br/&gt;/ size = (50, 50)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text rightanchor&amp;gt;&lt;br/&gt;/ items = ("Right Anchor")&lt;br/&gt;/ position = (90, 75)&lt;br/&gt;/ size = (50, 50)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;*** Response Indicator ***&lt;br/&gt;&lt;br/&gt;&amp;lt;text X&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", -35, true, false, false, false, 5, 0)&lt;br/&gt;/ items = ("X")&lt;br/&gt;/ txcolor = (255, 0, 0)&lt;br/&gt;/ txbgcolor = (transparent)&lt;br/&gt;/ hposition = (values.responsex / display.width) * 100&lt;br/&gt;/ vposition = shape.line.vposition&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text prevX&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", -35, true, false, false, false, 5, 0)&lt;br/&gt;/ items = ("X")&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;/ txbgcolor = (transparent)&lt;br/&gt;/ erase = false&lt;br/&gt;/ hposition = (values.prevX / display.width) * 100&lt;br/&gt;/ vposition = shape.line.vposition&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text responsevalue&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% expressions.roundedvalue %&amp;gt; %")&lt;br/&gt;/ position = (50, 85)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;counter Xstore&amp;gt;&lt;br/&gt;/ select = sequence&lt;br/&gt;&amp;lt;/counter&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ responseX = 0&lt;br/&gt;/ prevX = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;*** End Of File ***&lt;br/&gt;&lt;br/&gt;I.e.: Store the responses of the 1st run-through somewhere (e.g. a &amp;lt;counter&amp;gt; or &amp;lt;list&amp;gt;) and then retrieve them for the 2nd run-through. During the 2nd run-through, the previous response to the question will be indicated by a blue X.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21351"&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;Wow, thank you so much!! :) :) :)&amp;nbsp;&lt;br/&gt;That's really great!&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina</description><pubDate>Mon, 17 Apr 2017 12:18:44 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21351.aspx</link><description>&lt;div data-id="21350" class="if-quote-wrapper" unselectable="on" data-guid="1492456160828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21350" 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="21350" 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="21350" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21350"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21349" class="if-quote-wrapper" unselectable="on" data-guid="1492456160828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21349" 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="21349" 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="21349" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21349"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21348" class="if-quote-wrapper" unselectable="on" data-guid="1492456160828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21348" 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="21348" 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="21348" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21348"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21346" class="if-quote-wrapper" unselectable="on" data-guid="1492456160828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21346" 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="21346" 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="21346" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21346"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21344" class="if-quote-wrapper" unselectable="on" data-guid="1492456160828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21344" 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="21344" 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="21344" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21344"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21343" class="if-quote-wrapper" unselectable="on" data-guid="1492456160828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21343" 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="21343" 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="21343" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21343"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="2446" class="if-quote-wrapper" unselectable="on" data-guid="1492456160828"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="2446" 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="2446" 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="2446" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, January 30, 2009&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-2446"&gt;&lt;div class="if-quote-message-margin"&gt;For anyone who's interested, here's a small sample script that shows how to implement a 'real' VAS with Inquisit 3 (see attached file). Hopefully this will be useful for some.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;~Dave&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="2446"&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;Hi Dave, I tried your script and found it to be quite what I was looking for.&amp;nbsp;&lt;br/&gt;There´s just one problem i have. In my experiment participants are asked to rate quite a number of questions and I tried to fill in the questions in the &amp;lt;text question&amp;gt; .&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The problem now is that since the questions aren´t of the same length there is always a part of the old question text displayed when the next question is presented. Is there a way to solve this problem or am I supposed to built a new item for each question? And if I have to do so, how do I implement that into the script (blocks, trials, etc.)?&lt;br/&gt;&lt;br/&gt;I hope it get´s clear what I mean.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina&lt;a class="if-quote-goto quote-link" href="#" data-id="21343"&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;Oh and by the way, is there a way to use screencaptures with VASs? My paradigm requires participants to answer these questions twice and use their first rating as an orientation. It would be best if they could use the very same VAS to do so but if that is not possible it would also be fine if they just see their past response.&amp;nbsp;&lt;br/&gt;Can someone help me with that?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21344"&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;Add a &amp;lt;shape&amp;gt; to the script that covers the entire screen and thus "erases" / overwrites any previous questions fully. Display it as the 1st stimulus in &amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;eraser&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (100%,100%)&lt;br/&gt;/ color = white&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=&lt;strong&gt;eraser&lt;/strong&gt;, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;To get screencaptures, set the /screencapture attribute to true in &amp;lt;trial showresponse&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial showresponse&amp;gt;&lt;br/&gt;/ stimulusframes = [1=X, responsevalue]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ timeout = 1500&lt;br/&gt;/ recorddata = false&lt;br/&gt;&lt;strong&gt;/ screencapture = true&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21346"&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, that helps a lot :)&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21348"&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;And how can I use the screencaptures later on in the experiment?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21349"&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;That is not possible.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21350"&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'll have to do something like this instead:&lt;br/&gt;&lt;br/&gt;*** Default Settings &amp;amp; Data Specifications ***&lt;br/&gt;&lt;br/&gt;&amp;lt;defaults&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", -19, true, false, false, false, 5, 0)&lt;br/&gt;&amp;lt;/defaults&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;data&amp;gt;&lt;br/&gt;/ columns = [subject, date, time, blockcode, trialcode, trialnum, latency, text.question.currentitem, expressions.correctedscore]&lt;br/&gt;&amp;lt;/data&amp;gt;&lt;br/&gt;&lt;br/&gt;*** Response Scoring Routines ***&lt;br/&gt;&lt;br/&gt;&amp;lt;expressions&amp;gt;&lt;br/&gt;/ correctionvalue = (display.width - shape.line.width) / 2&lt;br/&gt;/ correctedscore = (values.responsex - expressions.correctionvalue) / shape.line.width * 100&lt;br/&gt;/ roundedvalue = format("%.2f", expressions.correctedscore)&lt;br/&gt;&amp;lt;/expressions&amp;gt;&lt;br/&gt;&lt;br/&gt;*** Block Definition ***&lt;br/&gt;&lt;br/&gt;&amp;lt;block VAS&amp;gt;&lt;br/&gt;/ trials = [1-3=VisualAnalogueScale; 4-6=VisualAnalogueScaleRepeat]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;*** Trial Definitions ***&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter.Xstore.item = trial.VisualAnalogueScale.responsex;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.VisualAnalogueScale.responsex;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial showresponse&amp;gt;&lt;br/&gt;/ stimulusframes = [1=X, responsevalue]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ timeout = 1500&lt;br/&gt;/ recorddata = false&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScaleRepeat&amp;gt;&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.prevX = counter.Xstore.selectedvalue;&lt;br/&gt;]&lt;br/&gt;/ ontrialend = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; values.responseX = trial.VisualAnalogueScaleRepeat.responsex;&lt;br/&gt;]&lt;br/&gt;/ stimulusframes = [1=eraser, question, leftborder, rightborder, line, leftanchor, rightanchor, prevX]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;*** Scale Items ***&lt;br/&gt;&lt;br/&gt;&amp;lt;shape line&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = (0, 0, 0)&lt;br/&gt;/ size = (700, 6)&lt;br/&gt;/ position = (50, 75)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape leftborder&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = (0, 0, 0)&lt;br/&gt;/ size = (6, 30)&lt;br/&gt;/ position = (16, 75)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape rightborder&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = (0, 0, 0)&lt;br/&gt;/ size = (6, 30)&lt;br/&gt;/ position = (84, 75)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape eraser&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (100%,100%)&lt;br/&gt;/ color = white&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text leftanchor&amp;gt;&lt;br/&gt;/ items = ("Left Anchor")&lt;br/&gt;/ position = (10, 75)&lt;br/&gt;/ size = (50, 50)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text rightanchor&amp;gt;&lt;br/&gt;/ items = ("Right Anchor")&lt;br/&gt;/ position = (90, 75)&lt;br/&gt;/ size = (50, 50)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;*** Response Indicator ***&lt;br/&gt;&lt;br/&gt;&amp;lt;text X&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", -35, true, false, false, false, 5, 0)&lt;br/&gt;/ items = ("X")&lt;br/&gt;/ txcolor = (255, 0, 0)&lt;br/&gt;/ txbgcolor = (transparent)&lt;br/&gt;/ hposition = (values.responsex / display.width) * 100&lt;br/&gt;/ vposition = shape.line.vposition&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text prevX&amp;gt;&lt;br/&gt;/ fontstyle = ("Arial", -35, true, false, false, false, 5, 0)&lt;br/&gt;/ items = ("X")&lt;br/&gt;/ txcolor = (0, 0, 255)&lt;br/&gt;/ txbgcolor = (transparent)&lt;br/&gt;/ erase = false&lt;br/&gt;/ hposition = (values.prevX / display.width) * 100&lt;br/&gt;/ vposition = shape.line.vposition&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text responsevalue&amp;gt;&lt;br/&gt;/ items = ("&amp;lt;% expressions.roundedvalue %&amp;gt; %")&lt;br/&gt;/ position = (50, 85)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;counter Xstore&amp;gt;&lt;br/&gt;/ select = sequence&lt;br/&gt;&amp;lt;/counter&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ responseX = 0&lt;br/&gt;/ prevX = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;*** End Of File ***&lt;br/&gt;&lt;br/&gt;I.e.: Store the responses of the 1st run-through somewhere (e.g. a &amp;lt;counter&amp;gt; or &amp;lt;list&amp;gt;) and then retrieve them for the 2nd run-through. During the 2nd run-through, the previous response to the question will be indicated by a blue X.&lt;br/&gt;</description><pubDate>Mon, 17 Apr 2017 12:11:01 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21350.aspx</link><description>&lt;div data-id="21349" class="if-quote-wrapper" unselectable="on" data-guid="1492455211514"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21349" 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="21349" 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="21349" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21349"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21348" class="if-quote-wrapper" unselectable="on" data-guid="1492455211514"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21348" 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="21348" 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="21348" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21348"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21346" class="if-quote-wrapper" unselectable="on" data-guid="1492455211514"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21346" 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="21346" 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="21346" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21346"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21344" class="if-quote-wrapper" unselectable="on" data-guid="1492455211514"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21344" 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="21344" 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="21344" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21344"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21343" class="if-quote-wrapper" unselectable="on" data-guid="1492455211514"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21343" 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="21343" 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="21343" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21343"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="2446" class="if-quote-wrapper" unselectable="on" data-guid="1492455211514"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="2446" 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="2446" 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="2446" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, January 30, 2009&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-2446"&gt;&lt;div class="if-quote-message-margin"&gt;For anyone who's interested, here's a small sample script that shows how to implement a 'real' VAS with Inquisit 3 (see attached file). Hopefully this will be useful for some.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;~Dave&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="2446"&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;Hi Dave, I tried your script and found it to be quite what I was looking for.&amp;nbsp;&lt;br/&gt;There´s just one problem i have. In my experiment participants are asked to rate quite a number of questions and I tried to fill in the questions in the &amp;lt;text question&amp;gt; .&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The problem now is that since the questions aren´t of the same length there is always a part of the old question text displayed when the next question is presented. Is there a way to solve this problem or am I supposed to built a new item for each question? And if I have to do so, how do I implement that into the script (blocks, trials, etc.)?&lt;br/&gt;&lt;br/&gt;I hope it get´s clear what I mean.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina&lt;a class="if-quote-goto quote-link" href="#" data-id="21343"&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;Oh and by the way, is there a way to use screencaptures with VASs? My paradigm requires participants to answer these questions twice and use their first rating as an orientation. It would be best if they could use the very same VAS to do so but if that is not possible it would also be fine if they just see their past response.&amp;nbsp;&lt;br/&gt;Can someone help me with that?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21344"&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;Add a &amp;lt;shape&amp;gt; to the script that covers the entire screen and thus "erases" / overwrites any previous questions fully. Display it as the 1st stimulus in &amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;eraser&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (100%,100%)&lt;br/&gt;/ color = white&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=&lt;strong&gt;eraser&lt;/strong&gt;, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;To get screencaptures, set the /screencapture attribute to true in &amp;lt;trial showresponse&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial showresponse&amp;gt;&lt;br/&gt;/ stimulusframes = [1=X, responsevalue]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ timeout = 1500&lt;br/&gt;/ recorddata = false&lt;br/&gt;&lt;strong&gt;/ screencapture = true&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21346"&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, that helps a lot :)&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21348"&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;And how can I use the screencaptures later on in the experiment?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21349"&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;That is not possible.&lt;br/&gt;</description><pubDate>Mon, 17 Apr 2017 11:53:42 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21349.aspx</link><description>&lt;div data-id="21348" class="if-quote-wrapper" unselectable="on" data-guid="1492454930197"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21348" 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="21348" 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="21348" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21348"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21346" class="if-quote-wrapper" unselectable="on" data-guid="1492454930197"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21346" 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="21346" 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="21346" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21346"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21344" class="if-quote-wrapper" unselectable="on" data-guid="1492454930197"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21344" 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="21344" 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="21344" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21344"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21343" class="if-quote-wrapper" unselectable="on" data-guid="1492454930197"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21343" 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="21343" 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="21343" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21343"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="2446" class="if-quote-wrapper" unselectable="on" data-guid="1492454930197"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="2446" 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="2446" 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="2446" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, January 30, 2009&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-2446"&gt;&lt;div class="if-quote-message-margin"&gt;For anyone who's interested, here's a small sample script that shows how to implement a 'real' VAS with Inquisit 3 (see attached file). Hopefully this will be useful for some.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;~Dave&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="2446"&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;Hi Dave, I tried your script and found it to be quite what I was looking for.&amp;nbsp;&lt;br/&gt;There´s just one problem i have. In my experiment participants are asked to rate quite a number of questions and I tried to fill in the questions in the &amp;lt;text question&amp;gt; .&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The problem now is that since the questions aren´t of the same length there is always a part of the old question text displayed when the next question is presented. Is there a way to solve this problem or am I supposed to built a new item for each question? And if I have to do so, how do I implement that into the script (blocks, trials, etc.)?&lt;br/&gt;&lt;br/&gt;I hope it get´s clear what I mean.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina&lt;a class="if-quote-goto quote-link" href="#" data-id="21343"&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;Oh and by the way, is there a way to use screencaptures with VASs? My paradigm requires participants to answer these questions twice and use their first rating as an orientation. It would be best if they could use the very same VAS to do so but if that is not possible it would also be fine if they just see their past response.&amp;nbsp;&lt;br/&gt;Can someone help me with that?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21344"&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;Add a &amp;lt;shape&amp;gt; to the script that covers the entire screen and thus "erases" / overwrites any previous questions fully. Display it as the 1st stimulus in &amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;eraser&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (100%,100%)&lt;br/&gt;/ color = white&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=&lt;strong&gt;eraser&lt;/strong&gt;, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;To get screencaptures, set the /screencapture attribute to true in &amp;lt;trial showresponse&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial showresponse&amp;gt;&lt;br/&gt;/ stimulusframes = [1=X, responsevalue]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ timeout = 1500&lt;br/&gt;/ recorddata = false&lt;br/&gt;&lt;strong&gt;/ screencapture = true&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21346"&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, that helps a lot :)&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21348"&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;And how can I use the screencaptures later on in the experiment?&amp;nbsp;</description><pubDate>Mon, 17 Apr 2017 11:49:42 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21348.aspx</link><description>&lt;div data-id="21346" class="if-quote-wrapper" unselectable="on" data-guid="1492454713980"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21346" 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="21346" 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="21346" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21346"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21344" class="if-quote-wrapper" unselectable="on" data-guid="1492454713980"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21344" 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="21344" 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="21344" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21344"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21343" class="if-quote-wrapper" unselectable="on" data-guid="1492454713980"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21343" 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="21343" 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="21343" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21343"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="2446" class="if-quote-wrapper" unselectable="on" data-guid="1492454713980"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="2446" 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="2446" 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="2446" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, January 30, 2009&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-2446"&gt;&lt;div class="if-quote-message-margin"&gt;For anyone who's interested, here's a small sample script that shows how to implement a 'real' VAS with Inquisit 3 (see attached file). Hopefully this will be useful for some.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;~Dave&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="2446"&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;Hi Dave, I tried your script and found it to be quite what I was looking for.&amp;nbsp;&lt;br/&gt;There´s just one problem i have. In my experiment participants are asked to rate quite a number of questions and I tried to fill in the questions in the &amp;lt;text question&amp;gt; .&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The problem now is that since the questions aren´t of the same length there is always a part of the old question text displayed when the next question is presented. Is there a way to solve this problem or am I supposed to built a new item for each question? And if I have to do so, how do I implement that into the script (blocks, trials, etc.)?&lt;br/&gt;&lt;br/&gt;I hope it get´s clear what I mean.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina&lt;a class="if-quote-goto quote-link" href="#" data-id="21343"&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;Oh and by the way, is there a way to use screencaptures with VASs? My paradigm requires participants to answer these questions twice and use their first rating as an orientation. It would be best if they could use the very same VAS to do so but if that is not possible it would also be fine if they just see their past response.&amp;nbsp;&lt;br/&gt;Can someone help me with that?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21344"&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;Add a &amp;lt;shape&amp;gt; to the script that covers the entire screen and thus "erases" / overwrites any previous questions fully. Display it as the 1st stimulus in &amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;eraser&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (100%,100%)&lt;br/&gt;/ color = white&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=&lt;strong&gt;eraser&lt;/strong&gt;, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;To get screencaptures, set the /screencapture attribute to true in &amp;lt;trial showresponse&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial showresponse&amp;gt;&lt;br/&gt;/ stimulusframes = [1=X, responsevalue]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ timeout = 1500&lt;br/&gt;/ recorddata = false&lt;br/&gt;&lt;strong&gt;/ screencapture = true&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21346"&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, that helps a lot :)&amp;nbsp;</description><pubDate>Mon, 17 Apr 2017 11:45:22 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21346.aspx</link><description>&lt;div data-id="21344" class="if-quote-wrapper" unselectable="on" data-guid="1492445270148"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21344" 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="21344" 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="21344" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21344"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21343" class="if-quote-wrapper" unselectable="on" data-guid="1492445270148"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21343" 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="21343" 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="21343" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21343"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="2446" class="if-quote-wrapper" unselectable="on" data-guid="1492445270148"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="2446" 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="2446" 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="2446" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, January 30, 2009&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-2446"&gt;&lt;div class="if-quote-message-margin"&gt;For anyone who's interested, here's a small sample script that shows how to implement a 'real' VAS with Inquisit 3 (see attached file). Hopefully this will be useful for some.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;~Dave&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="2446"&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;Hi Dave, I tried your script and found it to be quite what I was looking for.&amp;nbsp;&lt;br/&gt;There´s just one problem i have. In my experiment participants are asked to rate quite a number of questions and I tried to fill in the questions in the &amp;lt;text question&amp;gt; .&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The problem now is that since the questions aren´t of the same length there is always a part of the old question text displayed when the next question is presented. Is there a way to solve this problem or am I supposed to built a new item for each question? And if I have to do so, how do I implement that into the script (blocks, trials, etc.)?&lt;br/&gt;&lt;br/&gt;I hope it get´s clear what I mean.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina&lt;a class="if-quote-goto quote-link" href="#" data-id="21343"&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;Oh and by the way, is there a way to use screencaptures with VASs? My paradigm requires participants to answer these questions twice and use their first rating as an orientation. It would be best if they could use the very same VAS to do so but if that is not possible it would also be fine if they just see their past response.&amp;nbsp;&lt;br/&gt;Can someone help me with that?&amp;nbsp;&lt;a class="if-quote-goto quote-link" href="#" data-id="21344"&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;Add a &amp;lt;shape&amp;gt; to the script that covers the entire screen and thus "erases" / overwrites any previous questions fully. Display it as the 1st stimulus in &amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape &lt;strong&gt;eraser&lt;/strong&gt;&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ size = (100%,100%)&lt;br/&gt;/ color = white&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial VisualAnalogueScale&amp;gt;&lt;br/&gt;/ stimulusframes = [1=&lt;strong&gt;eraser&lt;/strong&gt;, question, leftborder, rightborder, line, leftanchor, rightanchor]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (line)&lt;br/&gt;/ branch = [trial.showresponse]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;To get screencaptures, set the /screencapture attribute to true in &amp;lt;trial showresponse&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial showresponse&amp;gt;&lt;br/&gt;/ stimulusframes = [1=X, responsevalue]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ validresponse = (noresponse)&lt;br/&gt;/ timeout = 1500&lt;br/&gt;/ recorddata = false&lt;br/&gt;&lt;strong&gt;/ screencapture = true&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Mon, 17 Apr 2017 09:11:31 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21344.aspx</link><description>&lt;div data-id="21343" class="if-quote-wrapper" unselectable="on" data-guid="1492437400492"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21343" 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="21343" 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="21343" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Nina - Monday, April 17, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-21343"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="2446" class="if-quote-wrapper" unselectable="on" data-guid="1492437400492"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="2446" 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="2446" 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="2446" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, January 30, 2009&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-2446"&gt;&lt;div class="if-quote-message-margin"&gt;For anyone who's interested, here's a small sample script that shows how to implement a 'real' VAS with Inquisit 3 (see attached file). Hopefully this will be useful for some.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;~Dave&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="2446"&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;Hi Dave, I tried your script and found it to be quite what I was looking for.&amp;nbsp;&lt;br/&gt;There´s just one problem i have. In my experiment participants are asked to rate quite a number of questions and I tried to fill in the questions in the &amp;lt;text question&amp;gt; .&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The problem now is that since the questions aren´t of the same length there is always a part of the old question text displayed when the next question is presented. Is there a way to solve this problem or am I supposed to built a new item for each question? And if I have to do so, how do I implement that into the script (blocks, trials, etc.)?&lt;br/&gt;&lt;br/&gt;I hope it get´s clear what I mean.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina&lt;a class="if-quote-goto quote-link" href="#" data-id="21343"&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;Oh and by the way, is there a way to use screencaptures with VASs? My paradigm requires participants to answer these questions twice and use their first rating as an orientation. It would be best if they could use the very same VAS to do so but if that is not possible it would also be fine if they just see their past response.&amp;nbsp;&lt;br/&gt;Can someone help me with that?&amp;nbsp;</description><pubDate>Mon, 17 Apr 2017 07:00:16 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic21343.aspx</link><description>&lt;div data-id="2446" class="if-quote-wrapper" unselectable="on" data-guid="1492435174109"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="2446" 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="2446" 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="2446" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, January 30, 2009&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-2446"&gt;&lt;div class="if-quote-message-margin"&gt;For anyone who's interested, here's a small sample script that shows how to implement a 'real' VAS with Inquisit 3 (see attached file). Hopefully this will be useful for some.&lt;br/&gt;&lt;br/&gt;Regards,&lt;br/&gt;~Dave&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="2446"&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;Hi Dave, I tried your script and found it to be quite what I was looking for.&amp;nbsp;&lt;br/&gt;There´s just one problem i have. In my experiment participants are asked to rate quite a number of questions and I tried to fill in the questions in the &amp;lt;text question&amp;gt; .&lt;br/&gt;&lt;br/&gt;&amp;lt;text question&amp;gt;&lt;br/&gt;/ items = ("I am confident I get the sucess I deserve in life", "Sometimes I feel depressed.", "When I try I generally suceed")&lt;br/&gt;/ position = (50, 25)&lt;br/&gt;/ select = sequence&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;The problem now is that since the questions aren´t of the same length there is always a part of the old question text displayed when the next question is presented. Is there a way to solve this problem or am I supposed to built a new item for each question? And if I have to do so, how do I implement that into the script (blocks, trials, etc.)?&lt;br/&gt;&lt;br/&gt;I hope it get´s clear what I mean.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Best regards,&amp;nbsp;&lt;br/&gt;Nina</description><pubDate>Mon, 17 Apr 2017 06:30:06 GMT</pubDate><dc:creator>Nina</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic5765.aspx</link><description>&lt;p&gt;thanx ( greenhorn question [*-)] )&lt;/p&gt;</description><pubDate>Fri, 11 Mar 2011 06:42:58 GMT</pubDate><dc:creator>rainbow</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic5764.aspx</link><description>&lt;p&gt;/ stimulusframes requires you to use a &amp;lt;picture&amp;gt; element (not &amp;lt;image&amp;gt;).&lt;/p&gt;</description><pubDate>Fri, 11 Mar 2011 02:04:19 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic5763.aspx</link><description>&lt;p&gt;Hmm, I changed it slightly since I want to use pictures.. it keeps telling me that the element 'pic' cannot be located.... do you know why?! Thank you!&lt;/p&gt;
&lt;p&gt;&amp;lt;slider myslider&amp;gt;&lt;br /&gt;/ labels = ("very negative", "negative", "neutral", "good", "very good")&lt;br /&gt;/ range = (-10,10)&lt;br /&gt;/ defaultresponse = 0&lt;br /&gt;/ position = (20%,50%)&lt;br /&gt;/ slidersize = (50%,5%)&lt;br /&gt;&amp;lt;/slider&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;surveypage mypage&amp;gt;&lt;br /&gt;/ stimulusframes = [1=pic]&lt;br /&gt;/ questions = [1=myslider]&lt;br /&gt;&amp;lt;/surveypage&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;image pic&amp;gt;&lt;br /&gt;/ items = ("w1.bmp","w3.bmp")&lt;br /&gt;/ position = (50%, 30%)&lt;br /&gt;&amp;lt;/image&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;block myblock&amp;gt;&lt;br /&gt;/ trials = [1-2=mypage]&lt;br /&gt;&amp;lt;/block&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;expt&amp;gt;&lt;br /&gt;/ preinstructions = (intro) &lt;br /&gt;/ blocks = [1=myblock]&lt;br /&gt;/ postinstructions = (end)&lt;br /&gt;&amp;lt;/expt&amp;gt;&lt;/p&gt;</description><pubDate>Fri, 11 Mar 2011 01:38:33 GMT</pubDate><dc:creator>rainbow</dc:creator></item><item><title>RE: visual analogue scale?</title><link>https://forums.millisecond.com/Topic5762.aspx</link><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;Thanks for your quick reply! I will try it right now!&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Marcella&lt;/p&gt;</description><pubDate>Fri, 11 Mar 2011 00:55:34 GMT</pubDate><dc:creator>rainbow</dc:creator></item></channel></rss>