<div dir="ltr">Hi all,<div>Thanks in advance for your patience in my naive E-basic attempts.<br><div>I am currently attempting to alter an existing script that would allow participants to hear a target when pressing a key and move on to the test when they pressed any other key. This was accomplished using a loop while command on a slide containing the target sound. The looped slide automatically played the target sound, and the participant could repeat the playing of this sound as many times as they liked before moving on to the test.</div></div><div>I now would like for the participant to hear three target sounds, and then for them to be able to repeat whichever target sound they like (1,2,3) via button responses 1, 2, or 3, respectively, until they want to move on (anything other than 1,2,3 would allow them to move on).</div><div>I created two new slide states calling upon target sound 2 (targreminder2) and target sound 3 (targreminder3), and changed the name of the default state to targreminder1.</div><div>I then eliminated the while/then loop and, based on some example text, tried this code. I</div><div><br></div><div><div style="font-family: arial, sans-serif;">Dim theState As SlideState</div><div style="font-family: arial, sans-serif;">Set theState = LeftTargetReminder.States(<wbr>LeftTargetReminder.<wbr>ActiveState)</div><div style="font-family: arial, sans-serif;">Select Case LeftTargetReminder.RESP</div><div style="font-family: arial, sans-serif;">case "1"</div><div style="font-family: arial, sans-serif;"> theState = LeftTargetReminder.States(LeftTargetReminder.targreminder1)</div><div style="font-family: arial, sans-serif;"><wbr></div><div style="font-family: arial, sans-serif;">case "2"</div><div style="font-family: arial, sans-serif;"> theState = LeftTargetReminder.States(LeftTargetReminder.targreminder2)</div><div style="font-family: arial, sans-serif;"><wbr></div><div style="font-family: arial, sans-serif;">case "3"</div><div style="font-family: arial, sans-serif;"> theState = LeftTargetReminder.States(LeftTargetReminder.targreminder3)</div><div style="font-family: arial, sans-serif;"><wbr></div><div style="font-family: arial, sans-serif;">End Select</div></div><div style="font-family: arial, sans-serif;"><br></div><div><span style="font-family: arial, sans-serif;">E-prime gives me the error: "</span><font face="arial, sans-serif">targreminder1 is not a property of the object</font><span style="font-family: arial, sans-serif;">". Am I barking up the wrong tree completely? Any help would be greatly appreciated.</span></div><div><span style="font-family: arial, sans-serif;"><br></span></div><div><span style="font-family: arial, sans-serif;">Best,<br>Danielle</span></div></div>
<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+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/d32d92e4-91f3-4e1a-909b-b0af893e4a3f%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/d32d92e4-91f3-4e1a-909b-b0af893e4a3f%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />