Skip to content

About evalFile #159

@YukiWorks432

Description

@YukiWorks432

evalFile currently runs script files using ExtendScript's $.evalFile.
However, $.evalFile sometimes throws an obscure error: "Can not convert to".
This appears to be a bug in $.evalFile. I found that the same problematic file does not cause the error if you read its contents with Node.js fs.readFileSync and pass the text to csi.evalScript.

For this reason, I suggest changing evalFile to use csi.evalScript (by reading the file with fs and passing the contents) instead of calling $.evalFile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions