Skip to main content
Participant
August 18, 2020
Question

Script crash AFX 2020

  • August 18, 2020
  • 1 reply
  • 191 views

Hi everyone, after updating to the latest version of AFX 2020, one of my script makes the software crash completly. 

Apparently the function : app.open() is the cause. 

I ve put it on its own in a new script and i got the same result. 

Any ideas to fix this ? 

thanks 

 

Yannick 

This topic has been closed for replies.

1 reply

Justin Taylor-Hyper Brew
Community Expert
Community Expert
August 23, 2020

Yep, this looks like a bug in 2020. If you're trying to open a pre-determined file then you can pass in the path and it opens successfully:

var path = '~/Desktop/test/test.aep';
var file = new File(path);
app.open(file);

Otherwise you can use the command ID for now as a workaround:

app.executeCommand(3);