我想在运行OSX的Acrobat Pro DC中使用Javascript打开一个pdf文档。我看到的是:
app.openDoc("~/Desktop/test.pdf")
Invalid Location "~/Desktop/test.pdf". File or folder does not exist.
NotAllowedError: Security settings prevent access to this property or method.
App.openDoc:1:Console undefined:Exec
undefined