Created
December 12, 2017 16:15
-
-
Save raganmd/d9003ab7c0735877c5ea7431fc604e16 to your computer and use it in GitHub Desktop.
A little dictionary setup for an example of how to use the script DAT.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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