Parameters ins sketchpad
in OpenSesame
Dear Developers,
is there a simple way to keep the values of defines parameters in the sketchpad, like:
define sketchpad words
set start_response_interval no
set duration 700
set description "Displays word pairs"
draw textline center=1 color=white font_bold=no font_family="[font_1]" font_italic=no font_size="[fontSz_1]" html=yes show_if="[position]=V" text="[word_1]" x=0 y=-128 z_index=0
draw textline center=1 color=white font_bold=no font_family="[font_2]" font_italic=no font_size="[fontSz_2]" html=yes show_if="[position]=V" text="[word_2]" x=0 y=128 z_index=0
Currently only 'text' and 'show_if' values are preserved and all the others set to defaults if the sketchpad is opened for editing. The experiment runs fine, fonts and font sizes are set according to the values defined, eg.
setcycle 8 word_1 katinas
setcycle 8 word_2 lapinas
setcycle 8 position H
setcycle 8 font_1 SWScrps
setcycle 8 font_2 mono