Purpose

Finds a Notch resource by name.

Syntax

object FindResourceByName(String ResourceName);

  • ResourceName : The name of the resource to find.

Example

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