Group: Administrators
Posts: 13K,
Visits: 104K
|
(1) My text file contains this: /1="4" /2="7" /3="3“ /4="5" /5="2"
The above is not something Inquisit can work with. It's not an element / missing the required tags. Also, if you want to output something that you can use as index numbers, you'll have to modify your code to write something out that conforms to the syntax of e.g. a <list> element. Your text file ought to contain something that looks like this:
<list myindex> / items = (4,7,3,5,2) </list>
(2)
<include Attitudes_index> / file = "/Users/Julia/Documents/Inquisit/Test/Test.rtf" </include>
Don't use RTF, use a plain, UTF-8 encoded TXT file.
<include Attitudes_index> / file = "/Users/Julia/Documents/Inquisit/Test/Test.txt" </include>
(3)
<text attitudes> / items = attitudes /fontstyle = ("Arial", 5%, true) /txcolor = (0, 0, 255) /vposition = 43 /select = include.attitudes_index.file </text>
This is wrong. It is not the *file* you ought to reference, but the *element that's in the file* (see #1 above). All <include> does is effectively paste the *contents* of one file (your TXT file) into another (your main script). I.e.
<text attitudes> / items = attitudes /fontstyle = ("Arial", 5%, true) /txcolor = (0, 0, 255) /vposition = 43 /select = list.myindex.nextvalue </text>
|