Skip to main content
. 2013 Jun 21;8(6):e67769. doi: 10.1371/journal.pone.0067769

Table 1. Overview of main tags and attributes introduced by the ScriptingRT library.

Tag Explanation
<WelcomeScreen/> Defines the contents of the first screen, which is equipped with a button to be pressed
<Part/> Creates a block of items and instructions that are not collecting latencies
<Instruction/> Displays an instruction
<TestPart/> Creates a block of items that collect responses and latencies
<Item/> Creates an item that can contain one or more frames
<Frame/> Creates a frame, the basic unit of stimuli presentation
response Attribute of <Part/> and <TestPart>, defines the way a frame can end. Can be keyboard event, mouse event, or time event.
positive, negative, noresponse Attributes of <TestPart/>, define expected positive and negative response, and maximum time for answer
scramble Defines way of item randomization in a <TestPart/>
outputURL, protocolFormatHead, protocolFormatItem, Used in the opening <Application/> tag, define location and formatting of results output
debug Used in the opening <Application/> tag, displays protocol for debugging at run time
finishedButtonValue Used in the opening <Application/> tag, sets exit message
<repeat/> Attribute of <TestPart/>, creates frames that are repeated before frames in every item
<Feedback/>, <correct/>, <incorrect/>, <miss/> Creates feedback frames to be displayed after each item
<branches/>, <Branch/> Attributes of TestParts, implementing branching between them