Response to a slide
Greg Osenbach
gosenbach at gmail.com
Sun Mar 1 14:33:03 UTC 2009
David,
That method worked great. Thanks for the suggestion!
Best Regards,
Greg
On Thu, Feb 26, 2009 at 9:12 AM, David McFarlane <mcfarla9 at msu.edu> wrote:
>
> Greg,
>
> > I have a slide that I am looping through (time out at 100ms). Each time
> > I change one of the values on the slide (random number). The subject is
> > supposed to press a key to stop it and then I do some calculations with
> > what ever the random number was at the time. I would like the subject
> > to do this with the space bar. When I set the allowable response to
> > {SPACE} and my inline do a check: If Slide1.RESP = " " and I have also
> > tries If Slide1.RESP = chr(32), it does not work. If I set the
> > allowable response to 1 and do the check If Slide1.RESP = "1", It works
> > perfectly. I would think that I need something in my if statement other
> > than " " or chr(32).
> >
> > Anyone have any ideas? Thanks.
>
> BTW, if I were looping through a slide and just wanted to stop when the
> subject responds to any presentation, I might try another EP trick.
> Instead of even getting a response to each slide presentation, I might
> put a Wait object (let's call it ResponseWait) before my slide loop. I
> would make its Duration 0, set it collect my desired response, and
> (here's the key) set Time Limit to "(infinite)" or the max duration of
> my slide loop. The PST User's Guide calls this Extended Input, see the
> much overlooked Appendix C. I would probably also set its End Action to
> Terminate so that it will terminate the current slide when the subject
> responds, unless I wanted to allow the final slide to time-out on its
> own. Anyway, then in my script or whatever I would just test for a
> response to ResponseWait instead of my slides.
>
> I really don't know if this makes things any better in your case, but I
> had an experiment where this technique solved a lot of problems.
>
> -- David McFarlane, Professional Faultfinder
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20090301/ee4f44ac/attachment.htm>
More information about the Eprime
mailing list