<div dir="ltr">Hi Irini,<div><br></div><div>The mouse responses are only handled by eprime when the mouse device is added as Input Mask in the <b>active </b>E-Object (such as as slide). If it's not included, EPrime will ignore mouse clicks. The MouseDevice object can also be programmed using inline script, for example to show or hide the cursor. (The EBasic manual contains examples for doing so.)</div>
<div><br></div><div>However, you mention that you would like to prevent program crashes. In my experience, EPrime will crash as soon as it is not the active program on the desktop anymore. This can happen, for example, if you have two displays attached to the computer, and the windows desktop is extended across both. Any mouse click on the second screen will cause serious problems. The same happens when you accidentally press a key on the keyboard that causes another program to become active (like the Windows key). I'm not sure if there is an easy workaround for this because Windows handles such key and mouse presses itself, even if ERun is active. I know there are tools to disable certain key's system wide, but that won't be an option to disable the mouse at specific time points during the experiment. If the second display (if any) is indeed the problem, the easiest workaround is to disconnect or disable the second display before starting EPrime. Another option is to use the second display in EPrime to display a dummy Text or Slide object. (The multiple display option is available in EP 2 pro).</div>
<div><br></div><div>Best</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 4 June 2014 16:43, Irini Symeonidou <span dir="ltr"><<a href="mailto:irini.symeonidou@gmail.com" target="_blank">irini.symeonidou@gmail.com</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, <div><br></div><div>I am wondering if there is an inline code in e-prime that tells the program to deactivate/disable the mouse at a certain point in time during the trial so that if the participant clicks the mouse by accident e-prime will not record or recognize the click (so that the program won't crash). I know you can do this in Matlab, I'm wondering if there is anything similar for e-prime. </div>
<div><br></div><div>Thank you </div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Irini </div><div> </div></font></span></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/32656228-1ed8-4ca5-b4ea-68f77e91568a%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/e-prime/32656228-1ed8-4ca5-b4ea-68f77e91568a%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-sUJ%2BCY2NjfzZirjcW%2BP5nak5Sf8MXmw_vwd1%3Ds9RgxEg%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/CAKAdR-sUJ%2BCY2NjfzZirjcW%2BP5nak5Sf8MXmw_vwd1%3Ds9RgxEg%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 />