How to integrate pictures into a script?


Author
Message
CecileP
CecileP
Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)
Group: Forum Members
Posts: 2, Visits: 4

Dears,

I would like to integrate pictures into my script as primes, instead of words.
In the script I mentioned "picture1.jpg" in place of the text but then, where do I have to place my picture file, so that Inquisit will take it when the experiment runs?
For the moment only the text "picture.jpg" appears on the screen but not hte picture itself.
Is there any thing else I need to change in the script?


Thanks
Cécile


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
#1: You need to *change* the <text> elements representing your primes to <picture> elements, of course.

<block myblock>
/ trials = [1=mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=prime]
/ validresponse = (57)
</trial>

<text prime>
/ items = primeitems
</text>


<item primeitems>
/ 1 = "prime.jpg"
</item>

ought to become

<block myblock>
/ trials = [1=mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=prime]
/ validresponse = (57)
</trial>

<picture prime>
/ items = primeitems
</picture>


<item primeitems>
/ 1 = "prime.jpg"
</item>

#2: By default, Inquisit expects any external files to be located in the same folder as the script.

Edited 11 Years Ago by Dave
CecileP
CecileP
Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)Associate Member (109 reputation)
Group: Forum Members
Posts: 2, Visits: 4
Many thanks!!!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search