[open] changing property of an item in a sketchpad at runtime
I am trying to find a way to change/update some sketchpad's items with an inline script which runs right after the sketchpad (duration 0), but I guess there is no easy way to access a sketchapd' sub-items property, so fo now I'm using (a lot of) variables inside the sketchpad'script like this:
draw textline -192 -224 "[text1]" center=1 color="white" font_family="mono" font_size=[fontSize] font_bold="[doBold]" font_italic="no" html="yes" z_index=0 show_if="always"
the most useful would be looping trough all the items and accessing each item as if it was a single object, with its properties, and change them. A sort of of:
for myItem in exp.items['mySketchpad'] : if myItem.name == "my_textline": myItem.text="newtext"