By Catalina - 6/12/2015
Hello,
I've created the following script on inquisit, but it does seem to be working. It does not show any errors either tho. Every time I try to run the experiment, the subject window pop up and then automatically goes back to the script (experiment does not begin). And if I try to open the experiment by clicking its icon, inquisit does not open, so I have to first open inquisit, then open the study otherwise it would never open!!!
Do you guys know what I could do? Thanks in advance. CCG
<defaults> / font = ("Arial", -21, 400, 0, 34) / txbgcolor = (transparent) / pretrialpause = 0 / posttrialpause = 150 </defaults>
<instruct> / font = ("Arial", -16, 400, 0, 49) </instruct>
<page preferences> Remember how I told you all people are either Green or Orange? ^^Well, this machine is going to pick for you and tell us whether you are going to be a Green or and Orange. ^^It can do this because it works kind of like flipping a coin. That’s right, it’s a really special machine and it will decide whether you’re a Green or an Orange. ^^All you have to do is to put your hand on it, like this… If we wait a few seconds the machine will tell us whether you are a Green or an Orange. ^^Are you ready to find out what you are? </page>
<page essentialism> Okay, now we're going to do something a little bit different, now I'm going to read you some stories and then ask you some questions. There are no right or wrong answer; I just want to know what you think.
-Press G for Green and O for Orange- </page>
<page explicitplay> You know when you play at school or with friends? ^^Okay, I'm going to show you some pictures of people and I just want you to let me know which person you would rather play with" </page>
<page futureinteractions> We're almost done! I just have few more questions. You ready?
-Type Orange or Green, depending on the answer that has been given by the kid </page>
<picture playgame> /items = ("playgame.jpg") /numitems = 1 </picture>
<picture break> /items = ("break.jpg") /numitems = 1 </picture>
<picture endgame> /items = ("endgame.jpg") /numitems = 1 </picture>
<picture compare1> /items = ("Boy1_Green.jpg") /numitems = 1 /position = (85,30) /size = (60%, 60%) </picture>
<picture compare2> /items = ("Boy1_Orange.jpg") /numitems = 1 /position = (15,30) /size = (60%, 60%) </picture>
<picture compare3> /items = ("Boy2_Orange.jpg") /numitems = 1 /position = (85,30) /size = (60%, 60%) </picture>
<picture compare4> /items = ("Boy2_Green.jpg") /numitems = 1 /position = (15,30) /size = (60%, 60%) </picture>
<picture compare5> /items = ("Boy3_Green.jpg") /numitems = 1 /position = (85,30) /size = (60%, 60%) </picture>
<picture compare6> /items = ("Boy3_Orange.jpg") /numitems = 1 /position = (15,30) /size = (60%, 60%) </picture>
<picture compare7> /items = ("Boy4_Orange.jpg") /numitems = 1 /position = (85,30) /size = (60%, 60%) </picture>
<picture compare8> /items = ("Boy4_Green.jpg") /numitems = 1 /position = (15,30) /size = (60%, 60%) </picture>
<picture compare9> /items = ("Boy5_Green.jpg") /numitems = 1 /position = (85,30) /size = (60%, 60%) </picture>
<picture compare10> /items = ("Boy5_Orange.jpg") /numitems = 1 /position = (15,30) /size = (60%, 60%) </picture>
<picture compare11> /items = ("Boy6_Orange.jpg") /numitems = 1 /position = (85,30) /size = (60%, 60%) </picture>
<picture compare12> /items = ("Boy6_Green.jpg") /numitems = 1 /position = (15,30) /size = (60%, 60%) </picture>
<picture compare13> /items = ("Boy7_Green.jpg") /numitems = 1 /position = (85,30) /size = (60%, 60%) </picture>
<picture compare14> /items = ("Boy7_Orange.jpg") /numitems = 1 /position = (15,30) /size = (60%, 60%) </picture>
<picture affinity15> /items = ("Boy8_Orange.jpg") /numitems = 1 /position = (85,30) /size = (60%, 60%) </picture>
<picture compare16> /items = ("Boy8_Green.jpg") /numitems = 1 /position = (15,30) /size = (60%, 60%) </picture>
<picture Sandcastle> /items = ("Sandcastle.jpg") /numitems = 1 /position = (50, 25) /size = (60%, 60%) </picture>
<picture cookies> /items = ("cookies.jpg") /numitems = 1 /position = (50, 25) /size = (60%, 60%) </picture>
<picture Puzzle> /items = ("Puzzle.jpg") /numitems = 1 /position = (50, 25) /size = (60%, 60%) </picture>
<text identitycompare1> /items = ("which of these two people you are more like?") /color = (0,0,0) /numitems = 1 /position = (50,80) /font = ("Arial", -20, 400, 0, 49) </text>
<text identitycompare2> /items = ("which of these two people is more like you?") /color = (0,0,0) /numitems = 1 /position = (50,80) /font = ("Arial", -20, 400, 0, 49) </text>
<text attitudecompare1> / items = ("Which of these two people you like better?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text playprefcompare1> / items = ("Which of these two people would you rather play with?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text essentialismcompare1> / items = ("Which person do you think also likes to work on puzzles?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text essentialismcompare2> / items = ("Which person do you think also likes to ride his bikes?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text essentialismcompare3> / items = ("Which person do you think also likes to play board games?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text essentialismcompare4> / items = ("Which person do you think also likes to swim?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text groupessent1> / items = ("Would it help us to know if they act the same?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text groupessent2> / items = ("Would it help us to know where they come from?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text groupessent3> / items = ("Would it help us to know what they have inside their bodies?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text> <text groupessent4> / items = ("Would it help us to know the things they like to do?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text selfessentq1> / items = ("When you grow up, you think you are going to be an Orange or a Green?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text selfessentq2> / items = ("What if you decided you really really wanted to in the other group, could you then become an Orange/Green") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text selfessentq3> / items = ("If you changed the colour of your sticker to Orange/Green. Would that make you a(n) Orange/Green?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text selfessentq4> / items = ("A long time ago, a mom and a dad from the Orange group had a baby. They couldn’t take care of the baby, so they gave their new baby to a mom and dad from the Green group instead. The mom and the dad from the Green group raised the baby and she eventually grew up. What group do you think she belongs to?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text selfessentq5> / items = ("A long time ago, a mom and a dad from the Green group had a baby. They couldn’t take care of the baby, so they gave their new baby to a mom and dad from the Orange group instead. The mom and the dad from the Orange group raised the baby and she eventually grew up. What group do you think she belongs to?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text selfessentq6> / items = ("How do you become a(n) Orange/Green? I'm just curious. There's no right or wrong answer") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text sharingcollab1> / items = ("You see these two kids here? Both of them have cookies in their lunch bags.Who do you think would share a cookie with you?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text sharingcollab2> / items = ("You are making a puzzle but you can't find the last piece for your puzzle.Who do you think would help you find the missing piece?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text sharingcollab3> / items = ("You want to build a sandcastle but you need some help.Who would you ask for help?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text sharingcollab4> / items = ("If you had two cookies right now, who would you share one with?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text futinteractionq1> / items = ("When you grow up, you think you are going to have more Orange friends or Green friends?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text futinteractionq2> / items = ("Who do you think is going to be your best friend in a future, a Green or an Orange?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text futinteractionq3> / items = ("When you grow up, do you think it would be easier to become friends with an Orange person or a Green person?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<text futinteractionq4> / items = ("When you grow up, do you think your neighbours are going to be mostly Green people, mostly Orange people or both?") / color = (0, 0, 0) / numitems = 1 /position = (50,80) / font = ("Arial", -20, 400, 0, 49) </text>
<openended selfessent1> / stimulusframes=[1=selfessentq1] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended selfessent2> / stimulusframes=[1=selfessentq2] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended selfessent3> / stimulusframes=[1=selfessentq3] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended selfessent4> / stimulusframes=[1=selfessentq4] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended selfessent5> / stimulusframes=[1=selfessentq5] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended selfessent6> / stimulusframes=[1=selfessentq6] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended futinteraction1> / stimulusframes=[1=futinteractionq1] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended futinteraction2> / stimulusframes=[1=futinteractionq2] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended futinteraction3> / stimulusframes=[1=futinteractionq3] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
<openended futinteraction4> / stimulusframes=[1=futinteractionq4] / position = (50, 95) /mouse = true / linelength = 60 / numlines = 5 /charlimit = 700 / showmousecursor = true </openended>
********** TRIALS ********** <trial playgame> /correctresponse = (" ") /frames = [1=playgame] /responsemode = correct </trial>
<trial break> /correctresponse = (" ") /frames = [1=break] /responsemode = correct </trial>
<trial endgame> /correctresponse = (" ") /frames = [1=endgame] /responsemode = correct </trial>
<trial identitycompare1> / stimulusframes = [1=identitycompare1; 2=compare1; 3=compare2] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial identitycompare2> / stimulusframes = [1=identitycompare1; 2=compare3; 3=compare4] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial identitycompare3> / stimulusframes = [1=identitycompare2; 2=compare5; 3=compare6] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial identitycompare4> / stimulusframes = [1=identitycompare2; 2=compare7; 3=compare8] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial attitudecompare1> / stimulusframes = [1=attitudecompare1; 2=compare9; 3=compare10] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial attitudecompare2> / stimulusframes = [1=attitudecompare1; 2=compare11; 3=compare12] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial attitudecompare3> / stimulusframes = [1=attitudecompare1; 2=compare13; 3=compare14] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial playprefcompare1> / stimulusframes = [1=playprefcompare2; 2=compare15; 3=compare16] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial playprefcompare2> / stimulusframes = [1=playprefcompare2; 2=compare1; 3=compare2] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial playprefcompare3> / stimulusframes = [1=playprefcompare2; 2=compare3; 3=compare4] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial essentialismcompare1> / stimulusframes = [1=essentialismcompare1; 2=compare6; 3=compare8] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial essentialismcompare2> / stimulusframes = [1=essentialismcompare2; 2=compare9; 3=compare11] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial essentialismcompare3> / stimulusframes = [1=essentialismcompare3; 2=compare10; 3=compare12] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial essentialismcompare4> / stimulusframes = [1=essentialismcompare4; 2=compare13; 3=compare15] / validresponse = ("g", "o") / correctresponse = ("g", "o") </trial>
<trial sharingcollab1> /stimulusframes = [1=sharingcollab1; 2=cookies; 3=compare3; 4=compare4] /validresponse = ( "g", "o") /correctresponse = ("g", "o") </trial>
<trial sharingcollab2> /stimulusframes = [1=sharingcollab2; 2=Puzzle; 3=compare5; 4=compare6] /validresponse = ( "g", "o") /correctresponse = ("g", "o") </trial>
<trial sharingcollab3> /stimulusframes = [1=sharingcollab3; 2=Sandcastle; 3=compare7; 4=compare8] /validresponse = ( "g", "o") /correctresponse = ("g", "o") </trial>
<trial sharingcollab4> /stimulusframes = [1=sharingcollab4; 2=cookies; 3=compare1; 4=compare2] /validresponse = ( "g", "o") /correctresponse = ("g", "o") </trial>
*********** BLOCKS *********** <block selfessent> /trials = [1=selfessent1; 2=selfessent2; 3=selfessent3; 4=selfessent4; 5=selfessent5; 6=selfessent6] /showmousecursor = true </block>
<block futinteraction> /trials = [1=futureinteractions; 2=futinteraction1; 3=futinteraction2; 4=futinteraction3; 5=futinteraction4] /showmousecursor = true </block>
<block preferences> /trials = [1-4=noreplace(identitycompare1, identitycompare2, identitycompare3, identitycompare4); 5-7=noreplace(attitudecompare1,attitudecompare2,attitudecompare3); 7=explicitplay; 8-10=noreplace(playprefcompare1, playprefcompare2, playprefcompare3)] </block>
<block essentialism> /trials = [1=essentialismcompare1; 2=essentialismcompare2; 3=essentialismcompare3; 4=essentialismcompare4] </block>
<block groupessent> /trials = [1=groupessent1; 2=groupessent2; 3=groupessent3; 4=groupessent4] </block>
<block sharingcollab> /trials = [1=sharingcollab1; 2=sharingcollab2; 3=sharingcollab3; 4=sharingcollab4] </block>
<block endgame> /bgstim = (endgame) /trials = [1=endgame] </block>
<block startgame> /bgstim = (startgame) /trials = [1=startgame] </block>
<block break> /bgstim = (break) /trials = [1=brea] </block>
******* Data ******* <data> / columns = [date time build subject trialcode blocknum trialnum stimulus blockcode] / format = TAB </data>
************ Experiment ************ <expt> /blocks = [1=playgame; 2=preferences; 3=break; 4=groupessent; 5= selfessent; 6=break; 7=sharingcollab; 8=futinteractation; 9=endgame] /subjects = (1 of 1) </expt>
|
By Dave - 6/12/2015
The problem is the presence of a stray quote character in (") in a <page> element:
<page explicitplay> You know when you play at school or with friends? ^^Okay, I'm going to show you some pictures of people and I just want you to let me know which person you would rather play with" </page>
Quotes have special meaning in Inquisit, e.g. determining where an item begins and ends as in
/ items = ("Apple", "Banana", "Cat", "Dog")
etc.
A stray quote will throw things of and prevent the script from parsing correctly. Either remove it or escape it properly as in
<page explicitplay> You know when you play at school or with friends? ^^Okay, I'm going to show you some pictures of people and I just want you to let me know which person you would rather play with~" </page>
Once you've fixed that, there are further issues: #1:
<block break> /bgstim = (break) /trials = [1=brea] </block>
should read <block break> /bgstim = (break) /trials = [1=break] </block>
i.e., you're missing a 'k'.
#2: <page> elements are *not* <trial> elements. You cannot run a <page> via the /trials attribute, you ought to use /pre- or /postinstructions:
<block futinteraction> /trials = [1=futureinteractions; 2=futinteraction1; 3=futinteraction2; 4=futinteraction3; 5=futinteraction4] /showmousecursor = true </block>
ought to be
<block futinteraction> / preinstructions = (futureinteractions) /trials = [1=futinteraction1; 2=futinteraction2; 3=futinteraction3; 4=futinteraction4] /showmousecursor = true </block>
and so forth for the other blocks.
#3: <block preferences> /trials = [1-4=noreplace(identitycompare1, identitycompare2, identitycompare3, identitycompare4); 5-7=noreplace(attitudecompare1,attitudecompare2,attitudecompare3); 7=explicitplay; 8-10=noreplace(playprefcompare1, playprefcompare2, playprefcompare3)] </block>
has trial #7 defined multiple times. As before, explicitplay is a <page> element, not a <trial> and you cannot run it this way. Use a regular <trial> with standard <text> elements or a <surveypage> to display the information.
#4:
<block startgame> /bgstim = (startgame) /trials = [1=startgame] </block>
There is neither a stimulus element called "startgame" in your script (cf. /bgstim), nor is there a <trial> called "startgame".
|
By Catalina - 6/15/2015
Thank you SO MUCH for your help!!!! Really appreciate it. Problem solved!
Best, Catalina
|
|