﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » Problem when script is run using a web-link</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 21 Sep 2026 13:53:01 GMT</lastBuildDate><ttl>20</ttl><item><title>Problem when script is run using a web-link</title><link>https://forums.millisecond.com/Topic21202.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I have developed a task that runs as intended when the script is executed on my local computer. However, when I upload the script to the web, and execute it using a web-link, the task no longer runs correctly. Specifically, if I make a response before the screen has been cleared, then I get a 'flash'. It seems to be that, once a response is made, all of the images on-screen are cleared and then redrawn, before the final clearscreen command (as mentioned, this doesn't happen when I run the script locally). I've copied what I assume is the most relevant bit of the script below. Are there any generic reasons why the task would run differently when executed over the web or is it something specific to my script?&lt;br/&gt;&lt;br/&gt;Thanks in advance for any help.&lt;br/&gt;&lt;br/&gt;Ben&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0 = prac_left, prac_right; 500 = probe_left, probe_right; 700 = prac_left, prac_right; 1000 = clearscreen]&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ beginresponsetime = 500&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ validresponse = (79, 80, 81, 75, 77, 71, 72, 73)&lt;br/&gt;/ iscorrectresponse = [trial.probeprac.response == values.probeleftcorr || trial.probeprac.response == values.proberightcorr]&lt;br/&gt;/ ontrialend = [values.lastprobeleft = values.probeleft; values.lastproberight = values.proberight]&lt;br/&gt;/ posttrialpause = 500&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;</description><pubDate>Tue, 28 Mar 2017 21:45:48 GMT</pubDate><dc:creator>BG</dc:creator></item><item><title>RE: Problem when script is run using a web-link</title><link>https://forums.millisecond.com/Topic21214.aspx</link><description>&lt;div data-id="21213" class="if-quote-wrapper" unselectable="on" data-guid="1490762722725"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21213" 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="21213" 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="21213" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, March 28, 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-21213"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21212" class="if-quote-wrapper" unselectable="on" data-guid="1490762722725"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21212" 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="21212" 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="21212" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;BG - Tuesday, March 28, 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-21212"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21204" class="if-quote-wrapper" unselectable="on" data-guid="1490762722725"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21204" 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="21204" 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="21204" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, March 28, 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-21204"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21202" class="if-quote-wrapper" unselectable="on" data-guid="1490762722725"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21202" 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="21202" 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="21202" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;BG - Tuesday, March 28, 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-21202"&gt;&lt;div class="if-quote-message-margin"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have developed a task that runs as intended when the script is executed on my local computer. However, when I upload the script to the web, and execute it using a web-link, the task no longer runs correctly. Specifically, if I make a response before the screen has been cleared, then I get a 'flash'. It seems to be that, once a response is made, all of the images on-screen are cleared and then redrawn, before the final clearscreen command (as mentioned, this doesn't happen when I run the script locally). I've copied what I assume is the most relevant bit of the script below. Are there any generic reasons why the task would run differently when executed over the web or is it something specific to my script?&lt;br/&gt;&lt;br/&gt;Thanks in advance for any help.&lt;br/&gt;&lt;br/&gt;Ben&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0 = prac_left, prac_right; 500 = probe_left, probe_right; 700 = prac_left, prac_right; 1000 = clearscreen]&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ beginresponsetime = 500&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ validresponse = (79, 80, 81, 75, 77, 71, 72, 73)&lt;br/&gt;/ iscorrectresponse = [trial.probeprac.response == values.probeleftcorr || trial.probeprac.response == values.proberightcorr]&lt;br/&gt;/ ontrialend = [values.lastprobeleft = values.probeleft; values.lastproberight = values.proberight]&lt;br/&gt;/ posttrialpause = 500&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21202"&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;&amp;gt; Are there any generic reasons why the task would run differently when executed over the web&lt;br/&gt;&lt;br/&gt;No, the code that executes scripts is literally the same in both Inquisit Web and Inquisit Lab. Could you post the link to the respective launch page?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21204"&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,&lt;br/&gt;&lt;br/&gt;Thanks for taking a look. Link to demo version - just use the spacebar to respond. If you mash it a couple of times while the pair of images is on-screen you should see the problem.&lt;br/&gt;&lt;br/&gt;&lt;a href="http://research.millisecond.com/bengrafton/prac.web"&gt;&lt;a href="http://research.millisecond.com/bengrafton/prac.web"&gt;http://research.millisecond.com/bengrafton/prac.web&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21212"&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;Thanks -- I think I'm seeing the "flash" (not 100% sure because it's subtle), although oddly enough I think I'm seeing it under *both* Inquisit Lab and Inquisit Web.&lt;br/&gt;&lt;br/&gt;Can you try with the attached, minor revision of the script? It explicitly sets the various &amp;lt;picture&amp;gt; elements' /erase attributes to false and as far as I can see does not exhibit any flashing. Do you see the same or different results on your system? Thanks!&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21213"&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 looks to have fixed it - thanks for your help!</description><pubDate>Tue, 28 Mar 2017 21:45:48 GMT</pubDate><dc:creator>BG</dc:creator></item><item><title>RE: Problem when script is run using a web-link</title><link>https://forums.millisecond.com/Topic21213.aspx</link><description>&lt;div data-id="21212" class="if-quote-wrapper" unselectable="on" data-guid="1490751305739"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21212" 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="21212" 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="21212" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;BG - Tuesday, March 28, 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-21212"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21204" class="if-quote-wrapper" unselectable="on" data-guid="1490751305739"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21204" 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="21204" 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="21204" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, March 28, 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-21204"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21202" class="if-quote-wrapper" unselectable="on" data-guid="1490751305739"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21202" 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="21202" 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="21202" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;BG - Tuesday, March 28, 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-21202"&gt;&lt;div class="if-quote-message-margin"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have developed a task that runs as intended when the script is executed on my local computer. However, when I upload the script to the web, and execute it using a web-link, the task no longer runs correctly. Specifically, if I make a response before the screen has been cleared, then I get a 'flash'. It seems to be that, once a response is made, all of the images on-screen are cleared and then redrawn, before the final clearscreen command (as mentioned, this doesn't happen when I run the script locally). I've copied what I assume is the most relevant bit of the script below. Are there any generic reasons why the task would run differently when executed over the web or is it something specific to my script?&lt;br/&gt;&lt;br/&gt;Thanks in advance for any help.&lt;br/&gt;&lt;br/&gt;Ben&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0 = prac_left, prac_right; 500 = probe_left, probe_right; 700 = prac_left, prac_right; 1000 = clearscreen]&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ beginresponsetime = 500&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ validresponse = (79, 80, 81, 75, 77, 71, 72, 73)&lt;br/&gt;/ iscorrectresponse = [trial.probeprac.response == values.probeleftcorr || trial.probeprac.response == values.proberightcorr]&lt;br/&gt;/ ontrialend = [values.lastprobeleft = values.probeleft; values.lastproberight = values.proberight]&lt;br/&gt;/ posttrialpause = 500&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21202"&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;&amp;gt; Are there any generic reasons why the task would run differently when executed over the web&lt;br/&gt;&lt;br/&gt;No, the code that executes scripts is literally the same in both Inquisit Web and Inquisit Lab. Could you post the link to the respective launch page?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21204"&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,&lt;br/&gt;&lt;br/&gt;Thanks for taking a look. Link to demo version - just use the spacebar to respond. If you mash it a couple of times while the pair of images is on-screen you should see the problem.&lt;br/&gt;&lt;br/&gt;&lt;a href="http://research.millisecond.com/bengrafton/prac.web"&gt;&lt;a href="http://research.millisecond.com/bengrafton/prac.web"&gt;http://research.millisecond.com/bengrafton/prac.web&lt;/a&gt;&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21212"&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;Thanks -- I think I'm seeing the "flash" (not 100% sure because it's subtle), although oddly enough I think I'm seeing it under *both* Inquisit Lab and Inquisit Web.&lt;br/&gt;&lt;br/&gt;Can you try with the attached, minor revision of the script? It explicitly sets the various &amp;lt;picture&amp;gt; elements' /erase attributes to false and as far as I can see does not exhibit any flashing. Do you see the same or different results on your system? Thanks!&lt;br/&gt;</description><pubDate>Tue, 28 Mar 2017 18:39:29 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title /><link>https://forums.millisecond.com/Topic21212.aspx</link><description>&lt;div data-id="21204" class="if-quote-wrapper" unselectable="on"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21204" 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="21204" 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="21204" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Tuesday, March 28, 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-21204"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="21202" class="if-quote-wrapper" unselectable="on" data-guid="1490714933978"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21202" 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="21202" 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="21202" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;BG - Tuesday, March 28, 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-21202"&gt;&lt;div class="if-quote-message-margin"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have developed a task that runs as intended when the script is executed on my local computer. However, when I upload the script to the web, and execute it using a web-link, the task no longer runs correctly. Specifically, if I make a response before the screen has been cleared, then I get a 'flash'. It seems to be that, once a response is made, all of the images on-screen are cleared and then redrawn, before the final clearscreen command (as mentioned, this doesn't happen when I run the script locally). I've copied what I assume is the most relevant bit of the script below. Are there any generic reasons why the task would run differently when executed over the web or is it something specific to my script?&lt;br/&gt;&lt;br/&gt;Thanks in advance for any help.&lt;br/&gt;&lt;br/&gt;Ben&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0 = prac_left, prac_right; 500 = probe_left, probe_right; 700 = prac_left, prac_right; 1000 = clearscreen]&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ beginresponsetime = 500&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ validresponse = (79, 80, 81, 75, 77, 71, 72, 73)&lt;br/&gt;/ iscorrectresponse = [trial.probeprac.response == values.probeleftcorr || trial.probeprac.response == values.proberightcorr]&lt;br/&gt;/ ontrialend = [values.lastprobeleft = values.probeleft; values.lastproberight = values.proberight]&lt;br/&gt;/ posttrialpause = 500&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21202"&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;&amp;gt; Are there any generic reasons why the task would run differently when executed over the web&lt;br/&gt;&lt;br/&gt;No, the code that executes scripts is literally the same in both Inquisit Web and Inquisit Lab. Could you post the link to the respective launch page?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21204"&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,&lt;br/&gt;&lt;br/&gt;Thanks for taking a look. Link to demo version - just use the spacebar to respond. If you mash it a couple of times while the pair of images is on-screen you should see the problem.&lt;br/&gt;&lt;br/&gt;&lt;a href="http://research.millisecond.com/bengrafton/prac.web"&gt;http://research.millisecond.com/bengrafton/prac.web&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 28 Mar 2017 17:35:12 GMT</pubDate><dc:creator>BG</dc:creator></item><item><title>RE: Problem when script is run using a web-link</title><link>https://forums.millisecond.com/Topic21204.aspx</link><description>&lt;div data-id="21202" class="if-quote-wrapper" unselectable="on" data-guid="1490714933978"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="21202" 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="21202" 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="21202" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;BG - Tuesday, March 28, 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-21202"&gt;&lt;div class="if-quote-message-margin"&gt;Hi,&lt;br/&gt;&lt;br/&gt;I have developed a task that runs as intended when the script is executed on my local computer. However, when I upload the script to the web, and execute it using a web-link, the task no longer runs correctly. Specifically, if I make a response before the screen has been cleared, then I get a 'flash'. It seems to be that, once a response is made, all of the images on-screen are cleared and then redrawn, before the final clearscreen command (as mentioned, this doesn't happen when I run the script locally). I've copied what I assume is the most relevant bit of the script below. Are there any generic reasons why the task would run differently when executed over the web or is it something specific to my script?&lt;br/&gt;&lt;br/&gt;Thanks in advance for any help.&lt;br/&gt;&lt;br/&gt;Ben&lt;br/&gt;&lt;br/&gt;/ stimulustimes = [0 = prac_left, prac_right; 500 = probe_left, probe_right; 700 = prac_left, prac_right; 1000 = clearscreen]&lt;br/&gt;/ inputdevice = keyboard&lt;br/&gt;/ beginresponsetime = 500&lt;br/&gt;/ responseinterrupt = trial&lt;br/&gt;/ validresponse = (79, 80, 81, 75, 77, 71, 72, 73)&lt;br/&gt;/ iscorrectresponse = [trial.probeprac.response == values.probeleftcorr || trial.probeprac.response == values.proberightcorr]&lt;br/&gt;/ ontrialend = [values.lastprobeleft = values.probeleft; values.lastproberight = values.proberight]&lt;br/&gt;/ posttrialpause = 500&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="21202"&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;&amp;gt; Are there any generic reasons why the task would run differently when executed over the web&lt;br/&gt;&lt;br/&gt;No, the code that executes scripts is literally the same in both Inquisit Web and Inquisit Lab. Could you post the link to the respective launch page?&lt;br/&gt;</description><pubDate>Tue, 28 Mar 2017 08:32:17 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>