Jim,<br><br>You could add a small inline script after the image object to terminate the active list(s) after pressing a specific key. E.g.:<br><br>if StrComp(Stim.RESP, "X",1)=0 Then<br> TrialList.Terminate<br>
BlockList.Terminate<br>End If<br><br>You should call the Terminate function on all active lists and replace the object names with the object names used in your script.<br><br>In some cases it is more convenient to use the GetUserBreakState() function instead of defining a specific key:<br>
<br>If GetUserBreakState() <> 0 Then<br> ...<br>End IF<br><br>This will be triggered when pressing Ctrl+Shift.<br><br>Best<br>Paul<br><br><br><div class="gmail_quote">On 12 March 2013 19:54, Jim <span dir="ltr"><<a href="mailto:jjprisciandaro@gmail.com" target="_blank">jjprisciandaro@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello forum,<div><br></div><div>I have a simple task where images are randomly presented, one at a time, for 20 seconds each. I would like the "task" to run indefinitely until stopped by a user input. The goal is for me to be able to show the participant images until I no longer wish to (therefore, the duration of the task will differ from person to person and cannot be set in advance). Now, I just have the task running for a really long time and end up forcefully closing e-prime when I need the task to stop, but this is not a great solution. </div>
<div><br></div><div>Thanks,</div><div>Jim</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%2Bunsubscribe@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/msg/e-prime/-/gr7kRTvnHM8J" target="_blank">https://groups.google.com/d/msg/e-prime/-/gr7kRTvnHM8J</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/groups/opt_out</a>.<br>
<br>
<br>
</font></span></blockquote></div><br>
<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 e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
<br />
<br />