Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Generated by OpenSesame 0.27.2 (Frisky Freud)
- # Sat May 18 15:07:06 2013 (posix)
- # <http://www.cogsci.nl/opensesame>
- set foreground "white"
- set subject_parity "even"
- set description "Default description"
- set title "New experiment"
- set compensation "0"
- set coordinates "relative"
- set height "768"
- set mouse_backend "xpyriment"
- set width "1024"
- set sampler_backend "legacy"
- set keyboard_backend "legacy"
- set background "black"
- set subject_nr "0"
- set canvas_backend "xpyriment"
- set start "experiment"
- set synth_backend "legacy"
- define feedback feedback
- set duration "keypress"
- set reset_variables "yes"
- set description "Provides feedback to the participant"
- draw textline 0 0 "resp1 = [Word_01_Response]" center=1 color=white font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- draw textline 0 128 "resp3 = [Word_03_Response]" center=1 color=white font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- draw textline 0 64 "resp2 = [Word_02_Response]" center=1 color=white font_family="mono" font_size=18 font_italic=no font_bold=no show_if="always"
- define form_base form_base1
- # For the first text_input widget, set focus to 'yes', and set return_accepts to 'yes'
- # Focus = 'yes' indicates that the pp can start typing in this box immediately (without
- # having to click in it first).
- # Don't specify anything for the other widgets yet (just draw them)
- set margins "50;100;50;100"
- set rows "1;1;1;1;1"
- set spacing "20"
- set cols "1;1;1"
- set description "A generic form plug-in"
- widget 0 0 3 1 label center="no" text="What were the [Target_Color] words?"
- widget 0 1 1 1 text_input focus="yes" return_accepts="yes" var="Word_01_Response"
- widget 0 2 1 1 text_input
- widget 0 3 1 1 text_input
- define form_base form_base2
- # For the first text_input widget, set the text to "Word_01_Response" (to keep the previously-given
- # response on screen).
- # Now, set focus and return_accepts to "yes" for the SECOND text_input widget:
- set margins "50;100;50;100"
- set rows "1;1;1;1;1"
- set spacing "20"
- set cols "1;1;1"
- set description "A generic form plug-in"
- widget 0 0 3 1 label center="no" text="What were the [Target_Color] words?"
- widget 0 1 1 1 text_input text="[Word_01_Response]"
- widget 0 2 1 1 text_input focus="yes" return_accepts="yes" var="Word_02_Response"
- widget 0 3 1 1 text_input
- define form_base form_base3
- # For the last form_base item, fill both previous text input widgets with the given responses:
- # And set focus and return_accepts to 'yes' for the last item.
- set margins "50;100;50;100"
- set rows "1;1;1;1;1"
- set spacing "20"
- set cols "1;1;1"
- set description "A generic form plug-in"
- widget 0 0 3 1 label center="no" text="What were the [Target_Color] words?"
- widget 0 1 1 1 text_input text="[Word_01_Response]"
- widget 0 2 1 1 text_input text="[Word_02_Response]"
- widget 0 3 1 1 text_input focus="yes" return_accepts="yes" var="Word_03_Response"
- define loop experimental_loop
- set repeat "1"
- set description "Repeatedly runs another item"
- set item "trial_sequence"
- set column_order "Target_Color"
- set cycles "2"
- set order "random"
- setcycle 0 Target_Color "blue"
- setcycle 1 Target_Color "red"
- run trial_sequence
- define sequence experiment
- run experimental_loop "always"
- define sequence trial_sequence
- set flush_keyboard "yes"
- set description "Runs a number of items in sequence"
- run loop1 "always"
- run loop2 "always"
- run loop3 "always"
- run feedback "always"
- run logger "always"
- define loop loop3
- set repeat "1"
- set description "Repeatedly runs another item"
- set item "form_base3"
- set column_order ""
- set cycles "1"
- set order "random"
- run form_base3
- define loop loop2
- set item "form_base2"
- set cycles "1"
- set column_order ""
- run form_base2
- define loop loop1
- set item "form_base1"
- set cycles "1"
- set column_order ""
- run form_base1
- define logger logger
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement