<?xml version="1.0"?>
<Experiment xmlns:dt="urn:schemas-microsoft-com:datatypes"><General><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>252</Build><_VersionPersist dt:dt="int">200</_VersionPersist></Version></General><ExperimentObject><Guid dt:dt="string">{C9A43B59-DE69-4799-9F48-0DA43617998B}</Guid><Root dt:dt="string">SessionProc</Root><Name dt:dt="string">ProcessResponsesTemplate</Name><Author dt:dt="string">Psychology Software Tools, Inc.</Author><Abstract dt:dt="string">The IsPending() method of a response object will return TRUE as long as all of the object’s input masks are pending. That is, as long as a) the time limit for a response has not expired, b) the maximum number of expected responses have not been received, and c) the termination response has not been received, IsPending() will return TRUE. Thus, a Do…While loop can be used to run script until the input masks are no longer pending.
 
For this to work, the response object’s Duration property must be set to 0 so that the script will begin executing immediately after the object appears on screen. To set the length of time that the object will remain on screen, you can specify a value in each input mask’s Time Limit property (i.e. 1000, 2000, infinite). Each input mask must also have their End Action property set to “(none)”.
 
To allow for more than one response and/or specify a termination response, select an input mask on the Duration/Input tab of the response object. Click the “Advanced” button to modify the Max Count and Termination Response properties.
 
If you are planning to copy the script from this sample into another experiment, you will also need to copy the script from the User tab of the Script window and paste it into the same place in your experiment. If you open the sample in E-Studio, go to 'View', and click on 'Script', your Script window will open.</Abstract><Notes dt:dt="string"></Notes><ClockGuid dt:dt="string">{10343DBD-55BE-45C7-AA62-A5239F6918AB}</ClockGuid><ClockIndex dt:dt="int">0</ClockIndex><ClockScale dt:dt="r8">1</ClockScale><VersionMajor dt:dt="int">2</VersionMajor><VersionMinor dt:dt="int">0</VersionMinor><VersionInternal dt:dt="int">10</VersionInternal><VersionBuild dt:dt="int">356</VersionBuild><VersionAutoIncrement dt:dt="boolean">0</VersionAutoIncrement><CreationDateUtc dt:dt="dateTime">2021-12-08T21:43:34.000</CreationDateUtc><Features dt:dt="int">536870912</Features><Devices><Device><Name dt:dt="string">Display</Name><Class dt:dt="string">Display</Class><DeviceObject><_VersionPersist dt:dt="int">1</_VersionPersist><OpenDevice dt:dt="int">-1</OpenDevice><RTAdjustment dt:dt="int">0</RTAdjustment><Width dt:dt="int">640</Width><Height dt:dt="int">480</Height><BitsPerPixel dt:dt="int">32</BitsPerPixel><DefaultColor dt:dt="string">white</DefaultColor><DisplayIndex dt:dt="int">1</DisplayIndex><RefreshRateRequested dt:dt="int">0</RefreshRateRequested><MinAcceptableRefreshRate dt:dt="int">39</MinAcceptableRefreshRate><MaxAcceptableRefreshRate dt:dt="int">201</MaxAcceptableRefreshRate><DefaultSettingsUsed dt:dt="string">No</DefaultSettingsUsed><BadRefreshErrorUsed dt:dt="string">Yes</BadRefreshErrorUsed><FlippingEnabled dt:dt="boolean">1</FlippingEnabled><RefreshAlignment dt:dt="string">0%</RefreshAlignment></DeviceObject></Device><Device><Name dt:dt="string">Keyboard</Name><Class dt:dt="string">Keyboard</Class><DeviceObject><_VersionPersist dt:dt="int">1</_VersionPersist><OpenDevice dt:dt="int">-1</OpenDevice><CollectionMode dt:dt="int">1</CollectionMode><EmulateDeviceName dt:dt="string"></EmulateDeviceName><SystemAbortWatchSequence dt:dt="string"></SystemAbortWatchSequence><UserBreakStateSequence dt:dt="string"></UserBreakStateSequence><ConditionalExitSequence dt:dt="string"></ConditionalExitSequence><RTAdjustment dt:dt="int">0</RTAdjustment><CapsLock dt:dt="boolean">0</CapsLock><NumLock dt:dt="boolean">0</NumLock></DeviceObject></Device><Device><Name dt:dt="string">Mouse</Name><Class dt:dt="string">Mouse</Class><DeviceObject><_VersionPersist dt:dt="int">1</_VersionPersist><OpenDevice dt:dt="int">-1</OpenDevice><CollectionMode dt:dt="int">1</CollectionMode><EmulateDeviceName dt:dt="string"></EmulateDeviceName><SystemAbortWatchSequence dt:dt="string"></SystemAbortWatchSequence><UserBreakStateSequence dt:dt="string"></UserBreakStateSequence><ConditionalExitSequence dt:dt="string"></ConditionalExitSequence><RTAdjustment dt:dt="int">0</RTAdjustment><OpenMode dt:dt="int">0</OpenMode><ShowCursor dt:dt="boolean">0</ShowCursor></DeviceObject></Device><Device><Name dt:dt="string">Sound</Name><Class dt:dt="string">Sound</Class><DeviceObject><_VersionPersist dt:dt="int">1</_VersionPersist><OpenDevice dt:dt="int">0</OpenDevice><RTAdjustment dt:dt="int">0</RTAdjustment><API dt:dt="string">DirectSound</API></DeviceObject></Device></Devices><Packages/><DataFile><WarnBeforeOverwrite dt:dt="int">-1</WarnBeforeOverwrite><WarnIfConvertFailed dt:dt="int">-1</WarnIfConvertFailed><RemoveERecoveryFile dt:dt="int">0</RemoveERecoveryFile><ReceiveFeedbackDuringDataFileConversion dt:dt="int">-1</ReceiveFeedbackDuringDataFileConversion><DataFileName dt:dt="string"></DataFileName><LogLevels><LogLevel dt:dt="string">Block</LogLevel><LogLevel dt:dt="string">Trial</LogLevel><LogLevel dt:dt="string">SubTrial</LogLevel><LogLevel dt:dt="string">LogLevel5</LogLevel><LogLevel dt:dt="string">LogLevel6</LogLevel><LogLevel dt:dt="string">LogLevel7</LogLevel><LogLevel dt:dt="string">LogLevel8</LogLevel><LogLevel dt:dt="string">LogLevel9</LogLevel><LogLevel dt:dt="string">LogLevel10</LogLevel></LogLevels></DataFile><StartupInfo><DisplaySummary dt:dt="boolean">1</DisplaySummary><UseDefaults dt:dt="boolean">0</UseDefaults><LoadStartupInfo dt:dt="boolean">1</LoadStartupInfo><StartupInfoItems><StartupInfoItem><Name dt:dt="string">Subject</Name><Prompt dt:dt="string">Please enter the Subject Number (0-32767):</Prompt><DataType dt:dt="int">0</DataType><Enabled dt:dt="int">-1</Enabled><PromptEnabled dt:dt="int">-1</PromptEnabled><Default dt:dt="string">1</Default><Min dt:dt="int">0</Min><Max dt:dt="int">32767</Max></StartupInfoItem><StartupInfoItem><Name dt:dt="string">Session</Name><Prompt dt:dt="string">Please enter the Session Number (0-32767):</Prompt><DataType dt:dt="int">0</DataType><Enabled dt:dt="int">-1</Enabled><PromptEnabled dt:dt="int">-1</PromptEnabled><Default dt:dt="string">1</Default><Min dt:dt="int">0</Min><Max dt:dt="int">32767</Max></StartupInfoItem><StartupInfoItem><Name dt:dt="string">Group</Name><Prompt dt:dt="string">Please enter Subject's Group (0-32767):</Prompt><DataType dt:dt="int">0</DataType><Enabled dt:dt="int">0</Enabled><PromptEnabled dt:dt="int">0</PromptEnabled><Default dt:dt="string">1</Default><Min dt:dt="int">0</Min><Max dt:dt="int">32767</Max></StartupInfoItem><StartupInfoItem><Name dt:dt="string">Name</Name><Prompt dt:dt="string">Please enter Subject's Name:</Prompt><DataType dt:dt="int">1</DataType><Enabled dt:dt="int">0</Enabled><PromptEnabled dt:dt="int">0</PromptEnabled><Default dt:dt="string"></Default><MaxLength dt:dt="int">255</MaxLength></StartupInfoItem><StartupInfoItem><Name dt:dt="string">Age</Name><Prompt dt:dt="string">Please enter Subject's Age (0-150):</Prompt><DataType dt:dt="int">0</DataType><Enabled dt:dt="int">0</Enabled><PromptEnabled dt:dt="int">0</PromptEnabled><Default dt:dt="string">0</Default><Min dt:dt="int">0</Min><Max dt:dt="int">150</Max></StartupInfoItem><StartupInfoItem><Name dt:dt="string">Sex</Name><Prompt dt:dt="string">Please enter Subject's Sex:</Prompt><DataType dt:dt="int">2</DataType><Enabled dt:dt="int">0</Enabled><PromptEnabled dt:dt="int">0</PromptEnabled><Default dt:dt="string">male</Default><Choices><Choice dt:dt="string">male</Choice><Choice dt:dt="string">female</Choice></Choices></StartupInfoItem><StartupInfoItem><Name dt:dt="string">Handedness</Name><Prompt dt:dt="string">Enter Subject's Handedness:</Prompt><DataType dt:dt="int">2</DataType><Enabled dt:dt="int">0</Enabled><PromptEnabled dt:dt="int">0</PromptEnabled><Default dt:dt="string">left</Default><Choices><Choice dt:dt="string">left</Choice><Choice dt:dt="string">right</Choice></Choices></StartupInfoItem><StartupInfoItem><Name dt:dt="string">ResearcherID</Name><Prompt dt:dt="string">Please enter Researcher's ID:</Prompt><DataType dt:dt="int">0</DataType><Enabled dt:dt="int">0</Enabled><PromptEnabled dt:dt="int">0</PromptEnabled><Default dt:dt="string">1</Default><Min dt:dt="int">0</Min><Max dt:dt="int">32767</Max></StartupInfoItem></StartupInfoItems></StartupInfo></ExperimentObject><StudioItems><StudioItem><Name dt:dt="string">Stimulus</Name><TypeName dt:dt="string">Slide</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{B3B2BADA-9573-4766-8DDE-A3189A9AF19B}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>273</Build><_VersionPersist dt:dt="int">110</_VersionPersist></Version><LoggingItems><LoggingItem><Name dt:dt="string">OnsetDelay</Name><Log dt:dt="boolean">1</Log></LoggingItem><LoggingItem><Name dt:dt="string">OnsetTime</Name><Log dt:dt="boolean">1</Log></LoggingItem><LoggingItem><Name dt:dt="string">DurationError</Name><Log dt:dt="boolean">1</Log></LoggingItem><LoggingItem><Name dt:dt="string">PreRelease</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">Duration</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">StartTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">FinishTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TimingMode</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CustomOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CustomOffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ActionDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ActionTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TargetOffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TargetOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">PendingInputMasks</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OffsetDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RTTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ACC</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RT</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RESP</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CRESP</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">Tag</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OnsetToOnsetTime</Name><Log dt:dt="boolean">1</Log></LoggingItem></LoggingItems><DeviceList><Device dt:dt="string">Keyboard</Device></DeviceList><InputMasks><InputMask><DeviceName dt:dt="string">Keyboard</DeviceName><DeviceClass dt:dt="string">Keyboard</DeviceClass><AllowableInput dt:dt="string">{ANY}</AllowableInput><CorrectInput dt:dt="string"></CorrectInput><TimeLimit dt:dt="string">-1</TimeLimit><MaxCount dt:dt="string">100</MaxCount><InputAction dt:dt="int">0</InputAction><SyncOwnerDuration dt:dt="boolean">0</SyncOwnerDuration><Enabled dt:dt="boolean">1</Enabled><FlushInputBuffer dt:dt="string">Yes</FlushInputBuffer><TerminationInput dt:dt="string">{ESCAPE}</TerminationInput><UserTag dt:dt="string"></UserTag><EchoClients/><ResponseMode dt:dt="string">All</ResponseMode><ProcessBackspace dt:dt="string">Yes</ProcessBackspace></InputMask></InputMasks><Tasks/><SlideStates><SlideState><Name dt:dt="string">Default</Name><ForeColor dt:dt="string"></ForeColor><BackColor dt:dt="string">white</BackColor><BackStyle dt:dt="string">opaque</BackStyle><BorderColor dt:dt="string">black</BorderColor><BorderWidth dt:dt="string">0</BorderWidth><X dt:dt="string">center</X><Y dt:dt="string">center</Y><Width dt:dt="string">100%</Width><Height dt:dt="string">100%</Height><XAlign dt:dt="string">center</XAlign><YAlign dt:dt="string">center</YAlign><ClearAfter dt:dt="string">No</ClearAfter><Enabled dt:dt="string">Yes</Enabled><SlideObjects><SlideObject><TypeName dt:dt="string">SlideText</TypeName><Name dt:dt="string">StimulusText</Name><ForeColor dt:dt="string">black</ForeColor><BackColor dt:dt="string">white</BackColor><BackStyle dt:dt="string">opaque</BackStyle><BorderWidth dt:dt="string">2</BorderWidth><BorderColor dt:dt="string">black</BorderColor><X dt:dt="string">center</X><Y dt:dt="string">25%</Y><Width dt:dt="string">100%</Width><Height dt:dt="string">30%</Height><XAlign dt:dt="string">center</XAlign><YAlign dt:dt="string">center</YAlign><AlignHorizontal dt:dt="string">center</AlignHorizontal><AlignVertical dt:dt="string">center</AlignVertical><FontName dt:dt="string">Courier New</FontName><FontSize dt:dt="string">48</FontSize><FontBold dt:dt="string">Yes</FontBold><FontItalic dt:dt="string">No</FontItalic><FontUnderline dt:dt="string">No</FontUnderline><FontStrikeout dt:dt="string">No</FontStrikeout><Text dt:dt="string">Responses: 0</Text><WordWrap dt:dt="int">-1</WordWrap></SlideObject><SlideObject><TypeName dt:dt="string">SlideText</TypeName><Name dt:dt="string">InstructionText</Name><ForeColor dt:dt="string">black</ForeColor><BackColor dt:dt="string">white</BackColor><BackStyle dt:dt="string">opaque</BackStyle><BorderWidth dt:dt="string">0</BorderWidth><BorderColor dt:dt="string">black</BorderColor><X dt:dt="string">50%</X><Y dt:dt="string">75%</Y><Width dt:dt="string">90%</Width><Height dt:dt="string">50%</Height><XAlign dt:dt="string">center</XAlign><YAlign dt:dt="string">center</YAlign><AlignHorizontal dt:dt="string">center</AlignHorizontal><AlignVertical dt:dt="string">center</AlignVertical><FontName dt:dt="string">Courier New</FontName><FontSize dt:dt="string">18</FontSize><FontBold dt:dt="string">Yes</FontBold><FontItalic dt:dt="string">No</FontItalic><FontUnderline dt:dt="string">No</FontUnderline><FontStrikeout dt:dt="string">No</FontStrikeout><Text dt:dt="string">PRESS ONE OF THE OPTIONS BELOW:
 
Change Text Color:
b = blue   g = green   r = red
 
Change Background Color:
c = cyan   s = silver   y = yellow
 
Press Escape to continue.</Text><WordWrap dt:dt="int">-1</WordWrap></SlideObject></SlideObjects></SlideState></SlideStates><Duration dt:dt="string">0</Duration><JumpLabel dt:dt="string"></JumpLabel><PreRelease dt:dt="string">0</PreRelease><ActiveState dt:dt="string">Default</ActiveState><TimingMode dt:dt="int">0</TimingMode><OnsetSync dt:dt="int">1</OnsetSync><OffsetSync dt:dt="int">0</OffsetSync><DisplayName dt:dt="string"></DisplayName><GeneratePreRun dt:dt="int">0</GeneratePreRun><GeneratePostRun dt:dt="int">0</GeneratePostRun><ResetLoggingProperties dt:dt="boolean">1</ResetLoggingProperties><RTAdjustmentModality dt:dt="string">DisplayDevice</RTAdjustmentModality></ObjectData></StudioItem><StudioItem><Name dt:dt="string">BlockList</Name><TypeName dt:dt="string">List</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{AF780A45-8A6B-46D0-80BD-2B7E0B54CE14}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>258</Build><_VersionPersist dt:dt="int">5</_VersionPersist></Version><LoggingItems><LoggingItem><Name dt:dt="string">PracticeMode</Name><Log dt:dt="boolean">1</Log></LoggingItem></LoggingItems><ItemList><Item dt:dt="string">BlockProc</Item></ItemList><DeviceList/><Order dt:dt="int">0</Order><OrderBy dt:dt="int">0</OrderBy><NoRepeatAfterReset dt:dt="int">0</NoRepeatAfterReset><ResetEveryRun dt:dt="boolean">0</ResetEveryRun><HideLevelsWithZeroWeight dt:dt="boolean">0</HideLevelsWithZeroWeight><CycleDef dt:dt="int">0</CycleDef><CycleValueSamples dt:dt="int">0</CycleValueSamples><CycleValueCondition dt:dt="string"></CycleValueCondition><ExitDef dt:dt="int">0</ExitDef><ExitValueCycles dt:dt="int">1</ExitValueCycles><ExitValueSamples dt:dt="int">1</ExitValueSamples><ExitValueSeconds dt:dt="int">0</ExitValueSeconds><ExitValueCondition dt:dt="string"></ExitValueCondition><LoadMethod dt:dt="int">0</LoadMethod><Filename dt:dt="string"></Filename><Attributes><Attribute><Name dt:dt="string">Weight</Name><System dt:dt="int">1</System><DefaultValue dt:dt="string"></DefaultValue><Width dt:dt="int">75</Width><Visible dt:dt="boolean">1</Visible><OrderIndex dt:dt="int">0</OrderIndex></Attribute><Attribute><Name dt:dt="string">Nested</Name><System dt:dt="int">1</System><DefaultValue dt:dt="string"></DefaultValue><Width dt:dt="int">75</Width><Visible dt:dt="boolean">1</Visible><OrderIndex dt:dt="int">1</OrderIndex></Attribute><Attribute><Name dt:dt="string">Procedure</Name><System dt:dt="int">1</System><DefaultValue dt:dt="string"></DefaultValue><Width dt:dt="int">75</Width><Visible dt:dt="boolean">1</Visible><OrderIndex dt:dt="int">2</OrderIndex></Attribute><Attribute><Name dt:dt="string">PracticeMode</Name><System dt:dt="int">0</System><DefaultValue dt:dt="string">?</DefaultValue><Width dt:dt="int">86</Width><Visible dt:dt="boolean">1</Visible><VarType dt:dt="int">8</VarType><VarTypeInternal dt:dt="int">8</VarTypeInternal></Attribute></Attributes><Levels><Level dt:dt="string">1		BlockProc	No</Level></Levels></ObjectData></StudioItem><StudioItem><Name dt:dt="string">TrialList</Name><TypeName dt:dt="string">List</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{DFF2944B-67AB-4194-83C7-A25A04494060}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>258</Build><_VersionPersist dt:dt="int">5</_VersionPersist></Version><LoggingItems/><ItemList><Item dt:dt="string">TrialProc</Item></ItemList><DeviceList/><Order dt:dt="int">0</Order><OrderBy dt:dt="int">0</OrderBy><NoRepeatAfterReset dt:dt="int">0</NoRepeatAfterReset><ResetEveryRun dt:dt="boolean">0</ResetEveryRun><HideLevelsWithZeroWeight dt:dt="boolean">0</HideLevelsWithZeroWeight><CycleDef dt:dt="int">0</CycleDef><CycleValueSamples dt:dt="int">0</CycleValueSamples><CycleValueCondition dt:dt="string"></CycleValueCondition><ExitDef dt:dt="int">0</ExitDef><ExitValueCycles dt:dt="int">1</ExitValueCycles><ExitValueSamples dt:dt="int">1</ExitValueSamples><ExitValueSeconds dt:dt="int">0</ExitValueSeconds><ExitValueCondition dt:dt="string"></ExitValueCondition><LoadMethod dt:dt="int">0</LoadMethod><Filename dt:dt="string"></Filename><Attributes><Attribute><Name dt:dt="string">Weight</Name><System dt:dt="int">1</System><DefaultValue dt:dt="string"></DefaultValue><Width dt:dt="int">75</Width><Visible dt:dt="boolean">1</Visible><OrderIndex dt:dt="int">0</OrderIndex></Attribute><Attribute><Name dt:dt="string">Nested</Name><System dt:dt="int">1</System><DefaultValue dt:dt="string"></DefaultValue><Width dt:dt="int">75</Width><Visible dt:dt="boolean">1</Visible><OrderIndex dt:dt="int">1</OrderIndex></Attribute><Attribute><Name dt:dt="string">Procedure</Name><System dt:dt="int">1</System><DefaultValue dt:dt="string"></DefaultValue><Width dt:dt="int">75</Width><Visible dt:dt="boolean">1</Visible><OrderIndex dt:dt="int">2</OrderIndex></Attribute></Attributes><Levels><Level dt:dt="string">2		TrialProc</Level></Levels></ObjectData></StudioItem><StudioItem><Name dt:dt="string">SessionProc</Name><TypeName dt:dt="string">Procedure</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{2C76DCBA-4599-4FB6-BA3E-0315833DC580}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>254</Build><_VersionPersist dt:dt="int">201</_VersionPersist></Version><LoggingItems/><ItemList><Item dt:dt="string">Introduction</Item><Item dt:dt="string">BlockList</Item><Item dt:dt="string">Goodbye</Item></ItemList><DeviceList/><LogData dt:dt="boolean">1</LogData><FlushDataLog dt:dt="boolean">0</FlushDataLog><GenerateLabels dt:dt="boolean">1</GenerateLabels><ProcessPendingInputMasks dt:dt="int">2</ProcessPendingInputMasks><GeneratePreRun dt:dt="int">2</GeneratePreRun><GeneratePostRun dt:dt="int">2</GeneratePostRun><FlowItems><FlowItem><Name dt:dt="string">Introduction</Name><TypeName dt:dt="string">TextDisplay</TypeName></FlowItem><FlowItem><Name dt:dt="string">BlockList</Name><TypeName dt:dt="string">List</TypeName></FlowItem><FlowItem><Name dt:dt="string">Goodbye</Name><TypeName dt:dt="string">TextDisplay</TypeName></FlowItem></FlowItems></ObjectData></StudioItem><StudioItem><Name dt:dt="string">BlockProc</Name><TypeName dt:dt="string">Procedure</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{05F381FE-EAAE-46D7-BDF1-6312AD78BEDA}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>254</Build><_VersionPersist dt:dt="int">201</_VersionPersist></Version><LoggingItems/><ItemList><Item dt:dt="string">TrialList</Item></ItemList><DeviceList/><LogData dt:dt="boolean">1</LogData><FlushDataLog dt:dt="boolean">0</FlushDataLog><GenerateLabels dt:dt="boolean">1</GenerateLabels><ProcessPendingInputMasks dt:dt="int">2</ProcessPendingInputMasks><GeneratePreRun dt:dt="int">2</GeneratePreRun><GeneratePostRun dt:dt="int">2</GeneratePostRun><FlowItems><FlowItem><Name dt:dt="string">TrialList</Name><TypeName dt:dt="string">List</TypeName></FlowItem></FlowItems></ObjectData></StudioItem><StudioItem><Name dt:dt="string">TrialProc</Name><TypeName dt:dt="string">Procedure</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{05A5F9DF-A222-4825-9063-5D19C177FDAC}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>254</Build><_VersionPersist dt:dt="int">201</_VersionPersist></Version><LoggingItems/><ItemList><Item dt:dt="string">Fixation</Item><Item dt:dt="string">Stimulus</Item><Item dt:dt="string">ProcessResponses</Item></ItemList><DeviceList/><LogData dt:dt="boolean">1</LogData><FlushDataLog dt:dt="boolean">0</FlushDataLog><GenerateLabels dt:dt="boolean">1</GenerateLabels><ProcessPendingInputMasks dt:dt="int">2</ProcessPendingInputMasks><GeneratePreRun dt:dt="int">2</GeneratePreRun><GeneratePostRun dt:dt="int">2</GeneratePostRun><FlowItems><FlowItem><Name dt:dt="string">Fixation</Name><TypeName dt:dt="string">TextDisplay</TypeName></FlowItem><FlowItem><Name dt:dt="string">Stimulus</Name><TypeName dt:dt="string">Slide</TypeName></FlowItem><FlowItem><Name dt:dt="string">ProcessResponses</Name><TypeName dt:dt="string">InLine</TypeName></FlowItem></FlowItems></ObjectData></StudioItem><StudioItem><Name dt:dt="string">ProcessResponses</Name><TypeName dt:dt="string">InLine</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{BB31D6D7-CD99-4C84-845B-809FFC8FDA76}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>262</Build><_VersionPersist dt:dt="int">1</_VersionPersist></Version><LoggingItems/><DeviceList/><Code dt:dt="string">'Declare a variable that can be assigned to the Stimulus object.
'When copying this script to another experiment, the name of the input 
'object will only need to be changed here instead of in multiple places.
Dim theResponseObject As RteRunnableInputObject
Set theResponseObject = CRteRunnableInputObject(Rte.GetObject("Stimulus"))

'NOTE: If this assert fires, the object named above is not in your experiment.
Debug.Assert Not theResponseObject Is Nothing

'Set theSlide variable to Stimulus
Set theSlide = CSlide(Rte.GetObject("Stimulus"))

'Set theState variable to Stimulus' Default SlideState
Set theState = theSlide.States.Item("Default")

'Set theSlideText variable to the SlideText called StimulusText
Set theSlideText = CSlideText(theState.Objects("StimulusText"))

'If the Duration time - the PreRelease time is not zero, then this script 
'may not be processing properly.
If (theResponseObject.Duration - theResponseObject.PreRelease) &lt;&gt; 0 Then 
	Debug.Print "WARNING: " &amp; theResponseObject.Name &amp; strDurationNotZero
End If

'If the end response action on any of the input masks is anything but (none),
'the script may not behave properly since terminate would cause the next 
'object after this script to terminate.
Dim nMask As Long

For nMask = 1 To theResponseObject.InputMasks.Count		
	Dim theInputMask As InputMask
	Set theInputMask = theResponseObject.InputMasks(nMask)

	If Not theInputMask Is Nothing Then			
		If theInputMask.EndResponseAction &lt;&gt; ebEndResponseActionNone Then 
			Debug.Print "WARNING: " &amp; theResponseObject.Name &amp; strEndActionNone
		End If

		If theInputMask.MaxCount = 1 Then 
			Debug.Print "WARNING: " &amp; theResponseObject.Name &amp; strMaxCountOne
		End If

		If theInputMask.TimeLimit = 0 Then 
			Debug.Print "WARNING: " &amp; theResponseObject.Name &amp; strZeroTimeLimit
		End If
	End If
Next

'Declare variables for holding the current response count and current
'response data.
Dim nResponseCount As Long
Dim theResponseData As ResponseData

'Loop while there are input masks pending.  This will return TRUE so long 
'as the time limit has not elapsed, the max count on the input mask(s) has 
'not been reached or the termination response has not been accepted.
Do While theResponseObject.InputMasks.IsPending()

	'If the counts do not match, there are responses to process.
	If nResponseCount &lt;&gt; theResponseObject.InputMasks.Responses.Count Then

		'Increment response count.
		nResponseCount = nResponseCount + 1

		'Access the current response information so that it can be used
		'later in the script for logging and determining which action to take.
		Set theResponseData = theResponseObject.InputMasks.Responses(nResponseCount)
		If Not theResponseData Is Nothing Then

			'''''''''''''''''''''''''''''''''''''''''''''''''
			'''''''''''''''''''''''''''''''''''''''''''''''''
			' Insert custom action here.  					'
			' This part will be unique to your experiment.	'
			' For the sample, the text and background color	'
			' of the Slide object will be changed based on	'
			' the subjects response.						'
			'''''''''''''''''''''''''''''''''''''''''''''''''
			'''''''''''''''''''''''''''''''''''''''''''''''''

			'Log the response to the context
			c.SetAttrib theResponseObject.Name &amp; ".RESP_" &amp; nResponseCount, theResponseData.RESP
			c.SetAttrib theResponseObject.Name &amp; ".RT_" &amp; nResponseCount, theResponseData.RT

			'Assess the subject's response, change the text/background color as
			'appropriate, and change the text itself to display the new response
			'count. Redraw the Slide so the changes appear to the subject.
			Select Case theResponseData.RESP
			
				Case "r"
					theSlideText.ForeColor = CColor("red")
					theSlideText.Text = "Responses: " &amp; nResponseCount
					theSlide.Draw

				Case "b"
					theSlideText.ForeColor = CColor("blue")
					theSlideText.Text = "Responses: " &amp; nResponseCount
					theSlide.Draw

				Case "g"
					theSlideText.ForeColor = CColor("green")
					theSlideText.Text = "Responses: " &amp; nResponseCount
					theSlide.Draw

				Case "c"
					theSlideText.BackColor = CColor("cyan")
					theSlideText.Text = "Responses: " &amp; nResponseCount
					theSlide.Draw

				Case "y"
					theSlideText.BackColor = CColor("yellow")
					theSlideText.Text = "Responses: " &amp; nResponseCount
					theSlide.Draw

				Case "s"
					theSlideText.BackColor = CColor("silver")
					theSlideText.Text = "Responses: " &amp; nResponseCount
					theSlide.Draw

				Case Else
					theSlideText.Text = "Responses: " &amp; nResponseCount
					theSlide.Draw

			End Select

		End If

	End If

'Give some time back (required)
Sleep 10
DoEvents

Loop

'Print the total number of subject responses to the Output window.
Debug.Print theResponseObject.InputMasks.Responses.Count

'Reset properties back to their original state. 
'Note that changing Object properties in script is like changing them 
'by using the Properties pages in E-Studio. Properties do not revert 
'back to their previous values at the start Of a new trial.
theSlideText.ForeColor = CColor("black")
theSlideText.BackColor = CColor("white")
theSlideText.Text = "Responses: 0"

'Release references
Set theSlideText = Nothing
Set theState = Nothing
Set theResponseObject = Nothing</Code></ObjectData></StudioItem><StudioItem><Name dt:dt="string">Goodbye</Name><TypeName dt:dt="string">TextDisplay</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{2380C84F-1264-421B-8D03-EF1D07C119C5}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>263</Build><_VersionPersist dt:dt="int">100</_VersionPersist></Version><LoggingItems><LoggingItem><Name dt:dt="string">OnsetDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">DurationError</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">PreRelease</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">Duration</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">StartTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">FinishTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TimingMode</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CustomOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CustomOffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ActionDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ActionTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TargetOffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TargetOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">PendingInputMasks</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OffsetDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RTTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ACC</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RT</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RESP</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CRESP</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">Tag</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OnsetToOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem></LoggingItems><DeviceList/><InputMasks/><Tasks/><Duration dt:dt="string">2000</Duration><JumpLabel dt:dt="string"></JumpLabel><TimingMode dt:dt="int">0</TimingMode><PreRelease dt:dt="string">0</PreRelease><OnsetSync dt:dt="int">1</OnsetSync><OffsetSync dt:dt="int">0</OffsetSync><ForeColor dt:dt="string">black</ForeColor><BackColor dt:dt="string">white</BackColor><BackStyle dt:dt="string">opaque</BackStyle><BorderColor dt:dt="string">black</BorderColor><BorderWidth dt:dt="string">0</BorderWidth><X dt:dt="string">center</X><Y dt:dt="string">center</Y><Width dt:dt="string">100%</Width><Height dt:dt="string">100%</Height><XAlign dt:dt="string">center</XAlign><YAlign dt:dt="string">center</YAlign><AlignHorizontal dt:dt="string">center</AlignHorizontal><AlignVertical dt:dt="string">center</AlignVertical><ClearAfter dt:dt="string">No</ClearAfter><FontName dt:dt="string">Courier New</FontName><FontSize dt:dt="string">18</FontSize><FontBold dt:dt="string">Yes</FontBold><FontItalic dt:dt="string">No</FontItalic><FontUnderline dt:dt="string">No</FontUnderline><FontStrikeout dt:dt="string">No</FontStrikeout><Text dt:dt="string">Thank you for participating.


Goodbye!</Text><WordWrap dt:dt="int">-1</WordWrap><GeneratePreRun dt:dt="int">0</GeneratePreRun><GeneratePostRun dt:dt="int">0</GeneratePostRun><ResetLoggingProperties dt:dt="boolean">1</ResetLoggingProperties></ObjectData></StudioItem><StudioItem><Name dt:dt="string">Fixation</Name><TypeName dt:dt="string">TextDisplay</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{EEAB61AC-CDDD-4376-A9F4-7EBA9722F465}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>263</Build><_VersionPersist dt:dt="int">100</_VersionPersist></Version><LoggingItems><LoggingItem><Name dt:dt="string">OnsetDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">DurationError</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">PreRelease</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">Duration</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">StartTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">FinishTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TimingMode</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CustomOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CustomOffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ActionDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ActionTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TargetOffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TargetOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">PendingInputMasks</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OffsetDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RTTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ACC</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RT</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RESP</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CRESP</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">Tag</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OnsetToOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem></LoggingItems><DeviceList/><InputMasks/><Tasks/><Duration dt:dt="string">1000</Duration><JumpLabel dt:dt="string"></JumpLabel><TimingMode dt:dt="int">0</TimingMode><PreRelease dt:dt="string">0</PreRelease><OnsetSync dt:dt="int">1</OnsetSync><OffsetSync dt:dt="int">0</OffsetSync><ForeColor dt:dt="string">black</ForeColor><BackColor dt:dt="string">white</BackColor><BackStyle dt:dt="string">opaque</BackStyle><BorderColor dt:dt="string">black</BorderColor><BorderWidth dt:dt="string">0</BorderWidth><X dt:dt="string">center</X><Y dt:dt="string">center</Y><Width dt:dt="string">100%</Width><Height dt:dt="string">100%</Height><XAlign dt:dt="string">center</XAlign><YAlign dt:dt="string">center</YAlign><AlignHorizontal dt:dt="string">center</AlignHorizontal><AlignVertical dt:dt="string">center</AlignVertical><ClearAfter dt:dt="string">No</ClearAfter><FontName dt:dt="string">Courier New</FontName><FontSize dt:dt="string">48</FontSize><FontBold dt:dt="string">Yes</FontBold><FontItalic dt:dt="string">No</FontItalic><FontUnderline dt:dt="string">No</FontUnderline><FontStrikeout dt:dt="string">No</FontStrikeout><Text dt:dt="string">+</Text><WordWrap dt:dt="int">-1</WordWrap><GeneratePreRun dt:dt="int">0</GeneratePreRun><GeneratePostRun dt:dt="int">0</GeneratePostRun><ResetLoggingProperties dt:dt="boolean">1</ResetLoggingProperties></ObjectData></StudioItem><StudioItem><Name dt:dt="string">Introduction</Name><TypeName dt:dt="string">TextDisplay</TypeName><Tag dt:dt="string"></Tag><Notes dt:dt="string"></Notes><ObjectData><Guid dt:dt="string">{CB733193-B5B8-4314-A84A-E948560026BB}</Guid><Version><Major>2</Major><Minor>0</Minor><Internal>10</Internal><Build>263</Build><_VersionPersist dt:dt="int">100</_VersionPersist></Version><LoggingItems><LoggingItem><Name dt:dt="string">OnsetDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">DurationError</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">PreRelease</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">Duration</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">StartTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">FinishTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TimingMode</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CustomOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CustomOffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ActionDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ActionTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TargetOffsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">TargetOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">PendingInputMasks</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OffsetDelay</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RTTime</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">ACC</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RT</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">RESP</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">CRESP</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">Tag</Name><Log dt:dt="boolean">0</Log></LoggingItem><LoggingItem><Name dt:dt="string">OnsetToOnsetTime</Name><Log dt:dt="boolean">0</Log></LoggingItem></LoggingItems><DeviceList><Device dt:dt="string">Keyboard</Device></DeviceList><InputMasks><InputMask><DeviceName dt:dt="string">Keyboard</DeviceName><DeviceClass dt:dt="string">Keyboard</DeviceClass><AllowableInput dt:dt="string">{SPACE}</AllowableInput><CorrectInput dt:dt="string"></CorrectInput><TimeLimit dt:dt="string"></TimeLimit><MaxCount dt:dt="string">1</MaxCount><InputAction dt:dt="int">1</InputAction><SyncOwnerDuration dt:dt="boolean">1</SyncOwnerDuration><Enabled dt:dt="boolean">1</Enabled><FlushInputBuffer dt:dt="string">Yes</FlushInputBuffer><TerminationInput dt:dt="string"></TerminationInput><UserTag dt:dt="string"></UserTag><EchoClients/><ResponseMode dt:dt="string">All</ResponseMode><ProcessBackspace dt:dt="string">Yes</ProcessBackspace></InputMask></InputMasks><Tasks/><Duration dt:dt="string">-1</Duration><JumpLabel dt:dt="string"></JumpLabel><TimingMode dt:dt="int">0</TimingMode><PreRelease dt:dt="string">0</PreRelease><OnsetSync dt:dt="int">1</OnsetSync><OffsetSync dt:dt="int">0</OffsetSync><ForeColor dt:dt="string">black</ForeColor><BackColor dt:dt="string">white</BackColor><BackStyle dt:dt="string">opaque</BackStyle><BorderColor dt:dt="string">black</BorderColor><BorderWidth dt:dt="string">0</BorderWidth><X dt:dt="string">center</X><Y dt:dt="string">center</Y><Width dt:dt="string">100%</Width><Height dt:dt="string">100%</Height><XAlign dt:dt="string">center</XAlign><YAlign dt:dt="string">center</YAlign><AlignHorizontal dt:dt="string">center</AlignHorizontal><AlignVertical dt:dt="string">center</AlignVertical><ClearAfter dt:dt="string">No</ClearAfter><FontName dt:dt="string">Courier New</FontName><FontSize dt:dt="string">18</FontSize><FontBold dt:dt="string">Yes</FontBold><FontItalic dt:dt="string">No</FontItalic><FontUnderline dt:dt="string">No</FontUnderline><FontStrikeout dt:dt="string">No</FontStrikeout><Text dt:dt="string">Welcome to the experiment.

Please press the spacebar to continue.</Text><WordWrap dt:dt="int">-1</WordWrap><GeneratePreRun dt:dt="int">0</GeneratePreRun><GeneratePostRun dt:dt="int">0</GeneratePostRun><ResetLoggingProperties dt:dt="boolean">1</ResetLoggingProperties></ObjectData></StudioItem></StudioItems><UserScript dt:dt="string">'Constants for displaying warning messages.
Const strDurationNotZero As String = ".Duration is not zero.  The ProcessResponses " &amp;_
	"InLine may not function properly!"

Const strEndActionNone As String = " has an input mask with an end response " &amp;_
	"action that is not (none). The object after ProcessResponses InLine may " &amp;_
	"not be terminated as expected!"

Const strMaxCountOne As String = " has an input mask that has a MaxCount=1. " &amp;_
	"The ProcessResponses InLine won't handle multiple responses."

Const strZeroTimeLimit As String = " has an input mask with a zero duration " &amp;_
	"time limit and will be effectively ignored!"

'Declare a variable that can be assigned to the Stimulus object.
Dim theSlide As Slide

'Declare a variable that can be assigned to the default SlideState.
Dim theState As SlideState

'Declare a variable that can be assigned to the SlideText sub-object
'that will be altered based on subject responses.
Dim theSlideText As SlideText</UserScript></Experiment>
