Skip to content

basil scripts fail to run if story editor is open #94

Open
@trych

Description

@trych

If the story editor is open, basil scripts will fail to run.

The error happens in the setup stage, when currPage is getting defined. It occurs in line 990:

currPage = app.activeWindow.activePage;

'Object does not support property or method active page'. Apparently it is not sufficient in the previous check to see if currDoc.windows.length, but there needs to be an additional check, if activePage can be accessed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions