@fdgfdgfdg, i think the best you can do i start with this one: Using App Connect with JavaScript Functions
And then it’s basically just extending that to what you want to achieve. depending on what you try to add, you might need to edit the JS files in the external libraries so it stores the data into a data store or variable. But that’s all depending on your needs.
just start with playing around in the console and see which functions show up. do test runs with dmx.parse("…") or setting variables with dmx.app.set(…).