<span><span><span id="ctl03_ctlTopic"><span id="ctl03_ctlTopic_ctlPanelBar"><span id="ctl03_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl04_lblFullMessage">Hey,<br>
I would like to program a script similar to the TETWaitForFixation PackageCall.<br>
As far as I know, the WaitForFixation PackageCall keeps track of the
subject’s gaze by actively accessing the .gazedata information. Once the
gaze has been on the specified Sub-Object of the fixation slide for a
predetermined amount of time a key press will be simulated, terminating
the underlying loop and thus moving on with the rest of the experiment.<br>
I would like to use a different algorithm that counts fixations and
after a predetermined maximum count is reached the rest of the
experiment should go on.<br>
In addition I would like measure the RT either if the maximum count is
reached or if the subject pressed a button to terminate the slide before
the maximum count is reached. Like the WaitForFixation package call
does.<br>
The code for the new algorithm is not the problem, but I do not know how
to terminate the slide and capture the RT once the maximum count is
reached. Is there something like Slide.terminate to end the slide? Or is
there a way to simulate a key press when the count is reached, like the
WaitForFixation package call does when the predetermined amount of time
is reached?<br>
Then I could simulate the key press within the code of accumulated fixations and terminate the trial on keypress and get the RT.<br>
<br>
So, do you know how I can simulate a key press to end a slide object?<br>
<br>
Thank you in advance.<br>
Jonas</span></span></span></span></span>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/oakLPs85u64J">https://groups.google.com/d/msg/e-prime/-/oakLPs85u64J</a>.<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 />