property id

(r/o) string id;

Typ

Zugriff

This protperty returns the user specified or built-in ID of the resource.
var lib = scene.importLibrary("box://app/theme/goldTheme.box");
if (lib)
{
    var res = lib.firstResource;
    while (res)
    {
        shell.print("Resource ID: " + res.id);
        res = lib.nextResource;
    }
}