oh, sorry! I only posted the parts that I felt was crucial to understanding what my general approach was. Here's everything! (also I realized that I had accidentally deleted the stimulusframe attribute from trial when I copied and pasted here, which is probably why it wasn't running!))
**************************************************************************************************************
Parameters
**************************************************************************************************************
<parameters>
/getReadyDuration = 2000
/target_responsewindow = 1500
/presentationtime = 500
/set_length = 5
/debugmode = 0
</parameters>
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ fontstyle = ("Arial", 3.00%, false, false, false, false, 5, 0)
</instruct>
<htmlpage intro>
/ file = "intro.html"
</htmlpage>
<text finish>
/ items = ("Thank you!")
/ fontstyle = ("Arial", 8%, true, false, false, false, 5, 1)
/ position = (50%, 30%)
/ size = (80%, 10%)
/ vjustify = center
/ valign = center
/ halign = center
</text>
<text exit>
/ items = ("<press spacebar to exit>")
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/ position = (50%, 90%)
/ size = (80%, 5%)
/ vjustify = center
/ valign = center
/ halign = center
</text>
*******************************
General Helper Instructions
******************************
<text getReady>
/ items = ("Get Ready!
Put your index finger on the SPACEBAR")
/ fontstyle = ("Arial", 3.00%, false, false, false, false, 5, 1)
/ size = (80%, 40%)
/ vjustify = center
</text>
**************************************************************************************************************
Lists of items
**************************************************************************************************************
<item ImageSet1> // store all images in order
/1 = "set1-1.jpg"
/2 = "set1-2.jpg"
/3 = "set1-3.jpg
/4 = "set1-4.jpg"
/5 = "set1-5.jpg"
</item>
<item ImageSet2>
/1 = "set2-1.jpg"
/2 = "set2-2.jpg"
/3 = "set2-3.jpg"
/4 = "set2-4.jpg"
/5 = "set2-5.jpg"
</item>
**************************************************************************************************************
picture
**************************************************************************************************************
<picture set1 > // so the pictures will get displayed in order
/ items = ImageSet1
/ select = values.selectframe
/ size = (50%, 50%)
</picture>
<picture set2 >
/ items = ImageSet2
/ select = values.selectframe
/ size = (50%, 50%)
</picture>
****************************************
list
****************************************
<list selectframe>
/items = (1, 2, 3, 4, 5)
/ replace = false
</list>
<list duration>
/ items = (500)
</list>
**************************************************************************************************************
Defaults
**************************************************************************************************************
script requires Inquisit 6.1.0.0 or higher
<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "6.1.0.0"
/ fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/txbgcolor = white
/ txcolor = (0, 0, 0)
/screencolor = white
</defaults>
****************************************
raw data
****************************************
<data>
/ columns = (build, computer.platform, date, time, subject, group, session, blockcode, blocknum,
trialcode, trialnum,
values.starttrialtime, values.endtrialtime, parameters.target_responsewindow, values.target_responseendtime,
response, correct, values.responsetime, values.RT_hit, latency, values.count_frames,
values.Hit, values.FA,
values.SumTargets,
values.SumHit, values.SumFA)
</data>
****************************************
summary data
****************************************
<summarydata>
/ columns = (inquisit.build, computer.platform, script.startdate, script.starttime,
script.subjectid, script.groupid, script.sessionid, script.elapsedtime,
script.completed,
expressions.propcorrect, values.SumTargets, values.SumHit, values.SumFA,
expressions.meanRT_hit, expressions.Std_hit, expressions.medianRT_hit)
</summarydata>
**************************************************************************************************************
Values
**************************************************************************************************************
<values>
/starttrialtime = 0
/endtrialtime = 0
/responsetime = 0
/count_frames = 0
/numofframes = 5
/itemvalue = 0
/selectframe = 0
/frameduration = 500
</values>
*************************************************************************************************************
**************************************************************************************************************
<trial getReady>
/ stimulusframes = [1 = getReady]
/ validresponse = (" ")//for touchscreens: present the inactive response button
/ isvalidresponse = [
return(false);
]
/ trialduration = parameters.getReadyDuration
/ recorddata = false
</trial>
**************************************************************************************************************
**************************************************************************************************************
<trial Trial1>
/ ontrialbegin = [
values.starttrialtime = script.elapsedtime; //stores the start of the trial
if (values.count_frames != 0) { // if not first iteration, then update value
values.selectframe = list.selectframe.nextvalue;
}
else {
values.selectframe = list.selectframe;
}
values.count_frames += 1;
]
/ stimulusframes = [1 =set1]
/ responseinterrupt = immediate
/ validresponse = (" ")
/ beginresponsetime = values.frameduration
/ isvalidresponse = [
if (trial.Trial1.responsetext == " "){ //check if the spacebar was pressed
values.responsetime = script.elapsedtime; //store the recorded responsetime in script.elapsedtime
};
return (trial.Trial1.responsetext == " ");
]
/ branch = [
if (values.count_frames < values.numofframes){
//values.itemvalue += 1;
return (trial.Trial1);
};
]
/ ontrialend = [
values.endtrialtime = script.elapsedtime; //to record participant time
values.selectframe = 0;
]
</trial>
<openended userResponse> // text box for users
/ stimulusframes = [1 = typeprompt]
/ position = (50%, 70%)
/ linelength = 25
/ numlines = 1
/ isvalidresponse = [length(openended.userResponse.response) >= 3] // if they typed in more than 3 characters
</openended>
<text typeprompt>
/ items = ("Please type what you saw in this image.")
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3.00%, false, false, false, false, 5, 1)
/ size = (80%, 40%)
</text>
**************************************************************************************************************
**************************************************************************************************************
<block set1>
/onblockbegin = [
values.numofframes = 0;
]
/trials = [
1 = getReady;
2 = Trial1;
3 = userResponse;
]
</block>
**************************************************************************************************************
**************************************************************************************************************
<expt>
/ blocks = [
1 = set1;
]
</expt>