E-Prime Pausing?

AnaKrann anais.kreitmann at gmail.com
Mon Nov 26 20:26:21 UTC 2007


Thanks so very much for your response.

I will definitely try this and see if it works. Don't be surprised if
you hear back from me with more questions.

Thanks again very much for your advice.

Take care,

AnnKrann

On Nov 20, 4:19 pm, David McFarlane <mcfar... at msu.edu> wrote:
> AnaKrann,
>
> >We were wondering if there was any possible way to PAUSE a task in
> >the event of a crabby
> >infant so as to not have to start the task all over after each mini-fits.
>
> You might try the GetUserBreakState() and SetUserBreakState methods,
> look these up in the E-Basic online help file.  Pressing Ctrl+Shift
> any time during the experiment will set the user break state.  You
> then have to catch this with inline script at some appropriate place
> in your experiment.  Your inline script can then pause the experiment
> until you perform some action, then return to the experiment.  Make
> sure to reset the user break state before your experiment continues!
>
> Here is a crude script example:
>
> If GetUserBreakState() Then
>      MsgBox "Take a break"  ' Displays a message until the user clicks OK
>      SetUserBreakState 0  ' Make sure to reset this!
> End If
>
> You might instead have your script jump to some other object in your
> experiment, or do a List.Terminate, or run a TextDisplay object to
> wait for a key press, etc., but I hope you get the idea.  Let me know
> if you need any more help.
>
> -- dkm
>
> ---
> David McFarlane, Systems Designer
> Dept. Psychology, Michigan State University
> mcfar... at msu.edu    www.msu.edu/~mcfarla9
> Voice: (517) 353-0799    Fax: (517) 353-1652
--~--~---------~--~----~------------~-------~--~----~
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