Snap API

Could somebody explain and give an example of how to access a loaded program and do something to it through the Snap API?

Word of advice: DO NOT USE the url block (kind of glitchy and broken imo)

thats cuz it not fetch and it not support accessing snap urls

what exactly do you mean by the snap api or a loaded program?

he wants to open a project programmatically

The way we do things like that is to collect the relevant projects as scenes within a larger project. Look in the File menu for the "Add scene..." item.

There is an "Snap\src\api.js" - an "official" API for Snap, embedded in an iframe of your own page.
api.js is extensively commented and the methods' names are "self-descriptive".

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.