--- API: 2.1 OpenSesame: 3.3.11a2 Platform: posix --- set width 1024 set uniform_coordinates yes set title "New experiment" set subject_parity even set subject_nr 0 set start experiment set sound_sample_size -16 set sound_freq 48000 set sound_channels 2 set sound_buf_size 1024 set round_decimals 2 set height 768 set fullscreen no set form_clicks no set foreground white set font_underline no set font_size 18 set font_italic no set font_family mono set font_bold no set experiment_path "/home/ede/Desktop" set disable_garbage_collection yes set description "The main experiment item" set coordinates uniform set compensation 0 set canvas_backend psycho set background black define sequence experiment set flush_keyboard yes set description "Runs a number of items in sequence" run init_var always run instructions always run word_loop always define inline_script init_var set description "Executes Python code" set _run "" set _prepare "var.done = 0 " define loop input_loop set source_file "" set source table set repeat 100 set order random set description "Repeatedly runs another item" set cycles 1 set continuous no set break_if_on_first yes set break_if "[done] = 'yes'" setcycle 0 empty_column "" run input_seq define sequence input_seq set flush_keyboard yes set description "Runs a number of items in sequence" run text_input always run new_logger always define form_text_display instructions set timeout infinite set spacing 10 set rows "1;4;1" set only_render no set ok_text Ok set margins "50;50;50;50" set form_title Title __form_text__ Type a word and hit return to continue. If you don't know anyhing else, click the grey button in the bottom of the screen. __end__ set description "A simple text display form" set cols "1;1;1" set _theme gray widget 0 0 3 1 label text="[form_title]" widget 0 1 3 1 label center=no text="[form_text]" widget 1 2 1 1 button text="[ok_text]" define logger new_logger set description "Logs experimental data" set auto_log yes define inline_script reset_var set description "Executes Python code" set _run "var.done = 'no'" set _prepare "" define form_base text_input set timeout infinite set spacing 10 set rows "1;1;6;1" set only_render no set margins "50;50;50;50" set form_var response set form_title Title set form_question "What can you do with a [object]?" set description "A generic form plug-in" set cols 1 set _theme gray widget 0 1 1 1 label center=no text="[form_question]" widget 0 2 1 1 text_input focus=yes return_accepts=yes stub="" var="[form_var]" widget 0 3 1 1 button center=yes frame=yes text="Done?" var=done define loop word_loop set source_file "" set source table set repeat 1 set order random set description "Repeatedly runs another item" set cycles 2 set continuous no set break_if_on_first yes set break_if never setcycle 0 object spoon setcycle 1 object mirror run word_seq define sequence word_seq set flush_keyboard yes set description "Runs a number of items in sequence" run input_loop always run reset_var always