Group: Forum Members
Posts: 3,
Visits: 4
|
Hey everyone, I´m trying to run an experiment called "Information Display Matrix" with Inquisit 5. Therefore, I started with the script for Decision Borad Analysis Task and began to edit the relevant parts. Everything works so far! In the next step I want all tabs in the matrix to be shown in randomized order. I already got some help to edit the script, but I didn`t make it. Some tabs appear twice in the matrix, whereas others completely disappear...
Is there someone, who can help me with the relevant parts of the script?
1. declare coordinate variables for each tab <values> /tab1_x = 0 /tab1_y = 0 etc. </values> 2. change the position property of each tab from fixed to variable tab1: /hposition = values.tab1_x /vposition = values.tab1_y etc. 3. create a list with all possible x-coordinates and one with the corresponding y-coordinates Example: <list xcoordinates> /items = ( 10%, 20%, 30%, 10%, 20%, 30%) /replace = false /selectionrate = always </list> <list ycoordinates> /items =( 25%, 25%, 25%, 50%, 50%, 50%) /selectionmode = list.xcoordinates.currentindex /selectionrate = always </list> 4. at the beginning of the script assign all tabs their positions: values.tab1_x = list.xcoordinates.nextvalue; values.tab1_y = list.ycoordinates.nextvalue; etc.
--> I placed the 4th modification in the <onblockbegin> section. Could this be the mistake? Thanks in advance!
|