PowerKeys Scripting API
    Preparing search index...

    Interface WorkspaceEntry

    One file or directory inside this script's workspace.

    interface WorkspaceEntry {
        name: string;
        path: string;
        isDirectory: boolean;
        sizeBytes: number;
    }
    Index
    name: string

    Entry name without any directory part. Names are returned exactly as the filesystem stores them.

    path: string

    Workspace-relative path, always using forward slashes, suitable for passing back to any Workspace or HTTP transfer operation.

    isDirectory: boolean

    True for a directory. Links and reparse points are never listed, so this is always a real file or a real directory.

    sizeBytes: number

    Size in bytes for a file. Always 0 for a directory; a directory's size is not the size of its contents.