I’d like to share my method. Just a combination of Andrew Heumann’s post described
here
and
here
- Serialize your HumanUI gh files into string format.
- You can encrypt the string or not.
- In a new gh doc, make a custom component, using the encrypted string as input, then in the component decrypt and the deserialize the string, run it in a new dummy doc.
The start gh file maybe look like this.
And You should properly deal with the close event of humanUI window created in the gh doc.
And recently I tried something David Rutten described here. It might be useful for calling another gh file which contains the humanUI components.
Loading a gh file, executing it and harvesting its data