Hello,<div><br></div><div>I am currently developing an experiment in which the participants will click an area of the screen, following which an image should appear in that location.</div><div><br></div><div>What I have tried so far is having a slide object containing an image object. In the image object<span style="color: rgb(0, 0, 0); font-family: sans-serif; line-height: 19px; ">'</span>s sub-property pages I<span style="color: rgb(0, 0, 0); font-family: sans-serif; line-height: 19px; ">'</span>ve tried to set the X and Y positions to the attributes "<span style="background-color: rgba(255, 255, 255, 0.917969); font-family: arial, sans-serif; ">[PicPosX]" and</span></div><span style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); ">"[PicPosY]". However, once I click apply, E-Prime automatically changes this to </span>"<span style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); ">[PicPosX]:center" and "</span><span style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); ">[PicPosY]:center".</span><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">In order to get the coordinates themselves, I have added this inline-code after the slide object:</font></div><div><span style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); ">Dim theMouseResponseData As MouseResponseData</span><br style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); "><span style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); ">Set theMouseResponseData = CMouseResponseData(Slide1.</span><wbr style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); "><span style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); ">InputMasks.Responses(1))</span><br style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); "><span style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); ">c.SetAttrib "PicPosX", theMouseResponseData.CursorX</span><br style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); "><span style="font-family: arial, sans-serif; background-color: rgba(255, 255, 255, 0.917969); ">c.SetAttrib "PicPosY", theMouseResponseData.CursorY</span> </div><div><br></div><div>Obtaining the coordinates and setting the attributes seems to work perfectly, since I can see the coordinates in the resulting data files.</div><div>However, the image does not change positions, but remains in the center (most likely due to E-Prime<span style="color: rgb(0, 0, 0); font-family: sans-serif; line-height: 19px; ">'</span>s :center-addition to my attributes).</div><div><br></div><div>Any help in solving this problem would, of course, be greatly appreciated.</div><div><br></div><div>Kind regards,</div><div>Johannes Bjerva</div><div><div><br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/H2dE96O9xH8J">https://groups.google.com/d/msg/e-prime/-/H2dE96O9xH8J</a>.<br /> 
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />

For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />