Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A little dictionary setup for an example of how to use the script DAT.
# it's important here to know that
# pars need to match their correct
# parameter name in order for this to
# work correctly.
# in that same vein, the relative paths
# are based on the location of the script
# op that's being used
# finally, for this to work correctly, you'll
# need to re-run this dat in order to place
# new values into storage
attr = {
"container_ui" :{
"w" : 500,
"h" : 1080,
"alignorder" : 0
},
"container_led_display": {
"w" : 400,
"h" : 300,
"alignorder" : 1
},
"..":{
"align" : 1,
"justifyv" : 1
}
}
parent().store( 'set_up_attr', attr )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment