This article applies to:
This experiment illustrates the use of the InsertResponse method in order to automate responses following the first trial rather than relying on traditional user-made responses.
This sample experiment is a functional BasicRT adaptation that automates responses by using the InsertResponse method.
This is accomplished within the Automation InLine object using a Do...While Loop that executes while the input mask on the Stimulus object is pending.
Additionally, a randomized Sleep statement is utilized to set the time window for the auto-reponse carried out by the InsertResponse method to avoid a long waiting time due to its infinite Duration.