## Calling particular items from the items list in the picture element

##### Calling particular items from the items list in the picture element
 Author Message aarthiravi Group: Forum Members Posts: 15, Visits: 132 Is there a way to select certain items from the items list in the picture element on Inquisit? I am trying to create an experiment to show sequences of four items in a fixed order. For example, if I have: /1="1a.jpg"/2="1b.jpg"/3="1c.jpg"/4="1d.jpg"/5="2a.jpg"/6="2b.jpg"/7="2c.jpg"/8="2d.jpg"/9="3a.jpg"/10="3b.jpg"/11="3c.jpg"/12="3d.jpg" /1="1a.jpg"/2="2b.jpg"/3="3c.jpg"Is it possible to do something like- / items = item.stims (1,2,3,4) ## to present the first four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%) / items = item.stims (5,6,7,8) ## to present the next four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%)/ items = item.stims (9,10,11,12) ## to present the next four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%) / items = item.probestims (1)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%) / items = item.probestims (2)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ items = item.probestims (3)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)And then/1="fixation.png"/ items = item.fixationcross/ position = (50%, 50%)/ size = (20%,20%)/ valign = center/ halign = center/ items = ("Was this item present in the sequence?")/ position = (50%, 10%)/ fontstyle = ("Arial", 5%, false, false, false, false, 5, 1)/ size = (25%, 10%)/ txcolor = black/ txbgcolor = #afafaf /////////////////////////////////////////////////////////////////////////////////////////////// stimsize = 75%/ stimulusduration = 1500/ probeduration = 1500/ fixationduration = 3000/ responsewindow = 120000////////////////////////////////////////////////////////////////////////////////////////////// showmousecursor = false/ stimulustimes = [0=enc1]/ timeout = parameters.stimulusduration/ showmousecursor = false/ stimulustimes = [0=enc2]/ timeout = parameters.stimulusduration/ showmousecursor = false/ stimulustimes = [0=enc3]/ timeout = parameters.stimulusduration/////////// showmousecursor = false/ stimulustimes = [0=fixation]/ timeout = parameters.fixationduration/////////// showmousecursor = false/ stimulustimes = [0=probe1, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17) / showmousecursor = false/ stimulustimes = [0=probe2, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17)/ showmousecursor = false/ stimulustimes = [0=probe3, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17)////////////////////////////////////////////////////////////////////////////////////////////// trials = [1=encodingimage1; 2=encodingimage1; 3=encodingimage1; 4=encodingimage1; 5=fixationcross; 6=probe1]/ trials = [1=encodingimage2; 2=encodingimage2; 3=encodingimage2; 4=encodingimage2; 5=fixationcross; 6=probe2]/ trials = [1=encodingimage3; 2=encodingimage3; 3=encodingimage3; 4=encodingimage3; 5=fixationcross; 6=probe3]////////////////////////////////////////////////////////////////////////////////////////////// blocks = [1=encoding2; 2=encoding3; 3=encoding1] Dave posted 3 Months Ago ANSWER Group: Administrators Posts: 12K, Visits: 97K +x aarthiravi - 12/13/2023Is there a way to select certain items from the items list in the picture element on Inquisit? I am trying to create an experiment to show sequences of four items in a fixed order. For example, if I have: /1="1a.jpg"/2="1b.jpg"/3="1c.jpg"/4="1d.jpg"/5="2a.jpg"/6="2b.jpg"/7="2c.jpg"/8="2d.jpg"/9="3a.jpg"/10="3b.jpg"/11="3c.jpg"/12="3d.jpg" /1="1a.jpg"/2="2b.jpg"/3="3c.jpg"Is it possible to do something like- / items = item.stims (1,2,3,4) ## to present the first four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%) / items = item.stims (5,6,7,8) ## to present the next four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%)/ items = item.stims (9,10,11,12) ## to present the next four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%) / items = item.probestims (1)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%) / items = item.probestims (2)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ items = item.probestims (3)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)And then/1="fixation.png"/ items = item.fixationcross/ position = (50%, 50%)/ size = (20%,20%)/ valign = center/ halign = center/ items = ("Was this item present in the sequence?")/ position = (50%, 10%)/ fontstyle = ("Arial", 5%, false, false, false, false, 5, 1)/ size = (25%, 10%)/ txcolor = black/ txbgcolor = #afafaf /////////////////////////////////////////////////////////////////////////////////////////////// stimsize = 75%/ stimulusduration = 1500/ probeduration = 1500/ fixationduration = 3000/ responsewindow = 120000////////////////////////////////////////////////////////////////////////////////////////////// showmousecursor = false/ stimulustimes = [0=enc1]/ timeout = parameters.stimulusduration/ showmousecursor = false/ stimulustimes = [0=enc2]/ timeout = parameters.stimulusduration/ showmousecursor = false/ stimulustimes = [0=enc3]/ timeout = parameters.stimulusduration/////////// showmousecursor = false/ stimulustimes = [0=fixation]/ timeout = parameters.fixationduration/////////// showmousecursor = false/ stimulustimes = [0=probe1, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17) / showmousecursor = false/ stimulustimes = [0=probe2, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17)/ showmousecursor = false/ stimulustimes = [0=probe3, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17)////////////////////////////////////////////////////////////////////////////////////////////// trials = [1=encodingimage1; 2=encodingimage1; 3=encodingimage1; 4=encodingimage1; 5=fixationcross; 6=probe1]/ trials = [1=encodingimage2; 2=encodingimage2; 3=encodingimage2; 4=encodingimage2; 5=fixationcross; 6=probe2]/ trials = [1=encodingimage3; 2=encodingimage3; 3=encodingimage3; 4=encodingimage3; 5=fixationcross; 6=probe3]////////////////////////////////////////////////////////////////////////////////////////////// blocks = [1=encoding2; 2=encoding3; 3=encoding1]Yes, you do this via the /select attribute.I.e./ items = item.stims/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence(1,2,3,4)/ position =(50%, 50%)/ items = item.stims/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence(5,6,7,8)/ position =(50%, 50%)/ items = item.stims/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence(9,10,11,12)/ position =(50%, 50%)/ items = item.probestims/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ select = 1/ items = item.probestims/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ select = 2/ items = item.probestims/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ select = 3 aarthiravi Group: Forum Members Posts: 15, Visits: 132 +x Dave - 12/13/2023+x aarthiravi - 12/13/2023Is there a way to select certain items from the items list in the picture element on Inquisit? I am trying to create an experiment to show sequences of four items in a fixed order. For example, if I have: /1="1a.jpg"/2="1b.jpg"/3="1c.jpg"/4="1d.jpg"/5="2a.jpg"/6="2b.jpg"/7="2c.jpg"/8="2d.jpg"/9="3a.jpg"/10="3b.jpg"/11="3c.jpg"/12="3d.jpg" /1="1a.jpg"/2="2b.jpg"/3="3c.jpg"Is it possible to do something like- / items = item.stims (1,2,3,4) ## to present the first four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%) / items = item.stims (5,6,7,8) ## to present the next four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%)/ items = item.stims (9,10,11,12) ## to present the next four items/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence/ position =(50%, 50%) / items = item.probestims (1)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%) / items = item.probestims (2)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ items = item.probestims (3)/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)And then/1="fixation.png"/ items = item.fixationcross/ position = (50%, 50%)/ size = (20%,20%)/ valign = center/ halign = center/ items = ("Was this item present in the sequence?")/ position = (50%, 10%)/ fontstyle = ("Arial", 5%, false, false, false, false, 5, 1)/ size = (25%, 10%)/ txcolor = black/ txbgcolor = #afafaf /////////////////////////////////////////////////////////////////////////////////////////////// stimsize = 75%/ stimulusduration = 1500/ probeduration = 1500/ fixationduration = 3000/ responsewindow = 120000////////////////////////////////////////////////////////////////////////////////////////////// showmousecursor = false/ stimulustimes = [0=enc1]/ timeout = parameters.stimulusduration/ showmousecursor = false/ stimulustimes = [0=enc2]/ timeout = parameters.stimulusduration/ showmousecursor = false/ stimulustimes = [0=enc3]/ timeout = parameters.stimulusduration/////////// showmousecursor = false/ stimulustimes = [0=fixation]/ timeout = parameters.fixationduration/////////// showmousecursor = false/ stimulustimes = [0=probe1, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17) / showmousecursor = false/ stimulustimes = [0=probe2, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17)/ showmousecursor = false/ stimulustimes = [0=probe3, pnp]/ timeout = parameters.responsewindow/ inputdevice = keyboard/ validresponse = (16, 17)////////////////////////////////////////////////////////////////////////////////////////////// trials = [1=encodingimage1; 2=encodingimage1; 3=encodingimage1; 4=encodingimage1; 5=fixationcross; 6=probe1]/ trials = [1=encodingimage2; 2=encodingimage2; 3=encodingimage2; 4=encodingimage2; 5=fixationcross; 6=probe2]/ trials = [1=encodingimage3; 2=encodingimage3; 3=encodingimage3; 4=encodingimage3; 5=fixationcross; 6=probe3]////////////////////////////////////////////////////////////////////////////////////////////// blocks = [1=encoding2; 2=encoding3; 3=encoding1]Yes, you do this via the /select attribute.I.e./ items = item.stims/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence(1,2,3,4)/ position =(50%, 50%)/ items = item.stims/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence(5,6,7,8)/ position =(50%, 50%)/ items = item.stims/ size = (parameters.stimsize, parameters.stimsize)/ select = sequence(9,10,11,12)/ position =(50%, 50%)/ items = item.probestims/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ select = 1/ items = item.probestims/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ select = 2/ items = item.probestims/ size = (parameters.stimsize, parameters.stimsize)/ position =(50%, 50%)/ select = 3Thank you!

#### Merge Selected

Merge into selected topic...

Merge into merge target...

Merge into a specific topic ID...