Acrobat AcroExch.App member not found error jscript ActiveXObject

0

I have a simple jscript program using Adobe Acrobat's Interapplication Communication API.

var AcroApp = new ActiveXObject("AcroExch.App");
AcroApp.Exit;

I receive the following error executing the second line:

Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))

When AcroApp is instantiated, it shows as an ActiveXObject. However, I'm stumped, any ideas?

adobe
acrobat
jscript
activexobject
asked on Stack Overflow Feb 14, 2018 by thedanotto • edited Jun 20, 2020 by Community

1 Answer

0

Change:

AcroApp.Exit;

to

AcroApp.Exit();

Not sure why

answered on Stack Overflow Feb 14, 2018 by thedanotto

User contributions licensed under CC BY-SA 3.0