scripting questions...

Hi… I need help in scripting for TBAPro2…:-<br />
in TBAPro2, to change the onion skin type we need to go to preferences>drawing>onion skin (enable shade, normal, outline)…

does anyone know how to call that function for scripting??? I read on the XML preferences… the function doesn’t use boolean or string… so I dunno how to call that ID in the QSA…

TUOnionSkinRenderModeItem value=“NORMAL” id=DRAWING_ONIONSKIN_RENDER_MODE"

other preferences can use preferences.getBool or getInt…

thankss :wink: