Rearranging the selection logic a bit should do the trick:
**************************************************************************************************************
**************************************************************************************************************
DEFAULTS
**************************************************************************************************************
**************************************************************************************************************
script requires Inquisit 5.0.0.0 or higher
/fontheight = 10%
/fontheightmask = 20%
/fontheightmasktrain = 10%
/responsekeyleft = 30
/responsekeyleft_label = "A"
/responsekeyright = 40
/responsekeyright_label = "'"
/ screencolor = black
/ voicekeythreshold = 15
/ minimumversion = "5.0.0.0"
/ fontstyle = ("Arial", 3.5%, false, false, false, false, 5, 1)
-
/1 = "In the first part of this project you will see two photos with words explaining each photo below the photo.
You will then hear an audio file asking you to click a button that coincides with one of the photos.
Click on A for the photo on the left and ' for the photo on the right."
/2 = "This is a timed selection task. GO AS FAST AS YOU CAN but try not to make mistakes.
A series of asterisks, like the following, ******** will be displayed on the screen followed by a quick flash.
You will then see two words.
After the two words appear, you will hear a word.
Repeat the word you hear outloud immediately after you hear the word."
/3 = "Good job. There will be one more series just like the one you just completed. GO AS FAST AS YOU CAN but try not to make mistakes.
A series of asterisks, like the following, ******** will be displayed on the screen followed by a quick flash.
You will then see two words.
After the two words appear, you will hear a word.
Repeat the word you hear outloud immediately after you hear the word."
/4 = "For the second part of this test, use the A and ' keys to select the correct option.
A series of asterisks, like the following, ******** will be displayed on the screen followed by a quick flash.
You will then see two words.
After the two words appear, you will hear a word.
Use the A (on the left side of the keyboard) and ' (on the right side of the keyboard) to select the correct option that appears on the left or right of the screen."
/5 = "Good job. There will be one more set just like the one you just completed. Use the A and ' keys to select the correct option.
A series of asterisks, like the following, ******** will be displayed on the screen followed by a quick flash.
You will then see two words.
After the two words appear, you will hear a word.
Use the A (on the left side of the keyboard) and ' (on the right side of the keyboard) to select the correct option that appears on the left or right of the screen."
***************************VALUES**********************
/selectContinue = 1
/target = ""
/correcth = ""
/distractorh = ""
/correcthin = ""
/distractorhin = ""
/correcttrain = ""
/distractortrain = ""
/trainFitem = 1
/trainTitem = 1
***************************VALUES*********************
-
/1 = "Press the SPACE BAR to begin"
***********training pictures***********
-
/ 1 = "dog.jpg"
/ 2 = "cat.jpg"
/ 3 = "apple.jpg"
/ 4 = "house.jpg"
/ 5 = "ball.jpg"
/ 6 = "banana.jpg"
/ 7 = "boat.jpg"
/ 8 = "snail.jpg"
/ 9 = "tree.jpg"
/10 = "car.jpg"
************end of traning pictures********
***********congruous pictures***********
-
/ 1 = "dog.jpg"
/ 2 = "cat.jpg"
/ 3 = "apple.jpg"
/ 4 = "house.jpg"
/ 5 = "ball.jpg"
/ 6 = "banana.jpg"
/ 7 = "boat.jpg"
/ 8 = "snail.jpg"
/ 9 = "tree.jpg"
/10 = "car.jpg"
************end of congruous pictures********
**********incongruous pictures**************
-
/ 1 = "cat.jpg"
/ 2 = "dog.jpg"
/ 3 = "house.jpg"
/ 4 = "apple.jpg"
/ 5 = "banana.jpg"
/ 6 = "ball.jpg"
/ 7 = "snail.jpg"
/ 8 = "boat.jpg"
/ 9 = "car.jpg"
/10 = "tree.jpg"
***********end of incongruous pictures********
/ items = sounditems
/ select = picture.mypicture.currentindex
/ erase = false
/ items = sounditems
/ select = picture.mypictureincong.currentindex
/ erase = false
/ items = sounditems
/ select = values.trainTitem
/ erase = false
-
/ 1 = "dog.wav"
/ 2 = "cat.wav"
/ 3 = "apple.wav"
/ 4 = "house.wav"
/ 5 = "ball.wav"
/ 6 = "banana.wav"
/ 7 = "boat.wav"
/ 8 = "snail.wav"
/ 9 = "tree.wav"
/ 10 = "car.wav"
/ items = correctitems
/ select = picture.mypicture.currentindex
/ vposition = 50%
/ fontstyle = ("Courier", parameters.fontheight, false, false, false, false, 5, 1)
/ hposition = values.correcth
/ items = correctitems
/ select = picture.mypictureincong.currentindex
/ vposition = 50%
/ fontstyle = ("Courier", parameters.fontheight, false, false, false, false, 5, 1)
/ hposition = values.correcthin
/ items = correctitems
/ select = values.trainTitem
/ vposition = 75%
/ fontstyle = ("Courier", parameters.fontheight, false, false, false, false, 5, 1)
/ hposition = values.correcttrain
-
/ 1 = "Dog"
/ 2 = "Cat"
/ 3 = "Apple"
/ 4 = "House"
/ 5 = "Ball"
/ 6 = "Banana"
/ 7 = "Boat"
/ 8 = "Snail"
/ 9 = "Tree"
/ 10 = "Car"
/ items = distractoritems
/ select = picture.mypicture.currentindex
/ vposition = 50%
/ fontstyle = ("Courier", parameters.fontheight, false, false, false, false, 5, 1)
/ hposition = values.distractorh
/ items = distractoritems
/ select = picture.mypictureincong.currentindex
/ vposition = 50%
/ fontstyle = ("Courier", parameters.fontheight, false, false, false, false, 5, 1)
/ hposition = values.distractorhin
/ items = distractoritemstrain
/ select = values.trainFitem
/ vposition = 75%
/ fontstyle = ("Courier", parameters.fontheight, false, false, false, false, 5, 1)
/ hposition = values.distractortrain
-
/ 1 = "Cat"
/ 2 = "Dog"
/ 3 = "House"
/ 4 = "Apple"
/ 5 = "Banana"
/ 6 = "Ball"
/ 7 = "Snail"
/ 8 = "Boat"
/ 9 = "Car"
/ 10 = "Tree"
-
/ 1 = "Dog"
/ 2 = "Cat"
/ 3 = "Apple"
/ 4 = "House"
/ 5 = "Ball"
/ 6 = "Banana"
/ 7 = "Boat"
/ 8 = "Snail"
/ 9 = "Tree"
/ 10 = "Car"
-
/1="*******
*******"
-
/1="+"
-
/ 1 = "T1.jpg"
/ 2 = "T2.jpg"
/ 3 = "T3.jpg"
/ 4 = "T4.jpg"
/ 5 = "T5.jpg"
/ 6 = "T6.jpg"
/ 7 = "T7.jpg"
/ 8 = "T8.jpg"
/ 9 = "T9.jpg"
/ 10 = "T10.jpg"
/items = mask
/select = 1
/ fontstyle = ("Courier", parameters.fontheightmask, false, false, false, false, 5, 1)
/ txcolor = black
/txbgcolor = white
/position = (50%, 50%)
/items = focus
/select = 1
/ fontstyle = ("Courier", parameters.fontheightmask, false, false, false, false, 5, 1)
/ txcolor = white
/txbgcolor = black
/position = (50%, 50%)
// randomize the left-right position of the two response options
/ items = (30%, 70%)
/ selectionrate = always
/ items = item.instructions
/ hjustify = center
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ txcolor = black
/ select = sequence
/ resetinterval = 20
/ items = continue
/ select = values.selectContinue
/ position = (50%, 95%)
/ valign = bottom
/ items = ("Incorrect")
/ fontstyle = ("Courier", parameters.fontheightmasktrain, false, false, false, false, 5, 1)
/ position = (50%, 20%)
/ txcolor = red
/ items = truehappy
/ position = (50%, 20%)
/ items = ("Good Job")
/ fontstyle = ("Courier", parameters.fontheightmasktrain, false, false, false, false, 5, 1)
/ position = (50%, 50%)
/ txcolor = blue
/ stimulustimes = [1=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
/ stimulustimes = [2=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
/ stimulustimes = [3=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
/ stimulustimes = [4=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
/ stimulustimes = [5=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
/ validresponse = (anyresponse)
/ inputdevice = voicerecord
/ errormessage = false
/ recorddata = false
/ ontrialbegin = [
values.correcttrain = list.hpos.nextvalue;
values.distractortrain = list.hpos.nextvalue;
values.trainTitem = list.trainingitemsT.nextvalue;
values.trainFitem = list.trainingitemsF.nextvalue;
]
/ ontrialbegin = [
if (values.correcttrain == 30%) values.target = parameters.responsekeyleft else values.target = parameters.responsekeyright;
]
/ stimulustimes = [0= clearscreen; 400=mypicturetrainT, mypicturetrainF; 450=correctopiontrain, distractoroptiontrain; 1200=mysoundtrain]
/ inputdevice = keyboard
/ validresponse = (parameters.responsekeyleft, parameters.responsekeyright)
/ correctresponse = (values.target)
/ response = correct
/ errormessage = true(errortxt, 500)
/ correctmessage = true(traincorrect, 800)
/ recorddata = true
/ items = (1,2,3,4,5,6,7,8,9,10)
/ replace = false
/ items = (1,2,3,4,5,6,7,8,9,10)
/ replace = true
/ selectionrate = always
/ not = (values.trainTitem)
/ ontrialbegin = [
values.correcth = list.hpos.nextvalue;
values.distractorh = list.hpos.nextvalue;
]
/ stimulustimes = [0= clearscreen; 1= focus; 500 =mask; 550=mypicture; 565=clearscreen; 566=mask; 616=clearscreen; 700=correctoption, distractoroption; 1200=mysound]
/ validresponse = (anyresponse)
/ beginresponsetime = 1100
/ inputdevice = voicerecord
/ responseinterrupt = frames
/ trialduration = 4500
/ recorddata = true
/ ontrialbegin = [
values.correcthin = list.hpos.nextvalue;
values.distractorhin = list.hpos.nextvalue;
]
/ stimulustimes = [0= clearscreen; 1= focus; 500 =mask; 550=mypictureincong; 565=clearscreen; 566=mask; 616=clearscreen; 700=correctoptionincong, distractoroptionincong; 1200=mysoundincong]
/ validresponse = (anyresponse)
/ beginresponsetime = 1100
/ inputdevice = voicerecord
/ responseinterrupt = frames
/ trialduration = 4500
/ recorddata = true
/ ontrialbegin = [
values.correcth = list.hpos.nextvalue;
values.distractorh = list.hpos.nextvalue;
]
/ ontrialbegin = [
if (values.correcth == 30%) values.target = parameters.responsekeyleft else values.target = parameters.responsekeyright;
]
/ stimulustimes = [0= clearscreen; 1= focus; 500 =mask; 550=mypicture; 565=clearscreen; 566=mask; 616=clearscreen; 700=correctoption, distractoroption; 1200=mysound]
/ inputdevice = keyboard
/ validresponse = (parameters.responsekeyleft, parameters.responsekeyright)
/ correctresponse = (values.target)
/ trialduration = 4000
/ recorddata = true
/ ontrialbegin = [
values.correcthin = list.hpos.nextvalue;
values.distractorhin = list.hpos.nextvalue;
]
/ ontrialbegin = [
if (values.correcthin == 30%) values.target = parameters.responsekeyleft else values.target = parameters.responsekeyright;
]
/ stimulustimes = [0= clearscreen; 1= focus; 500 =mask; 550=mypictureincong; 565=clearscreen; 566=mask; 616=clearscreen; 700=correctoptionincong, distractoroptionincong; 1200=mysoundincong]
/ inputdevice = keyboard
/ validresponse = (parameters.responsekeyleft, parameters.responsekeyright)
/ correctresponse = (values.target)
/ trialduration = 4000
/ recorddata = true
/ trials = [1 = traininginstructions; 2-11 = trainingsession; 12 = firstinstructions; 13 = micset; 14-23 = firsttrial; 24 = secondinstructions; 25 = trial.micset; 26-35 = firsttrialincong; 36 = thirdinstructions; 37-46 = secondtrial; 47 = forthinstructions; 48-57 = secondtrialincong;]