Hi Inquisit community,
I am new to the software so I read a few tutorials. I started scripting this past week, but have been unable to run it to make sure my coding is going well.
The error feedback tells me that a) my input device (spacebar) is invalid; b) can't locate my pictures (both pictures are located on the same folder as the script; c) it tells me that the setting for one of my commands (instructions) is invalid. For the latter, what I was trying to do is have a page for each item. I tried using the "<page nameofpage>" command but it didn't work; then, I tried using "<item nameofitem>" and it showed the message on c).
What is wrong with my script and why I can't even run it? I haven't even gotten to the part where I have to add trials and blocks.
Here is how it looks so far:
=====================
************
Practice Stimuli
************
<picture highstatus>
/ items = blue001.jpg
/ size = (20%, 20%)
</picture>
<picture lowstatus>
/items = orange001.jpg
/size = (20%, 20%)
</picture>
<item highstatuslabel>
/1 = "High Status"
</item>
<item highstatus>
/1 = "blue001.jpeg"
</item>
<item lowstatuslabel>
/1 = "Low Status"
</item>
<item lowstatus>
/1 = "orange001.jpeg"
</item>
<text error>
/ position = (50%, 75%)
/ items = ("incorrect")
/ color = (255, 0, 0)
/ fontstyle = ("Arial", 10%, true)
</text>
************
Instruction Pages
************
<text instructions>
/ items = instructions1,instructions2,instructions3,instructions4,instructions5,instructions6
/ hjustify = left
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ select = instructions
/ fontstyle = ("Arial", 3.5%)
</text>
<item instructions1>
Research has shown that people use social status as a way to make judgment about others.
^^Social status can be determined by a number of things such as education, income, and occupation.
</item>
<item instructions2>
For example, see the ladder here and imagine it represents the general population (image of ladder)
^^At the top of the latter are the people who have the highest standing amongst the general population.
^^At the bottom are the people who have the lowest standing amongst the general population.
</item>
<item instructions3>
Here, the person in BLUE is a person of HIGH STATUS, (image)
^^While the person in ORANGE is a person of LOW STATUS. (image)
</item>
<item instructions4>
We would like you think about a person with high status.
^^Please list 4 characteristics you think would describe a person with HIGH STATUS. (image)
[insert text boxes here]
</item>
<item instructions5>
We would like you think about a person with low status.
^^Please list 4 characteristics you think would describe a person with LOW STATUS. (image)
[insert text boxes here]
</item>
<item instructions6>
For this portion of the session, you will be presented silhouettes with the following colors, and it will be your job to identify whether the color signifies HIGH or LOW social status depending on the previous chart by pressing the following keys:
^^(image) Blue (image) Orange
^^ HIGH STATUS LOW STATUS
^^ Press {z} Press {m}
^^You will need to answer as ACCURATELY as possible. We will conduct a test for which you need to achieve 100% accuracy in order to proceed. The picture will remain on the screen until you make a response.
</item>
<instruct>
/ nextlabel = "Continue"
/ lastlabel = "Continue"
/ prevkey = (0)
/ inputdevice = space bar
/ windowsize = (90%, 90%)
/ screencolor = (0,0,0)
/ fontstyle = ("Arial", 3%)
/ txcolor = (255, 255, 255)
/ wait = 1000
</instruct>