deactivatedisable mouse for a certain time period
Paul Groot
pfc.groot at gmail.com
Wed Jun 4 19:29:29 UTC 2014
Hi Irini,
The mouse responses are only handled by eprime when the mouse device is
added as Input Mask in the *active *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.)
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).
Best
Paul
On 4 June 2014 16:43, Irini Symeonidou <irini.symeonidou at gmail.com> wrote:
> Hi,
>
> 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.
>
> Thank you
>
> Irini
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "E-Prime" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to e-prime+unsubscribe at googlegroups.com.
> To post to this group, send email to e-prime at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/e-prime/32656228-1ed8-4ca5-b4ea-68f77e91568a%40googlegroups.com
> <https://groups.google.com/d/msgid/e-prime/32656228-1ed8-4ca5-b4ea-68f77e91568a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/CAKAdR-sUJ%2BCY2NjfzZirjcW%2BP5nak5Sf8MXmw_vwd1%3Ds9RgxEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20140604/b33694d7/attachment.htm>
More information about the Eprime
mailing list