Merging scripts / importing parts of a script
Hello
I have different scripts for the same device (as I’m trying to get stuff from other users). How can I take the CSS mappings/scripts from one and import them (or copy/paste) into another CSS script / or merge both scripts ? (either whole content of the script or if possible only part of it)
Thanks !
You can export specific mappings from a script from within the script editor (in the left panel at the top of the mapping table).
Export the mappings you want (you will get a json file), open the other script in the script editor and then import the json file.
If you want to export / import an entire script, this can be done in the ‘my scripts’ section when you come out of the script editor view.
This option will also export the modes in the script.
Sign up
User registration is currently not allowed.
You need to open the script and export it. Then you can import it as required. If they use the same controller template it is seamless. I have been using this approach to build “components” or parts of a mapping setup that can be imported into different controllers. I find this an effective way to get around some of the editor shortcomings of the app.
Edit: delete what you don’t want before exporting