Highlighted

Script crash AFX 2020

New Here ,
Aug 18, 2020

Copy link to clipboard

Copied

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 

TOPICS
Crash, Expressions, Scripting

Views

50

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Script crash AFX 2020

New Here ,
Aug 18, 2020

Copy link to clipboard

Copied

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 

TOPICS
Crash, Expressions, Scripting

Views

51

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 18, 2020 0
Adobe Community Professional ,
Aug 23, 2020

Copy link to clipboard

Copied

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);

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 23, 2020 0