Using mouse click to select one of several alternative responses

Richard Carvey supercarv at googlemail.com
Tue Dec 20 11:57:13 UTC 2011


Hi Paul,

Thanks for that. It looks like it makes sense to me, and should be
quite helpful. I'll have a crack at making it work after Christmas. I
appreciate the speedy reply though.

Thanks again,

Richard

On Dec 19, 10:44 pm, Paul Groot <pfc.gr... at gmail.com> wrote:
> Hi Richard,
>
> You might have a look at the VAS example script I posted a while ago
> onhttp://pfcgroot.nl/e-prime/83-example-scripts/80-visual-analogue-scal....
> This example contains a bit more script then you need, but the
> ACK_HandleResponse function (in the user script tab) demonstrates how
> you can use boundaries of (text-)objects as hit area for mouse clicks.
> The core of this piece of script uses the Mouse.GetCursorPos and
> Object.HitTest functions to implement two user confirmation buttons.
> It can be easily adapted for more buttons. Also, instead of using the
> boundaries of a slide element (i.e. text or image), you can also make
> your own hit-test function.
>
> cheers,
> Paul Groot
>
> 2011/12/19 Richard Carvey <superc... at googlemail.com>:
>
>
>
> > Hi,
>
> > I'm trying to build an experiment in which nine items are displayed on
> > screen, and participants need to select one fo them using the mouse. I
> > have seen a couple of people mention issues with clicks anywhere on
> > screen being registered as responses, but I would like to make sure
> > that only clicks within the bounds of the nine items are accepted, and
> > that the specific item clicked is logged. Clicking any of the nine
> > items should advanc the program, no one answer is correct or
> > incorrect.
>
> > If anybody could offer me some advice on how to achieve this, it would
> > be greatly appreciated. Annoyingly, whoever installed E-Prime (1.2,
> > btw) on this computer saw fit not install the help functions correctly/
> > at all.
>
> > Thanks,
>
> > Richard
>
> > --
> > You received this message because you are subscribed to the Google Groups "E-Prime" group.
> > To post to this group, send email to e-prime at googlegroups.com.
> > To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/e-prime?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list