<div dir="ltr">Hi Marie-France,<div><br></div><div>I think this can be solved by modifying the exit condition of the ClickList (in my ImageSelectionExample script for example). By setting the number of cycles to a large number it is possible to accept multiple clicks withing one trial. Typically, the list would be exited after hitting a specific number of images. This can be done by calling the ClickList.Terminate function in the HandleClick inline as soon as the terminate condition is met. The ClickList will repeat as long as the Terminate function is not called, so this will solve the stray clicks. Note that every click (accepted or not) will add a new line to the edat output file.</div>
<div><br></div><div>Paul</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 June 2014 13:12, Marie-France Larsson <span dir="ltr"><<a href="mailto:marie-france.larsson@miun.se" target="_blank">marie-france.larsson@miun.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Paul!<br>Thank you very much for the links, great examples! I had managed to log the answers with script that is a bit similar to the one found in your examples, but the problem that I have is that the pictures on my slide do not cover the entire canvas, meaning that participants can click beside a picture, and the experiment will still go forward, but without a valid answer in the log. Since my participants will be children, there is a high risk that they will click a bit randomly, and I want to avoid missing values as much as possible by making the rest of the canvas "unclickable". I am trying to build an If / Else statement to solve it, I'm not sure that's the best way to go, but hopefully it can work.<br>
Regards,<br>Marie-France<br><br>On Wednesday, June 25, 2014 12:11:58 AM UTC+2, Paul Groot wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
You might have a look at these examples:<div><br></div><div><a href="http://pfcgroot.nl/e-prime/83-example-scripts/88-image-click-example.html" target="_blank">http://pfcgroot.nl/e-prime/83-<u></u>example-scripts/88-image-<u></u>click-example.html</a><br>
</div><div><a href="http://pfcgroot.nl/e-prime/83-example-scripts/84-image-selection-example.html" target="_blank">http://pfcgroot.nl/e-prime/83-<u></u>example-scripts/84-image-<u></u>selection-example.html</a><br></div>
<div><br></div><div>Paul</div></div>
<div><br><br><div class="gmail_quote">On 24 June 2014 17:19, Marie-France Larsson <span dir="ltr"><<a>marie-fran...@miun.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p>Hi!</p>
I seem to have reached a deadend again. I cannot for the life of me
figure out how to define which areas can be valid for a mouse click on a
slide, in this case it should be on SlideImages and SlideImages only. The way it is now, a click
anywhere on the slide will make the experiment go forward to the next
trial. However, I would like the experiment to go forward only after the
participant clicks on one of the SlideImages. A mouse click anywhere else
on the slide should not have any effect. Is this something that I can fix with the
"Duration/Input" settings in the slide's properties or will it require
InLine code?<br><br>Thank you for your input!<br><br>Kind regards,<br>Marie-France<span class="HOEnZb"><font color="#888888"><span><font color="#888888"><br></font></span></font></span></div><span class="HOEnZb"><font color="#888888"><span><font color="#888888">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a>e-prime+u...@<u></u>googlegroups.com</a>.<br>
To post to this group, send email to <a>e-p...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/27cb52b9-e02a-4160-8873-9d5393596479%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/<u></u>msgid/e-prime/27cb52b9-e02a-<u></u>4160-8873-9d5393596479%<u></u>40googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/<u></u>optout</a>.<br>
</font></span></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime+unsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/08d24a5b-5428-41aa-b1ae-a8bd9b287e2b%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/e-prime/08d24a5b-5428-41aa-b1ae-a8bd9b287e2b%40googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</font></span></blockquote></div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/CAKAdR-uabJD1Y_taCc0Tu3r2Pbk4ryJMEROKiaUozmRpSOD1mg%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/CAKAdR-uabJD1Y_taCc0Tu3r2Pbk4ryJMEROKiaUozmRpSOD1mg%40mail.gmail.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />