Group: Forum Members
Posts: 17,
Visits: 110
|
Hello, because we want to use a task that includes movies and we would like to make it compatible for windows and mac we tried to use the following code:
<include> / precondition=[computer.platform == "windows"] / file="wmv_videos.exp"(WHERE DOES THIS REFER TO?) </include>
<include> / precondition=[computer.platform == "mac"] / file="mov_videos.exp" (WHERE DOES THIS REFER TO?) </include>
However, it does not work. Now I read on this forum that it should not be included in a batchfile (as we tried first) but in the file of the task which included the movies. However, I don't really get where to put the code and what other things we need to redefine. Our code looks like this:
<item videoFear> /1="Stimuli morph task/02_fear.wmv" /2="Stimuli morph task/10_fear.wmv" /3="Stimuli morph task/16_fear.wmv" /4="Stimuli morph task/20_fear.wmv" /5="Stimuli morph task/33_fear.wmv" /6="Stimuli morph task/37_fear.wmv" </item>
<video videoAngry> / items = videoAngry / position = (50% , 50%) / size = (256px,256px) </video>
<item videoAngry> /1="Stimuli morph task/02_angry.wmv" /2="Stimuli morph task/10_angry.wmv" /3="Stimuli morph task/16_angry.wmv" /4="Stimuli morph task/20_angry.wmv" /5="Stimuli morph task/33_angry.wmv" /6="Stimuli morph task/37_angry.wmv" </item>
<video videoHappy> / items = videoHappy / position = (50% , 50%) / size = (256px,256px) </video>
<item videoHappy> /1="Stimuli morph task/02_happy.wmv" /2="Stimuli morph task/10_happy.wmv" /3="Stimuli morph task/16_happy.wmv" /4="Stimuli morph task/20_happy.wmv" /5="Stimuli morph task/33_happy.wmv" /6="Stimuli morph task/37_happy.wmv" </item>
<video videoSad> / items = videoSad / position = (50% , 50%) / size = (256px,256px) </video>
<item videoSad> /1="Stimuli morph task/02_sad.wmv" /2="Stimuli morph task/10_sad.wmv" /3="Stimuli morph task/16_sad.wmv" /4="Stimuli morph task/20_sad.wmv" /5="Stimuli morph task/33_sad.wmv" /6="Stimuli morph task/37_sad.wmv" </item>
<block MorphTask> / preinstructions = (MorphTaskStart) / trials = [1-24 = noreplace(videoFear,videoAngry,videoHappy,videoSad)] / ontrialbegin = [text.focus.textcolor = values.focuscolor] / postinstructions = (MorphTaskEnd) </block>
So can someone advice us on where to put this code and what other changes we need to make?
Thanks!
|