Notch Notch Manual 0.9.23
 Light | Dark
FindResourceByName()

FindResourceByName()

Purpose #

Finds a Notch resource by name.

Syntax #

object FindResourceByName(String resource_name);

Parameters

resource_nameThe name of the resource to find.

Example #

function Update()
{ 
    myResource = Document.FindResourceByName("myFile.csv");
    if(myResource != null)
    {
        objRes.ReloadResource();
    }
}