﻿<?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 4  » Enable copying of unique codes for mTurk studies</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 01 May 2026 09:28:03 GMT</lastBuildDate><ttl>20</ttl><item><title>Enable copying of unique codes for mTurk studies</title><link>https://forums.millisecond.com/Topic17163.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;Our university just got hold of Inquisit Web and I am running a study which produces a unique code that participants use to get paid. The trouble is, once in Inquisit, there seems to be no way to copy and paste this code for later pasting into mTurk.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Is the only solution to ask participants to keep a pen and paper handy? Or is there some code that will allow my participants to copy and paste this code?&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Thanks,</description><pubDate>Thu, 29 Oct 2015 16:40:03 GMT</pubDate><dc:creator>audiosophy</dc:creator></item><item><title>RE: Enable copying of unique codes for mTurk studies</title><link>https://forums.millisecond.com/Topic17532.aspx</link><description>Ah that's worked like a charm. thanks a bunch</description><pubDate>Thu, 29 Oct 2015 16:40:03 GMT</pubDate><dc:creator>audiosophy</dc:creator></item><item><title>RE: Enable copying of unique codes for mTurk studies</title><link>https://forums.millisecond.com/Topic17531.aspx</link><description>No, it should actually work like that:&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ blocks = [1=myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ mycode = ""&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ onblockbegin = [values.mycode=round(rand(1000,9999))]&lt;br/&gt;/ trials = [1=mytrial; 2=codepage]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("Press the spacebar.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage codepage&amp;gt;&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ questions = [1=codebox]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox codebox&amp;gt;&lt;br/&gt;/ caption = "Select and copy the following code:"&lt;br/&gt;/ defaultresponse = values.mycode&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;</description><pubDate>Thu, 29 Oct 2015 12:08:52 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Enable copying of unique codes for mTurk studies</title><link>https://forums.millisecond.com/Topic17530.aspx</link><description>Sorry, it took me a while till I needed to program this, but I&amp;nbsp;just realised you can't insert a value into the default box right? As in:&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox codebox&amp;gt;&lt;br/&gt;/ caption = "Your unique code is &amp;lt;%values.mturkcode%&amp;gt; - You can write this down or use the mouse to select, right click and copy it (keystrokes will not work) from the box below:"&lt;br/&gt;/ defaultresponse = "&amp;lt;%values.mturkcode%&amp;gt;" &lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;So in that case pen and paper IS the only method?&amp;nbsp;</description><pubDate>Thu, 29 Oct 2015 10:43:24 GMT</pubDate><dc:creator>audiosophy</dc:creator></item><item><title>RE: Enable copying of unique codes for mTurk studies</title><link>https://forums.millisecond.com/Topic17165.aspx</link><description>ah didn't realise you could do a default response in a check box. That's definitely a workaround that will hopefully ease my participants experience. Thanks Dave :)</description><pubDate>Sun, 20 Sep 2015 13:00:58 GMT</pubDate><dc:creator>audiosophy</dc:creator></item><item><title>RE: Enable copying of unique codes for mTurk studies</title><link>https://forums.millisecond.com/Topic17164.aspx</link><description>Paper and pencil is the fail-safe solution (which I'd recommend). As a potential alternative or in addition, you *could* display the code in a &amp;lt;surveypage&amp;gt; / &amp;lt;textbox&amp;gt; element. Participants could then select and copy the code via the context menu:&lt;br/&gt;&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/uploads/images/332f0f85-5669-4b13-b473-30a6.png" alt="https://www.millisecond.com/forums/uploads/images/332f0f85-5669-4b13-b473-30a6.png" /&gt;&lt;br/&gt;&lt;br/&gt;Example code for the above:&lt;br/&gt;&lt;br/&gt;&amp;lt;expt&amp;gt;&lt;br/&gt;/ blocks = [1=myblock]&lt;br/&gt;&amp;lt;/expt&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial; 2=codepage]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stimulusframes = [1=mytext]&lt;br/&gt;/ validresponse = (57)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("Press the spacebar.")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;surveypage codepage&amp;gt;&lt;br/&gt;/ showpagenumbers = false&lt;br/&gt;/ showquestionnumbers = false&lt;br/&gt;/ questions = [1=codebox]&lt;br/&gt;&amp;lt;/surveypage&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;textbox codebox&amp;gt;&lt;br/&gt;/ caption = "Select and copy the following code:"&lt;br/&gt;/ defaultresponse = "ABCD1234"&lt;br/&gt;&amp;lt;/textbox&amp;gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 18 Sep 2015 08:58:35 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>